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

Method GetRcFlagTableName

Source/cmGlobalVisualStudio10Generator.cxx:1649–1668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647}
1648
1649std::string cmGlobalVisualStudio10Generator::GetRcFlagTableName() const
1650{
1651 std::string const& toolset = this->GetPlatformToolsetString();
1652 std::string const useToolset = this->CanonicalToolsetName(toolset);
1653
1654 if ((useToolset == "v140"_s) || (useToolset == "v141"_s) ||
1655 (useToolset == "v142"_s)) {
1656 return "v14";
1657 }
1658 if (useToolset == "v120"_s) {
1659 return "v12";
1660 }
1661 if (useToolset == "v110"_s) {
1662 return "v11";
1663 }
1664 if (useToolset == "v100"_s) {
1665 return "v10";
1666 }
1667 return "";
1668}
1669
1670std::string cmGlobalVisualStudio10Generator::GetLibFlagTableName() const
1671{

Callers 1

GetRcFlagTableMethod · 0.95

Calls 1

CanonicalToolsetNameMethod · 0.95

Tested by

no test coverage detected