|
|
@@ -460,6 +460,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
|
|
|
|
|
cmGeneratorTarget* allBuildGt = new cmGeneratorTarget(allbuild, root);
|
|
|
root->AddGeneratorTarget(allbuild, allBuildGt);
|
|
|
+ root->GetGlobalGenerator()->AddGeneratorTarget(allbuild, allBuildGt);
|
|
|
|
|
|
// Refer to the main build configuration file for easy editing.
|
|
|
std::string listfile = root->GetCurrentSourceDirectory();
|
|
|
@@ -495,6 +496,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
|
|
|
|
|
cmGeneratorTarget* checkGt = new cmGeneratorTarget(check, root);
|
|
|
root->AddGeneratorTarget(check, checkGt);
|
|
|
+ root->GetGlobalGenerator()->AddGeneratorTarget(check, checkGt);
|
|
|
}
|
|
|
|
|
|
// now make the allbuild depend on all the non-utility targets
|