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

Method GetClFlagTableName

Source/cmGlobalVisualStudio10Generator.cxx:1597–1621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1595}
1596
1597std::string cmGlobalVisualStudio10Generator::GetClFlagTableName() const
1598{
1599 std::string const& toolset = this->GetPlatformToolsetString();
1600 std::string const useToolset = this->CanonicalToolsetName(toolset);
1601
1602 if (toolset == "v142"_s) {
1603 return "v142";
1604 }
1605 if (toolset == "v141"_s) {
1606 return "v141";
1607 }
1608 if (useToolset == "v140"_s) {
1609 return "v140";
1610 }
1611 if (useToolset == "v120"_s) {
1612 return "v12";
1613 }
1614 if (useToolset == "v110"_s) {
1615 return "v11";
1616 }
1617 if (useToolset == "v100"_s) {
1618 return "v10";
1619 }
1620 return "";
1621}
1622
1623std::string cmGlobalVisualStudio10Generator::GetCSharpFlagTableName() const
1624{

Callers 1

GetClFlagTableMethod · 0.95

Calls 1

CanonicalToolsetNameMethod · 0.95

Tested by

no test coverage detected