mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
Xcode: Clarify name of legacy run script build phase helper
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user