[cmake-commits] king committed CMakeLists.txt 1.16 1.17
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 25 10:05:09 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/StringFileTest
In directory public:/mounts/ram/cvs-serv19927/Tests/StringFileTest
Modified Files:
CMakeLists.txt
Log Message:
BUG: Character + should be valid in a variable name.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/StringFileTest/CMakeLists.txt,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- CMakeLists.txt 25 Aug 2006 20:31:07 -0000 1.16
+++ CMakeLists.txt 25 Sep 2006 14:05:07 -0000 1.17
@@ -83,7 +83,8 @@
# Test configuration of the string
SET(TEST_DEFINED 123)
SET(TEST_NOT_DEFINED)
-STRING(CONFIGURE "${infile}" infile @ONLY)
+STRING(CONFIGURE "${infile}" infile+-/out @ONLY)
+SET(infile "${infile+-/out}")
# Write include file to a file
STRING(REGEX REPLACE "includefile" "${file}" outfile "${infile}")
More information about the Cmake-commits
mailing list