diff options
author | Brad King <brad.king@kitware.com> | 2006-05-23 16:51:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-23 16:51:26 (GMT) |
commit | 9a74185695ef8312310576d6716d1626ed75a944 (patch) | |
tree | 03dc7bdabc81328d4028c1db3ada4f8a49f25ac9 /Tests/Complex/Executable/complex.cxx | |
parent | 13a68cd97888d451d9f40b61891709af1648432b (diff) | |
download | CMake-9a74185695ef8312310576d6716d1626ed75a944.zip CMake-9a74185695ef8312310576d6716d1626ed75a944.tar.gz CMake-9a74185695ef8312310576d6716d1626ed75a944.tar.bz2 |
BUG: Fix REMOVE_DEFINITIONS command to not remove substrings.
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index a80487b..816414c 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -42,6 +42,18 @@ void cmPassed(const char* Message, const char* m2="") cm_passed++; } +#ifndef COMPLEX_DEFINED_PRE +# error "COMPLEX_DEFINED_PRE not defined!" +#endif + +#ifdef COMPLEX_DEFINED +# error "COMPLEX_DEFINED is defined but it should not!" +#endif + +#ifndef COMPLEX_DEFINED_POST +# error "COMPLEX_DEFINED_POST not defined!" +#endif + #ifndef CMAKE_IS_REALLY_FUN This is a problem. Looks like ADD_DEFINITIONS and REMOVE_DEFINITIONS does not work #endif |