summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-18 01:34:10 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-18 01:34:10 (GMT)
commit9d57dbd098d91123eeec76eef502dcb5c4ba5c89 (patch)
treeeff2ac71f8f3b09a2dc7ff2a39970b7397446121 /Tests/ComplexOneConfig/CMakeLists.txt
parent8d1d5500c8cb7ebabce73777c79c33074e679ab5 (diff)
downloadCMake-9d57dbd098d91123eeec76eef502dcb5c4ba5c89.zip
CMake-9d57dbd098d91123eeec76eef502dcb5c4ba5c89.tar.gz
CMake-9d57dbd098d91123eeec76eef502dcb5c4ba5c89.tar.bz2
ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property initialized from parent.
Diffstat (limited to 'Tests/ComplexOneConfig/CMakeLists.txt')
-rw-r--r--Tests/ComplexOneConfig/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt
index d273ac8..5c67094 100644
--- a/Tests/ComplexOneConfig/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/CMakeLists.txt
@@ -81,6 +81,10 @@ ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
ADD_DEFINITIONS(-DCMAKE_IS_FUN)
ADD_DEFINITIONS(-DCMAKE_IS_REALLY_FUN)
+SET_PROPERTY(DIRECTORY
+ PROPERTY COMPILE_DEFINITIONS_RELEASE
+ CMAKE_IS_FUN_IN_RELEASE_MODE
+ )
SET(TEST_SEP "a b c")
SEPARATE_ARGUMENTS(TEST_SEP)