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

Method AddCompileOptions

Source/cmLocalGenerator.cxx:999–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

997}
998
999void cmLocalGenerator::AddCompileOptions(std::string& flags,
1000 cmGeneratorTarget* target,
1001 std::string const& lang,
1002 std::string const& config)
1003{
1004 std::vector<BT<std::string>> tmpFlags;
1005 this->AddCompileOptions(tmpFlags, target, lang, config);
1006 this->AppendFlags(flags, tmpFlags);
1007}
1008
1009void cmLocalGenerator::AddCompileOptions(std::vector<BT<std::string>>& flags,
1010 cmGeneratorTarget* target,

Callers 9

GetTargetCompileFlagsMethod · 0.95
CreateBuildSettingsMethod · 0.80
SetCompilerFlagsMethod · 0.80
WriteConfigurationMethod · 0.80
ComputeClOptionsMethod · 0.80
ComputeCudaOptionsMethod · 0.80
ComputeMarmasmOptionsMethod · 0.80
ComputeMasmOptionsMethod · 0.80
ComputeNasmOptionsMethod · 0.80

Calls 15

AppendFlagsMethod · 0.95
AppendCompileOptionsMethod · 0.95
IssueMessageMethod · 0.95
GetCMakeInstanceMethod · 0.95
GetMakefileMethod · 0.95
moveFunction · 0.85
cmIsOnFunction · 0.85
c_strMethod · 0.80
emplace_backMethod · 0.80
GetLanguageStandardMethod · 0.80
strMethod · 0.80

Tested by

no test coverage detected