diff options
author | Brad King <brad.king@kitware.com> | 2013-03-25 13:43:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-03-25 14:49:42 (GMT) |
commit | 1703b00c7fc34f473e84f4ba29bdc73476637005 (patch) | |
tree | d32cb8e0ef24144e0ee7c904884cbd8adebc78d5 /Tests/CompileDefinitions/target_prop | |
parent | a6286e92c9be9f5b8ad8fb25b3c6e15c0ec17fa0 (diff) | |
download | CMake-1703b00c7fc34f473e84f4ba29bdc73476637005.zip CMake-1703b00c7fc34f473e84f4ba29bdc73476637005.tar.gz CMake-1703b00c7fc34f473e84f4ba29bdc73476637005.tar.bz2 |
Test evaluation of per-config COMPILE_DEFINITIONS (#14037)
Teach the CompileDefinitions test to cover evaluation of config-specific
generator expressions.
Diffstat (limited to 'Tests/CompileDefinitions/target_prop')
-rw-r--r-- | Tests/CompileDefinitions/target_prop/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/target_prop/CMakeLists.txt b/Tests/CompileDefinitions/target_prop/CMakeLists.txt index abdf257..1ef2d6d 100644 --- a/Tests/CompileDefinitions/target_prop/CMakeLists.txt +++ b/Tests/CompileDefinitions/target_prop/CMakeLists.txt @@ -14,3 +14,8 @@ set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS "$<0:GE_NOT_DEFINED>" "$<1:ARGUMENT;LIST>" ) + +set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS + BUILD_IS_DEBUG=$<CONFIG:Debug> + BUILD_IS_NOT_DEBUG=$<NOT:$<CONFIG:Debug>> + ) |