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

Method GetTargetDefines

Source/cmLocalGenerator.cxx:1819–1828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1817}
1818
1819void cmLocalGenerator::GetTargetDefines(cmGeneratorTarget const* target,
1820 std::string const& config,
1821 std::string const& lang,
1822 std::set<std::string>& defines) const
1823{
1824 std::set<BT<std::string>> tmp = this->GetTargetDefines(target, config, lang);
1825 for (BT<std::string> const& v : tmp) {
1826 defines.emplace(v.Value);
1827 }
1828}
1829
1830std::set<BT<std::string>> cmLocalGenerator::GetTargetDefines(
1831 cmGeneratorTarget const* target, std::string const& config,

Callers 7

ComputeDefinesMethod · 0.80
GetDefinesMethod · 0.80
GetDefinesMethod · 0.80
InitMocMethod · 0.80
ProcessLanguageMethod · 0.80

Calls 4

AppendDefinesMethod · 0.95
emplaceMethod · 0.80
GetExportMacroMethod · 0.80
GetCompileDefinitionsMethod · 0.80

Tested by

no test coverage detected