diff options
author | Brad King <brad.king@kitware.com> | 2013-02-26 16:36:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-26 17:54:01 (GMT) |
commit | 10d7bf4e620c04b90a22a954ca0d6948fd9d2842 (patch) | |
tree | 1c6ec42caed08cfc88f727a8633df923bf07039b /Source/cmGlobalXCodeGenerator.cxx | |
parent | 793bf3fdacb3de5486e89b39824a25d29f0c8ff4 (diff) | |
download | CMake-10d7bf4e620c04b90a22a954ca0d6948fd9d2842.zip CMake-10d7bf4e620c04b90a22a954ca0d6948fd9d2842.tar.gz CMake-10d7bf4e620c04b90a22a954ca0d6948fd9d2842.tar.bz2 |
Xcode: Generate recommended artwork setting (#13954)
Add the COMBINE_HIDPI_IMAGES = YES setting to all Xcode project targets.
Otherwise Xcode may ask the user to "Update to recommended settings".
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index fbddc53..2222a0e 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2110,6 +2110,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, debugStr = "NO"; } + buildSettings->AddAttribute("COMBINE_HIDPI_IMAGES", + this->CreateString("YES")); buildSettings->AddAttribute("GCC_GENERATE_DEBUGGING_SYMBOLS", this->CreateString(debugStr)); buildSettings->AddAttribute("GCC_OPTIMIZATION_LEVEL", |