summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-02-21 19:01:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-02-21 19:01:19 (GMT)
commit7a13c7affe6ecdfda9ef4df1d5f9c7d039e922e0 (patch)
treec9d362ebe03669c3d40420f3e104b17415cfaa71 /Source/cmGlobalXCodeGenerator.cxx
parent53c72ed6c3712c78f6c68e4e0093ac326577609a (diff)
downloadCMake-7a13c7affe6ecdfda9ef4df1d5f9c7d039e922e0.zip
CMake-7a13c7affe6ecdfda9ef4df1d5f9c7d039e922e0.tar.gz
CMake-7a13c7affe6ecdfda9ef4df1d5f9c7d039e922e0.tar.bz2
BUG: fix for quotes in strings for flags #4022
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index a9f0045..e87fb22 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1156,7 +1156,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
{
buildSettings->AddAttribute
("GCC_PREPROCESSOR_DEFINITIONS",
- this->CreateString("CMAKE_INTDIR=\\\\\\\"$(CONFIGURATION)\\\\\\\""));
+ this->CreateString("CMAKE_INTDIR=\\\\\"$(CONFIGURATION)\\\\\""));
}
std::string extraLinkOptions;
if(target.GetType() == cmTarget::EXECUTABLE)
@@ -2565,9 +2565,9 @@ std::string cmGlobalXCodeGenerator::XCodeEscapePath(const char* p)
if(ret.find(' ') != ret.npos)
{
std::string t = ret;
- ret = "\\\"";
+ ret = "\"";
ret += t;
- ret += "\\\"";
+ ret += "\"";
}
return ret;
}