mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
Xcode: Extract a AddExtraIDETargets method.
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -88,6 +88,7 @@ public:
|
||||
void AppendFlag(std::string& flags, std::string const& flag);
|
||||
protected:
|
||||
virtual bool Compute();
|
||||
void AddExtraIDETargets();
|
||||
virtual void Generate();
|
||||
private:
|
||||
cmXCodeObject* CreateOrGetPBXGroup(cmTarget& cmtarget,
|
||||
|
||||
Reference in New Issue
Block a user