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

Method GetLinkFlagTableName

Source/cmGlobalVisualStudio10Generator.cxx:1691–1715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1689}
1690
1691std::string cmGlobalVisualStudio10Generator::GetLinkFlagTableName() const
1692{
1693 std::string const& toolset = this->GetPlatformToolsetString();
1694 std::string const useToolset = this->CanonicalToolsetName(toolset);
1695
1696 if (useToolset == "v142"_s) {
1697 return "v142";
1698 }
1699 if (useToolset == "v141"_s) {
1700 return "v141";
1701 }
1702 if (useToolset == "v140"_s) {
1703 return "v140";
1704 }
1705 if (useToolset == "v120"_s) {
1706 return "v12";
1707 }
1708 if (useToolset == "v110"_s) {
1709 return "v11";
1710 }
1711 if (useToolset == "v100"_s) {
1712 return "v10";
1713 }
1714 return "";
1715}
1716
1717std::string cmGlobalVisualStudio10Generator::GetMasmFlagTableName() const
1718{

Callers 1

GetLinkFlagTableMethod · 0.95

Calls 1

CanonicalToolsetNameMethod · 0.95

Tested by

no test coverage detected