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

Method GetLibFlagTableName

Source/cmGlobalVisualStudio10Generator.cxx:1670–1689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1668}
1669
1670std::string cmGlobalVisualStudio10Generator::GetLibFlagTableName() const
1671{
1672 std::string const& toolset = this->GetPlatformToolsetString();
1673 std::string const useToolset = this->CanonicalToolsetName(toolset);
1674
1675 if ((useToolset == "v140"_s) || (useToolset == "v141"_s) ||
1676 (useToolset == "v142"_s)) {
1677 return "v14";
1678 }
1679 if (useToolset == "v120"_s) {
1680 return "v12";
1681 }
1682 if (useToolset == "v110"_s) {
1683 return "v11";
1684 }
1685 if (useToolset == "v100"_s) {
1686 return "v10";
1687 }
1688 return "";
1689}
1690
1691std::string cmGlobalVisualStudio10Generator::GetLinkFlagTableName() const
1692{

Callers 1

GetLibFlagTableMethod · 0.95

Calls 1

CanonicalToolsetNameMethod · 0.95

Tested by

no test coverage detected