diff options
author | Gusts Kaksis <gusts.kaksis@sonarworks.com> | 2020-07-23 10:13:57 (GMT) |
---|---|---|
committer | Gusts Kaksis <gusts.kaksis@sonarworks.com> | 2020-08-28 18:20:38 (GMT) |
commit | 7b3d8411a2c051c98858dbc91cb51513ecc8242d (patch) | |
tree | 465d690757bcb85074f4b497666817697eea19b7 /Source/cmGlobalXCodeGenerator.h | |
parent | c268e26d334186eb92d898fa60b0c1c705b08600 (diff) | |
download | CMake-7b3d8411a2c051c98858dbc91cb51513ecc8242d.zip CMake-7b3d8411a2c051c98858dbc91cb51513ecc8242d.tar.gz CMake-7b3d8411a2c051c98858dbc91cb51513ecc8242d.tar.bz2 |
Xcode: Refactor build setting append code and attribute getter naming
Support both STRING and OBJECT_LIST types in build setting attributes and make it possible to mix them
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 7018de7..f9b6300 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -168,9 +168,9 @@ private: std::string AddConfigurations(cmXCodeObject* target, cmGeneratorTarget* gtgt); void AppendOrAddBuildSetting(cmXCodeObject* settings, const char* attr, - const char* value); + cmXCodeObject* value); void AppendBuildSettingAttribute(cmXCodeObject* target, const char* attr, - const char* value, + cmXCodeObject* value, const std::string& configName); cmXCodeObject* CreateUtilityTarget(cmGeneratorTarget* gtgt); void AddDependAndLinkInformation(cmXCodeObject* target); |