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

Method GetMasmFlagTableName

Source/cmGlobalVisualStudio10Generator.cxx:1717–1736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1715}
1716
1717std::string cmGlobalVisualStudio10Generator::GetMasmFlagTableName() const
1718{
1719 std::string const& toolset = this->GetPlatformToolsetString();
1720 std::string const useToolset = this->CanonicalToolsetName(toolset);
1721
1722 if ((useToolset == "v140"_s) || (useToolset == "v141"_s) ||
1723 (useToolset == "v142"_s)) {
1724 return "v14";
1725 }
1726 if (useToolset == "v120"_s) {
1727 return "v12";
1728 }
1729 if (useToolset == "v110"_s) {
1730 return "v11";
1731 }
1732 if (useToolset == "v100"_s) {
1733 return "v10";
1734 }
1735 return "";
1736}
1737
1738std::string cmGlobalVisualStudio10Generator::CanonicalToolsetName(
1739 std::string const& toolset) const

Callers 1

GetMasmFlagTableMethod · 0.95

Calls 1

CanonicalToolsetNameMethod · 0.95

Tested by

no test coverage detected