Debian Codegraph @

3rdparty/catch2/tests/TestScripts/DiscoverTests/CMakeLists.txt

raw
1 cmake_minimum_required(VERSION 3.10)
2
3 project(discover-tests-test
4 LANGUAGES CXX
5 )
6
7 add_executable(tests
8 register-tests.cpp
9 )
10
11 add_subdirectory(${CATCH2_PATH} catch2-build)
12 target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
13
14 include(CTest)
15 include(Catch)
16 catch_discover_tests(tests)