summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryMultiConfig.cmake
blob: 2fae1e2332ed0a7f13c7117859f33223ea7735d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
enable_language(CXX)
include(GoogleTest)

enable_testing()

include(xcode_sign_adhoc.cmake)

add_executable(configuration_gtest configuration_gtest.cpp)
xcode_sign_adhoc(configuration_gtest)
target_compile_definitions(configuration_gtest PRIVATE $<$<CONFIG:Debug>:DEBUG=1>)

gtest_discover_tests(
  configuration_gtest
  PROPERTIES LABELS CONFIG
  DISCOVERY_MODE PRE_TEST
)