summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-29 18:36:12 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-06-29 18:36:12 (GMT)
commitccd8c69728588725a23746e88a5406c12b925469 (patch)
treec78be79633683c26f3222008a68057ebc28a2b9e /Source
parent0bcf88ff7463f37c92d223b0c64f9b5298605726 (diff)
parent13ca4ef6656c2d06231e1966ff54a3943459e7e2 (diff)
downloadCMake-ccd8c69728588725a23746e88a5406c12b925469.zip
CMake-ccd8c69728588725a23746e88a5406c12b925469.tar.gz
CMake-ccd8c69728588725a23746e88a5406c12b925469.tar.bz2
Merge branch 'vs-ps3-projects'
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.cxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx
index 051cc1f..972af95 100644
--- a/Source/cmVisualStudioGeneratorOptions.cxx
+++ b/Source/cmVisualStudioGeneratorOptions.cxx
@@ -183,7 +183,7 @@ cmVisualStudioGeneratorOptions
{
fout << prefix << "PreprocessorDefinitions=\"";
}
- const char* comma = "";
+ const char* sep = "";
for(std::vector<std::string>::const_iterator di = this->Defines.begin();
di != this->Defines.end(); ++di)
{
@@ -208,15 +208,8 @@ cmVisualStudioGeneratorOptions
define = cmVisualStudioGeneratorOptionsEscapeForXML(define.c_str());
}
// Store the flag in the project file.
- fout << comma << define;
- if(this->Version == 10)
- {
- comma = ";";
- }
- else
- {
- comma = ",";
- }
+ fout << sep << define;
+ sep = ";";
}
if(this->Version == 10)
{