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

Method AppendOrAddBuildSetting

Source/cmGlobalXCodeGenerator.cxx:3652–3664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3650}
3651
3652void cmGlobalXCodeGenerator::AppendOrAddBuildSetting(cmXCodeObject* settings,
3653 char const* attribute,
3654 cmXCodeObject* value)
3655{
3656 if (settings) {
3657 cmXCodeObject* attr = settings->GetAttribute(attribute);
3658 if (!attr) {
3659 settings->AddAttribute(attribute, value);
3660 } else {
3661 this->AppendBuildSettingAttribute(settings, attribute, attr, value);
3662 }
3663 }
3664}
3665
3666void cmGlobalXCodeGenerator::AppendBuildSettingAttribute(
3667 cmXCodeObject* settings, char const* attribute, cmXCodeObject* attr,

Callers 1

Calls 3

GetAttributeMethod · 0.45
AddAttributeMethod · 0.45

Tested by

no test coverage detected