summaryrefslogtreecommitdiffstats
path: root/Tests/Preprocess/preprocess.c
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 /Tests/Preprocess/preprocess.c
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 'Tests/Preprocess/preprocess.c')
-rw-r--r--Tests/Preprocess/preprocess.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/Preprocess/preprocess.c b/Tests/Preprocess/preprocess.c
index 5dd9003..16209ac 100644
--- a/Tests/Preprocess/preprocess.c
+++ b/Tests/Preprocess/preprocess.c
@@ -9,7 +9,6 @@
int check_defines_C(void)
{
int result = 1;
-#ifndef PREPROCESS_VS6
if(strcmp(FILE_STRING, STRING_VALUE) != 0)
{
fprintf(stderr,
@@ -38,7 +37,6 @@ int check_defines_C(void)
result = 0;
}
}
-#endif
#ifdef NDEBUG
# ifdef FILE_DEF_DEBUG
{