summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/GeneratorInExtraDir
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-29 19:34:49 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-29 19:34:49 (GMT)
commitc7d84b21c636a559b1f1a87735ce12d21f4a9dcd (patch)
treef63d1ac44651bfeb21a82c614d7c6c8155cbffbd /Tests/CustomCommand/GeneratorInExtraDir
parent3344ce9197926f262fa4eed30f085d72b08af744 (diff)
downloadCMake-c7d84b21c636a559b1f1a87735ce12d21f4a9dcd.zip
CMake-c7d84b21c636a559b1f1a87735ce12d21f4a9dcd.tar.gz
CMake-c7d84b21c636a559b1f1a87735ce12d21f4a9dcd.tar.bz2
BUG: Do not escape shell operators when generating command lines.
- See bug#6868. - Update CustomCommand test to check.
Diffstat (limited to 'Tests/CustomCommand/GeneratorInExtraDir')
-rw-r--r--Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt b/Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt
index e838e7b..195a477 100644
--- a/Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt
+++ b/Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt
@@ -1,3 +1,5 @@
+ADD_DEFINITIONS(-DGENERATOR_EXTERN)
+
# add the executable which will be used for generating files
ADD_EXECUTABLE(generator_extern ../generator.cxx)
SET_TARGET_PROPERTIES(generator_extern PROPERTIES OUTPUT_NAME the_external_generator)