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

Method GetTargetCompileFlags

Source/cmLocalGenerator.cxx:1641–1650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1639}
1640
1641void cmLocalGenerator::GetTargetCompileFlags(cmGeneratorTarget* target,
1642 std::string const& config,
1643 std::string const& lang,
1644 std::string& flags,
1645 std::string const& arch)
1646{
1647 std::vector<BT<std::string>> tmpFlags =
1648 this->GetTargetCompileFlags(target, config, lang, arch);
1649 this->AppendFlags(flags, tmpFlags);
1650}
1651
1652std::vector<BT<std::string>> cmLocalGenerator::GetTargetCompileFlags(
1653 cmGeneratorTarget* target, std::string const& config,

Callers 5

ComputeFlagsForObjectMethod · 0.80
GetFlagsMethod · 0.80
ProcessLanguageMethod · 0.80

Calls 15

AppendFlagsMethod · 0.95
GetMakefileMethod · 0.95
AddLanguageFlagsMethod · 0.95
AppendFeatureOptionsMethod · 0.95
AddArchitectureFlagsMethod · 0.95
GetTargetFortranFlagsMethod · 0.95
GetSwiftCompileModeMethod · 0.95
IssueMessageMethod · 0.95
AddFeatureFlagsMethod · 0.95
GetFrameworkFlagsMethod · 0.95

Tested by

no test coverage detected