mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05:00
BUG: Character + should be valid in a variable name.
This commit is contained in:
@@ -83,7 +83,8 @@ ENDIF(NOT FILE_IS_NEWER "${file}" "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
|
||||
# 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}")
|
||||
|
||||
Reference in New Issue
Block a user