diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-10 15:16:06 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-10 15:16:06 (GMT) |
commit | 8c39efe8546668c7828a53be4641f6fa13579e2f (patch) | |
tree | 87b396b4c84f995cf24c4278ab097861e8f0e02f /Source/cmGlobalXCodeGenerator.cxx | |
parent | 18b7cbd700b453a76ad40da45263968bff7d2a91 (diff) | |
download | CMake-8c39efe8546668c7828a53be4641f6fa13579e2f.zip CMake-8c39efe8546668c7828a53be4641f6fa13579e2f.tar.gz CMake-8c39efe8546668c7828a53be4641f6fa13579e2f.tar.bz2 |
ENH: make sure escaping is done for strings on the command line
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index a019100..9b96769 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -433,6 +433,7 @@ cmGlobalXCodeGenerator::CreateXCodeSourceFile(cmLocalGenerator* lg, lg->AppendFlags(flags, cmtarget.GetProperty("COMPILE_FLAGS")); } lg->AppendFlags(flags, sf->GetProperty("COMPILE_FLAGS")); + cmSystemTools::ReplaceString(flags, "\"", "\\\""); cmXCodeObject* fileRef = this->CreateObject(cmXCodeObject::PBXFileReference); |