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

Method GetCompileDefinitions

Source/cmGeneratorTarget_Options.cxx:347–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void cmGeneratorTarget::GetCompileDefinitions(
348 std::vector<std::string>& result, std::string const& config,
349 std::string const& language) const
350{
351 std::vector<BT<std::string>> tmp =
352 this->GetCompileDefinitions(config, language);
353 result.reserve(result.size() + tmp.size());
354 for (BT<std::string>& v : tmp) {
355 result.emplace_back(std::move(v.Value));
356 }
357}
358
359std::vector<BT<std::string>> cmGeneratorTarget::GetCompileDefinitions(
360 std::string const& config, std::string const& language) const

Callers 9

CreateBuildSettingsMethod · 0.80
GetTargetDefinesMethod · 0.80
WriteConfigurationMethod · 0.80
AppendTargetMethod · 0.80
ComputeClOptionsMethod · 0.80
ComputeCudaOptionsMethod · 0.80
BuildCompileDataMethod · 0.80

Calls 15

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

Tested by

no test coverage detected