diff options
author | Brad King <brad.king@kitware.com> | 2008-01-18 01:34:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-18 01:34:10 (GMT) |
commit | 9d57dbd098d91123eeec76eef502dcb5c4ba5c89 (patch) | |
tree | eff2ac71f8f3b09a2dc7ff2a39970b7397446121 /Tests/Complex/Executable | |
parent | 8d1d5500c8cb7ebabce73777c79c33074e679ab5 (diff) | |
download | CMake-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/Complex/Executable')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index 8eaa661..bf07a37 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -61,7 +61,11 @@ void cmPassed(const char* Message, const char* m2="") #endif #ifndef CMAKE_IS_REALLY_FUN -This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work +# error This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work +#endif + +#if defined(NDEBUG) && !defined(CMAKE_IS_FUN_IN_RELEASE_MODE) +# error Per-configuration directory-level definition not inherited. #endif #ifdef COMPLEX_TEST_CMAKELIB |