summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-02 14:09:49 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-11-02 14:09:49 (GMT)
commit06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d (patch)
treee0a48b718772a7dcdaf2eaea8f4683396670e8f9 /Source
parentb7b3b675fdb3240d8157b51d28bfe9b135d89302 (diff)
parent136104740663b3310616bec51b2cec7f807715ce (diff)
downloadCMake-06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d.zip
CMake-06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d.tar.gz
CMake-06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d.tar.bz2
Merge topic 'xcode-lastupgradecheck'
13610474 Xcode: Set LastUpgradeCheck to current Xcode version (#15817)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index da8c814..2df07cb 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -3398,6 +3398,9 @@ bool cmGlobalXCodeGenerator
group = this->CreateObject(cmXCodeObject::ATTRIBUTE_GROUP);
group->AddAttribute("BuildIndependentTargetsInParallel",
this->CreateString("YES"));
+ std::ostringstream v;
+ v << std::setfill('0') << std::setw(4) << XcodeVersion * 10;
+ group->AddAttribute("LastUpgradeCheck", this->CreateString(v.str()));
this->RootObject->AddAttribute("attributes", group);
if (this->XcodeVersion >= 32)
this->RootObject->AddAttribute("compatibilityVersion",