ENH: @ must be escaped in xcode projects

This commit is contained in:
Bill Hoffman 2007-05-27 10:32:22 -04:00
parent 4168dba9d9
commit a3d4d549ba

View File

@ -194,7 +194,7 @@ void cmXCodeObject::SetString(const char* s)
cmSystemTools::ReplaceString(ss, "\"", "\\\""); cmSystemTools::ReplaceString(ss, "\"", "\\\"");
bool needQuote = false; bool needQuote = false;
this->String = ""; this->String = "";
if(ss.find_first_of(" <>.+-=") != ss.npos) if(ss.find_first_of(" <>.+-=@") != ss.npos)
{ {
needQuote = true; needQuote = true;
} }