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

summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/CMakeLists.txt
blob: b5819c79af1260aaae231ee55818ff61522019f1 (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 Catch2::Catch2WithMain)
target_link_libraries(AssertionsSlowPath PRIVATE Catch2::Catch2WithMain)
target_link_libraries(EmptyExecutable PRIVATE Catch2::Catch2WithMain)

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