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

Method GetCSharpFlagTableName

Source/cmGlobalVisualStudio10Generator.cxx:1623–1647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621}
1622
1623std::string cmGlobalVisualStudio10Generator::GetCSharpFlagTableName() const
1624{
1625 std::string const& toolset = this->GetPlatformToolsetString();
1626 std::string const useToolset = this->CanonicalToolsetName(toolset);
1627
1628 if (useToolset == "v142"_s) {
1629 return "v142";
1630 }
1631 if (useToolset == "v141"_s) {
1632 return "v141";
1633 }
1634 if (useToolset == "v140"_s) {
1635 return "v140";
1636 }
1637 if (useToolset == "v120"_s) {
1638 return "v12";
1639 }
1640 if (useToolset == "v110"_s) {
1641 return "v11";
1642 }
1643 if (useToolset == "v100"_s) {
1644 return "v10";
1645 }
1646 return "";
1647}
1648
1649std::string cmGlobalVisualStudio10Generator::GetRcFlagTableName() const
1650{

Callers 1

GetCSharpFlagTableMethod · 0.95

Calls 1

CanonicalToolsetNameMethod · 0.95

Tested by

no test coverage detected