Files
Catch2/benchmarks/CMakeLists.txt
T

21 lines
607 B
CMake
Raw Normal View History

2025-09-23 17:17:29 +02:00
include(CatchMiscFunctions)
add_executable(AssertionsFastPath
runtime_assertion_benches.cpp
)
add_executable(AssertionsSlowPath
runtime_assertion_benches.cpp
assertion_listener.cpp
)
add_executable(EmptyExecutable
only_include.cpp
)
2025-09-23 17:17:29 +02:00
target_link_libraries(AssertionsFastPath PRIVATE Catch2::Catch2WithMain)
target_link_libraries(AssertionsSlowPath PRIVATE Catch2::Catch2WithMain)
target_link_libraries(EmptyExecutable PRIVATE Catch2::Catch2WithMain)
2025-09-23 17:17:29 +02:00
list(APPEND CATCH_TEST_TARGETS AssertionsFastPath AssertionsSlowPath EmptyExecutable)
2025-09-23 17:17:29 +02:00
set(CATCH_TEST_TARGETS ${CATCH_TEST_TARGETS} PARENT_SCOPE)