diff options
author | Brad King <brad.king@kitware.com> | 2012-11-16 14:23:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-16 14:23:45 (GMT) |
commit | 45d4f81fde2c5c29698787e30b9bebb91211eb01 (patch) | |
tree | 14adc26c1cd0d7f015f7bd23a81f72652f416230 /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 694322ecea7725e5e00e3d46c09e0588afc633db (diff) | |
parent | 739f16653d823ea9519405da837cd57dcf204403 (diff) | |
download | CMake-45d4f81fde2c5c29698787e30b9bebb91211eb01.zip CMake-45d4f81fde2c5c29698787e30b9bebb91211eb01.tar.gz CMake-45d4f81fde2c5c29698787e30b9bebb91211eb01.tar.bz2 |
Merge topic 'per-config-EXCLUDE_FROM_DEFAULT_BUILD' into vs-global-sections
Conflicts:
Source/cmGlobalVisualStudio7Generator.h
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 5a383e0..9f318ec 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -276,9 +276,10 @@ void cmGlobalVisualStudio71Generator // Write a dsp file into the SLN file, Note, that dependencies from // executables to the libraries it uses are also done here void cmGlobalVisualStudio71Generator -::WriteProjectConfigurations(std::ostream& fout, const char* name, - bool partOfDefaultBuild, - const char* platformMapping) +::WriteProjectConfigurations( + std::ostream& fout, const char* name, + const std::set<std::string>& configsPartOfDefaultBuild, + const char* platformMapping) { std::string guid = this->GetGUID(name); for(std::vector<std::string>::iterator i = this->Configurations.begin(); @@ -287,7 +288,9 @@ void cmGlobalVisualStudio71Generator fout << "\t\t{" << guid << "}." << *i << ".ActiveCfg = " << *i << "|" << (platformMapping ? platformMapping : "Win32") << std::endl; - if(partOfDefaultBuild) + std::set<std::string>::const_iterator + ci = configsPartOfDefaultBuild.find(*i); + if(!(ci == configsPartOfDefaultBuild.end())) { fout << "\t\t{" << guid << "}." << *i << ".Build.0 = " << *i << "|" |