summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-12-27 15:33:46 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-07 18:23:24 (GMT)
commitba39d7e9d04b6a8d3d9bccdf07b69cd2d959a083 (patch)
treea4619cbf9b622f0dc95145913c605ae94f2f47a7 /Source/cmGlobalXCodeGenerator.h
parent90b50b2e28d32bcf239d3f6bc4d1114756a78827 (diff)
downloadCMake-ba39d7e9d04b6a8d3d9bccdf07b69cd2d959a083.zip
CMake-ba39d7e9d04b6a8d3d9bccdf07b69cd2d959a083.tar.gz
CMake-ba39d7e9d04b6a8d3d9bccdf07b69cd2d959a083.tar.bz2
Xcode: Escape all backslashes in strings (#15328)
Before this change backslashes in strings were escaped during compile flags adds via AppendFlag(). But global flags like OTHER_CPLUSPLUSFLAGS are not added as flags but as plain strings so they were not escaped properly. Now the escaping is performed within cmXCodeObject::PrintString() which ensures that strings are always encoded.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index c8a39df..b5fd13c 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -99,7 +99,6 @@ private:
std::string XCodeEscapePath(const char* p);
std::string RelativeToSource(const char* p);
std::string RelativeToBinary(const char* p);
- std::string ConvertToRelativeForXCode(const char* p);
std::string ConvertToRelativeForMake(const char* p);
void CreateCustomCommands(cmXCodeObject* buildPhases,
cmXCodeObject* sourceBuildPhase,