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

Method AppendCompileOptions

Source/cmLocalGenerator.cxx:3775–3787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3773}
3774
3775void cmLocalGenerator::AppendCompileOptions(std::string& options,
3776 std::string const& options_list,
3777 char const* regex) const
3778{
3779 // Short-circuit if there are no options.
3780 if (options_list.empty()) {
3781 return;
3782 }
3783
3784 // Expand the list of options.
3785 cmList options_vec{ options_list };
3786 this->AppendCompileOptions(options, options_vec, regex);
3787}
3788
3789void cmLocalGenerator::AppendCompileOptions(
3790 std::string& options, std::vector<std::string> const& options_vec,

Callers 15

AddCompileOptionsMethod · 0.95
GetStaticLibraryFlagsMethod · 0.95
GetDeviceLinkFlagsMethod · 0.95
GetTargetFlagsMethod · 0.95
AddLanguageFlagsMethod · 0.95
CreateXCodeSourceFileMethod · 0.80
CreateBuildSettingsMethod · 0.80
GetDeviceLinkFlagsMethod · 0.80
GetTargetLinkFlagsMethod · 0.80
WriteObjectRuleFilesMethod · 0.80
ComputeFlagsForObjectMethod · 0.80
ComputeFlagsForObjectMethod · 0.80

Calls 5

AppendFlagEscapeMethod · 0.95
moveFunction · 0.85
emplace_backMethod · 0.80
emptyMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected