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

Function AddDefinition

Source/cmPackageInfoReader.cxx:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void AddDefinition(cmMakefile* makefile, cmTarget* target,
361 cm::string_view configuration,
362 std::string const& definition)
363{
364 AppendProperty(makefile, target, "COMPILE_DEFINITIONS"_s, configuration,
365 definition);
366}
367
368using DefinitionLanguageMap = std::map<cm::string_view, Json::Value>;
369using DefinitionsMap = std::map<std::string, DefinitionLanguageMap>;

Callers 2

AddDefinitionsFunction · 0.85
CopyDefinitionMethod · 0.85

Calls 1

AppendPropertyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…