summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-23 18:48:09 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-23 18:48:09 (GMT)
commit4085454658d9af9c2cfb58b67ff2434692887a30 (patch)
treed164217623a7d33569a807d9123565262e077f3a /Source/cmSourceFile.cxx
parent10a91d8467d10fcf9cf9eaa2a05e9ea6fcc87614 (diff)
downloadCMake-4085454658d9af9c2cfb58b67ff2434692887a30.zip
CMake-4085454658d9af9c2cfb58b67ff2434692887a30.tar.gz
CMake-4085454658d9af9c2cfb58b67ff2434692887a30.tar.bz2
ENH: Support preprocessor def values in VS6
The add_definitions() command and COMPILE_DEFINITIONS dir/tgt/src properties support preprocessor definitions with values. Previously values were not supported in the VS6 generator even though the native tool supports them. It is only values with spaces that VS6 does not support. This enables support and instead complains only for values with spaces. See issue #8779.
Diffstat (limited to 'Source/cmSourceFile.cxx')
-rw-r--r--Source/cmSourceFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index 8603d98..cb7777c 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -405,7 +405,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"(ex. \"COMPILE_DEFINITIONS_DEBUG\").\n"
"CMake will automatically drop some definitions that "
"are not supported by the native build tool. "
- "The VS6 IDE does not support definitions with values "
+ "The VS6 IDE does not support definition values with spaces "
"(but NMake does). Xcode does not support per-configuration "
"definitions on source files.\n"
"Dislaimer: Most native build tools have poor support for escaping "