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

Method GetCompileOptions

Source/cmGeneratorTarget_Options.cxx:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void cmGeneratorTarget::GetCompileOptions(std::vector<std::string>& result,
256 std::string const& config,
257 std::string const& language) const
258{
259 std::vector<BT<std::string>> tmp = this->GetCompileOptions(config, language);
260 result.reserve(tmp.size());
261 for (BT<std::string>& v : tmp) {
262 result.emplace_back(std::move(v.Value));
263 }
264}
265
266std::vector<BT<std::string>> cmGeneratorTarget::GetCompileOptions(
267 std::string const& config, std::string const& language) const

Callers 3

AddCompileOptionsMethod · 0.45
BuildCompileDataMethod · 0.45

Calls 11

moveFunction · 0.85
AddInterfaceEntriesFunction · 0.85
processOptionsFunction · 0.85
reserveMethod · 0.80
emplace_backMethod · 0.80
emplaceMethod · 0.80
sizeMethod · 0.45
findMethod · 0.45
endMethod · 0.45
GetDefinitionMethod · 0.45

Tested by

no test coverage detected