mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
Add property EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>
Allow EXCLUDE_FROM_DEFAULT_BUILD to be specified per configuration.
This commit is contained in:
@@ -273,9 +273,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();
|
||||
@@ -284,7 +285,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 << "|"
|
||||
|
||||
Reference in New Issue
Block a user