Debian Codegraph @

Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake

raw
1 enable_language(CXX)
2 include(GoogleTest)
3
4 enable_testing()
5
6 include(xcode_sign_adhoc.cmake)
7
8 add_executable(configuration_gtest configuration_gtest.cpp)
9 xcode_sign_adhoc(configuration_gtest)
10 target_compile_definitions(configuration_gtest PRIVATE $<$<CONFIG:Debug>:DEBUG=1>)
11
12 gtest_discover_tests(
13 configuration_gtest
14 PROPERTIES LABELS CONFIG
15 DISCOVERY_MODE PRE_TEST
16 )