summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-04-09 09:04:35 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2015-04-17 19:50:05 (GMT)
commit6693590f8144a905b423ca03fa8ed98df4468bae (patch)
treed4565f9126dc70692fbf5e0d04220271b827def7 /Tests/RunCMake/XcodeProject
parenta6331eb851c132d3d0496e738886ad76e13a92a0 (diff)
downloadCMake-6693590f8144a905b423ca03fa8ed98df4468bae.zip
CMake-6693590f8144a905b423ca03fa8ed98df4468bae.tar.gz
CMake-6693590f8144a905b423ca03fa8ed98df4468bae.tar.bz2
Xcode: Refine quoting rules for Strings
$ and . do not need to be quoted, but brackets and * must be to not confuse the Xcode parser.
Diffstat (limited to 'Tests/RunCMake/XcodeProject')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeFileType-check.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeFileType-check.cmake b/Tests/RunCMake/XcodeProject/XcodeFileType-check.cmake
index 7882d7f..1847bc9 100644
--- a/Tests/RunCMake/XcodeProject/XcodeFileType-check.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeFileType-check.cmake
@@ -1,6 +1,6 @@
set(expect-default "explicitFileType = sourcecode")
-set(expect-explicit "explicitFileType = \"sourcecode.c.h\"")
-set(expect-lastKnown "lastKnownFileType = \"sourcecode.c.h\"")
+set(expect-explicit "explicitFileType = sourcecode.c.h")
+set(expect-lastKnown "lastKnownFileType = sourcecode.c.h")
foreach(src default explicit lastKnown)
file(STRINGS ${RunCMake_TEST_BINARY_DIR}/XcodeFileType.xcodeproj/project.pbxproj actual-${src}
REGEX "PBXFileReference.*src-${src}")