Xcode: Clarify name of legacy run script build phase helper

This commit is contained in:
Brad King
2020-09-14 14:47:42 -04:00
parent 5a15fcf597
commit 0d03717996
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -1545,7 +1545,7 @@ bool cmGlobalXCodeGenerator::IsHeaderFile(cmSourceFile* sf)
sf->GetExtension());
}
cmXCodeObject* cmGlobalXCodeGenerator::CreateBuildPhase(
cmXCodeObject* cmGlobalXCodeGenerator::CreateLegacyRunScriptBuildPhase(
const char* name, const char* name2, cmGeneratorTarget* target,
const std::vector<cmCustomCommand>& commands)
{
@@ -1609,16 +1609,16 @@ void cmGlobalXCodeGenerator::CreateCustomCommands(
}
}
// create prebuild phase
cmXCodeObject* cmakeRulesBuildPhase = this->CreateBuildPhase(
cmXCodeObject* cmakeRulesBuildPhase = this->CreateLegacyRunScriptBuildPhase(
"CMake Rules", "cmakeRulesBuildPhase", gtgt, commands);
// create prebuild phase
cmXCodeObject* preBuildPhase = this->CreateBuildPhase(
cmXCodeObject* preBuildPhase = this->CreateLegacyRunScriptBuildPhase(
"CMake PreBuild Rules", "preBuildCommands", gtgt, prebuild);
// create prelink phase
cmXCodeObject* preLinkPhase = this->CreateBuildPhase(
cmXCodeObject* preLinkPhase = this->CreateLegacyRunScriptBuildPhase(
"CMake PreLink Rules", "preLinkCommands", gtgt, prelink);
// create postbuild phase
cmXCodeObject* postBuildPhase = this->CreateBuildPhase(
cmXCodeObject* postBuildPhase = this->CreateLegacyRunScriptBuildPhase(
"CMake PostBuild Rules", "postBuildPhase", gtgt, postbuild);
// The order here is the order they will be built in.
+3 -3
View File
@@ -221,9 +221,9 @@ private:
void SetGenerationRoot(cmLocalGenerator* root);
void AddExtraTargets(cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& gens);
cmXCodeObject* CreateBuildPhase(const char* name, const char* name2,
cmGeneratorTarget* target,
const std::vector<cmCustomCommand>&);
cmXCodeObject* CreateLegacyRunScriptBuildPhase(
const char* name, const char* name2, cmGeneratorTarget* target,
const std::vector<cmCustomCommand>&);
void CreateReRunCMakeFile(cmLocalGenerator* root,
std::vector<cmLocalGenerator*> const& gens);