mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
cmLocalGenerator: Store a vector of generator targets.
Not a map from cmTarget to cmGeneratorTarget.
This commit is contained in:
@@ -459,7 +459,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
||||
"echo", "Build all projects");
|
||||
|
||||
cmGeneratorTarget* allBuildGt = new cmGeneratorTarget(allbuild, root);
|
||||
root->AddGeneratorTarget(allbuild, allBuildGt);
|
||||
root->AddGeneratorTarget(allBuildGt);
|
||||
root->GetGlobalGenerator()->AddGeneratorTarget(allbuild, allBuildGt);
|
||||
|
||||
// Refer to the main build configuration file for easy editing.
|
||||
@@ -495,7 +495,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
|
||||
"make", "-f", file.c_str());
|
||||
|
||||
cmGeneratorTarget* checkGt = new cmGeneratorTarget(check, root);
|
||||
root->AddGeneratorTarget(check, checkGt);
|
||||
root->AddGeneratorTarget(checkGt);
|
||||
root->GetGlobalGenerator()->AddGeneratorTarget(check, checkGt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user