diff options
author | Brad King <brad.king@kitware.com> | 2010-06-29 18:36:12 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-06-29 18:36:12 (GMT) |
commit | ccd8c69728588725a23746e88a5406c12b925469 (patch) | |
tree | c78be79633683c26f3222008a68057ebc28a2b9e /Source | |
parent | 0bcf88ff7463f37c92d223b0c64f9b5298605726 (diff) | |
parent | 13ca4ef6656c2d06231e1966ff54a3943459e7e2 (diff) | |
download | CMake-ccd8c69728588725a23746e88a5406c12b925469.zip CMake-ccd8c69728588725a23746e88a5406c12b925469.tar.gz CMake-ccd8c69728588725a23746e88a5406c12b925469.tar.bz2 |
Merge branch 'vs-ps3-projects'
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudioGeneratorOptions.cxx | 13 |
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) { |