
  # These source files are compiled into a single Catch2-based test binary.
  # tests dedicated to check speed performances (benchmarks)
  set(catch2_only_cpp_proteincode_SRCS
    test_methionine_scan.cpp
    test_spectrum_match.cpp
    test_specglob.cpp
    test_self_spectrum.cpp
  )

  add_executable(catch2-only-proteincode
    ../common.cpp
    proteincode_lib.cpp
    ${catch2_only_cpp_proteincode_SRCS}
  )

  target_include_directories(catch2-only-proteincode PUBLIC
    ${CMAKE_BINARY_DIR} # so that #include "tests/config.h" works
    #${CMAKE_CURRENT_BINARY_DIR} # for heretic #include "ui_uiobotermform.h"
    ${PappsoMSpp_INCLUDE_DIRS}
    Catch2::Catch2 Catch2::Catch2WithMain
  )

  target_link_libraries(catch2-only-proteincode
    ${required_target_link_libraries})
