Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/CMakeLists.txt
blob: 6ca9b2cff5e73f6b0f7654d662d7e7f18ac21074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
)

target_link_libraries(AssertionsFastPath PRIVATE Catch3::Catch3WithMain)
target_link_libraries(AssertionsSlowPath PRIVATE Catch3::Catch3WithMain)
target_link_libraries(EmptyExecutable PRIVATE Catch3::Catch3WithMain)

list(APPEND CATCH_TEST_TARGETS AssertionsFastPath AssertionsSlowPath EmptyExecutable)
set(CATCH_TEST_TARGETS ${CATCH_TEST_TARGETS} PARENT_SCOPE)