diff options
author | Brad King <brad.king@kitware.com> | 2009-04-24 15:21:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-24 15:21:09 (GMT) |
commit | 6a74dbbeef44159fd423640b3b0043eb634314de (patch) | |
tree | fc4987e8780028ffbce0985bdea6b26ae6346575 /Tests/Preprocess | |
parent | 708d1cf1ee9300bc9b9e26a47e1bbe1718612d6f (diff) | |
download | CMake-6a74dbbeef44159fd423640b3b0043eb634314de.zip CMake-6a74dbbeef44159fd423640b3b0043eb634314de.tar.gz CMake-6a74dbbeef44159fd423640b3b0043eb634314de.tar.bz2 |
ENH: Test spaces in non-string preprocessor values
This extends the Preprocessor test to put spaces in the value of a
definition that is not a quoted string. In particular this tests that
VS6 supports values with spaces if they do not have '"', '$', or ';'.
See issue #8779.
Diffstat (limited to 'Tests/Preprocess')
-rw-r--r-- | Tests/Preprocess/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Preprocess/CMakeLists.txt b/Tests/Preprocess/CMakeLists.txt index 3187c36..2401d59 100644 --- a/Tests/Preprocess/CMakeLists.txt +++ b/Tests/Preprocess/CMakeLists.txt @@ -178,7 +178,7 @@ set(EXPR "x*y+!(x==(y+1*2))*f(x${EXPR_OP1}2)") if(NOT WATCOM) # Watcom does not support - or / because it parses them as options. - set(EXPR "${EXPR}+y/x-x") + set(EXPR "${EXPR} + y/x-x") endif(NOT WATCOM) #----------------------------------------------------------------------------- |