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

Method AppendDefines

Source/cmGlobalXCodeGenerator.cxx:5388–5402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5386}
5387
5388void cmGlobalXCodeGenerator::AppendDefines(BuildObjectListOrString& defs,
5389 char const* defines_list,
5390 bool dflag)
5391{
5392 // Skip this if there are no definitions.
5393 if (!defines_list) {
5394 return;
5395 }
5396
5397 // Expand the list of definitions.
5398 cmList defines{ defines_list };
5399
5400 // Store the definitions in the string.
5401 this->AppendDefines(defs, defines, dflag);
5402}
5403
5404void cmGlobalXCodeGenerator::AppendDefines(
5405 BuildObjectListOrString& defs, std::vector<std::string> const& defines,

Callers 2

CreateXCodeSourceFileMethod · 0.95
CreateBuildSettingsMethod · 0.95

Calls 5

AppendFlagMethod · 0.95
cmHasLiteralPrefixFunction · 0.85
cmStrCatFunction · 0.70
substrMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected