diff options
author | Brad King <brad.king@kitware.com> | 2007-05-09 14:18:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-09 14:18:31 (GMT) |
commit | adcd87c976eede8e76234550beb89ca082a00ade (patch) | |
tree | faae266121f6b1ffeb2838a2c85318c79e4b516d /Tests/Complex/Executable/complex.cxx | |
parent | e701ef77d8487c3cf348f24f86fdfd97661681ab (diff) | |
download | CMake-adcd87c976eede8e76234550beb89ca082a00ade.zip CMake-adcd87c976eede8e76234550beb89ca082a00ade.tar.gz CMake-adcd87c976eede8e76234550beb89ca082a00ade.tar.bz2 |
BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro definitions properly. This addresses bug#4983.
Diffstat (limited to 'Tests/Complex/Executable/complex.cxx')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index dee36ce..c7c4ae5 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -1139,6 +1139,19 @@ int main() cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_HAS_EXTRA_COMPILE_FLAGS flag"); #endif +#ifndef FILE_DEFINE_STRING + cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag"); +#else + if(strcmp(FILE_DEFINE_STRING, "hello") != 0) + { + cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting FILE_DEFINE_STRING flag correctly"); + } + else + { + cmPassed("SET_SOURCE_FILES_PROPERTIES succeeded in setting FILE_DEFINE_STRING flag"); + } +#endif + #ifndef FILE_HAS_ABSTRACT cmFailed("SET_SOURCE_FILES_PROPERTIES failed at setting ABSTRACT flag"); #else |