Merge branch 'vs-ps3-projects'

This commit is contained in:
Brad King 2010-06-29 14:36:12 -04:00 committed by CMake Topic Stage
commit ccd8c69728
1 changed files with 3 additions and 10 deletions

View File

@ -183,7 +183,7 @@ cmVisualStudioGeneratorOptions
{ {
fout << prefix << "PreprocessorDefinitions=\""; fout << prefix << "PreprocessorDefinitions=\"";
} }
const char* comma = ""; const char* sep = "";
for(std::vector<std::string>::const_iterator di = this->Defines.begin(); for(std::vector<std::string>::const_iterator di = this->Defines.begin();
di != this->Defines.end(); ++di) di != this->Defines.end(); ++di)
{ {
@ -208,15 +208,8 @@ cmVisualStudioGeneratorOptions
define = cmVisualStudioGeneratorOptionsEscapeForXML(define.c_str()); define = cmVisualStudioGeneratorOptionsEscapeForXML(define.c_str());
} }
// Store the flag in the project file. // Store the flag in the project file.
fout << comma << define; fout << sep << define;
if(this->Version == 10) sep = ";";
{
comma = ";";
}
else
{
comma = ",";
}
} }
if(this->Version == 10) if(this->Version == 10)
{ {