MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteProjectConfigurations

Method WriteProjectConfigurations

Source/cmVisualStudio10TargetGenerator.cxx:1427–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1425// ConfigurationType Application, Utility StaticLibrary DynamicLibrary
1426
1427void cmVisualStudio10TargetGenerator::WriteProjectConfigurations(Elem& e0)
1428{
1429 Elem e1(e0, "ItemGroup");
1430 e1.Attribute("Label", "ProjectConfigurations");
1431 for (std::string const& c : this->Configurations) {
1432 Elem e2(e1, "ProjectConfiguration");
1433 e2.Attribute("Include", cmStrCat(c, '|', this->Platform));
1434 e2.Element("Configuration", c);
1435 e2.Element("Platform", this->Platform);
1436 }
1437}
1438
1439void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues(Elem& e0)
1440{

Callers 1

Calls 3

AttributeMethod · 0.80
cmStrCatFunction · 0.70
ElementMethod · 0.45

Tested by

no test coverage detected