diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-09-20 21:28:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-28 12:50:16 (GMT) |
commit | 083de7ed35b26dceff6edeb4fc8f9d2500855a9b (patch) | |
tree | 4b7a4812445c850a5544c503a6bd454991f9f142 /Tests/CompileDefinitions/target_prop | |
parent | 08cb4fa4c0378468fc2757666701617f6fe8270e (diff) | |
download | CMake-083de7ed35b26dceff6edeb4fc8f9d2500855a9b.zip CMake-083de7ed35b26dceff6edeb4fc8f9d2500855a9b.tar.gz CMake-083de7ed35b26dceff6edeb4fc8f9d2500855a9b.tar.bz2 |
Process generator expressions in the COMPILE_DEFINITIONS target property.
Diffstat (limited to 'Tests/CompileDefinitions/target_prop')
-rw-r--r-- | Tests/CompileDefinitions/target_prop/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/target_prop/CMakeLists.txt b/Tests/CompileDefinitions/target_prop/CMakeLists.txt index e2b6ba9..fcb22b0 100644 --- a/Tests/CompileDefinitions/target_prop/CMakeLists.txt +++ b/Tests/CompileDefinitions/target_prop/CMakeLists.txt @@ -7,3 +7,9 @@ set_target_properties(target_prop_executable PROPERTIES COMPILE_DEFINITIONS CMAK set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_REALLY="Very Fun" CMAKE_IS=Fun) set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_FUN CMAKE_IS_="Fun") + +set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS + TEST_GENERATOR_EXPRESSIONS + "$<1:CMAKE_IS_DECLARATIVE>" + "$<0:GE_NOT_DEFINED>" +) |