summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-15 18:36:02 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-05 16:43:17 (GMT)
commita09c545d3a518d771b66b59f92821af3d55d7d4b (patch)
tree149fac946f12c6011ee5a44e399adca68dfbf0d6 /Source/cmGlobalXCodeGenerator.cxx
parentf2791da132a42cb71384065b340ae212679fc336 (diff)
downloadCMake-a09c545d3a518d771b66b59f92821af3d55d7d4b.zip
CMake-a09c545d3a518d771b66b59f92821af3d55d7d4b.tar.gz
CMake-a09c545d3a518d771b66b59f92821af3d55d7d4b.tar.bz2
Xcode: Extract a AddExtraIDETargets method.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 33babec..e209b64 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -383,7 +383,12 @@ bool cmGlobalXCodeGenerator::Compute()
{
return false;
}
+ this->AddExtraIDETargets();
+ return true;
+}
+void cmGlobalXCodeGenerator::AddExtraIDETargets()
+{
std::map<std::string, std::vector<cmLocalGenerator*> >::iterator it;
// make sure extra targets are added before calling
// the parent generate which will call trace depends
@@ -394,7 +399,6 @@ bool cmGlobalXCodeGenerator::Compute()
// add ALL_BUILD, INSTALL, etc
this->AddExtraTargets(root, it->second);
}
- return true;
}
void cmGlobalXCodeGenerator::Generate()