diff options
author | Fred Baksik <fdk17@ftml.net> | 2022-03-16 20:24:51 (GMT) |
---|---|---|
committer | Fred Baksik <fdk17@ftml.net> | 2022-03-17 23:11:43 (GMT) |
commit | edff0f6a1d7174c15451aeab31d51c03382e624d (patch) | |
tree | 2c4ac74d1116dd97fa18b1376d5e5d1fa27ecc53 /Source/cmGlobalGhsMultiGenerator.h | |
parent | ad426aa697cd5737ca58b95f2acb9a55735d126b (diff) | |
download | CMake-edff0f6a1d7174c15451aeab31d51c03382e624d.zip CMake-edff0f6a1d7174c15451aeab31d51c03382e624d.tar.gz CMake-edff0f6a1d7174c15451aeab31d51c03382e624d.tar.bz2 |
GHS: Use Custom Target for ALL_BUILD
Use a Custom Target for ALL_BUILD instead of special code.
This also changes the name from <project>.ALL_BUILD.tgt to
ALL_BUILD.tgt. The name change is part of standardizing the
CMakePredefinedTargets names.
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.h')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h index 7343e55..12e9991 100644 --- a/Source/cmGlobalGhsMultiGenerator.h +++ b/Source/cmGlobalGhsMultiGenerator.h @@ -102,17 +102,16 @@ private: std::vector<cmLocalGenerator*>& generators); void WriteTopLevelProject(std::ostream& fout, cmLocalGenerator* root); void WriteMacros(std::ostream& fout, cmLocalGenerator* root); - void WriteHighLevelDirectives(cmLocalGenerator* root, std::ostream& fout); - void WriteSubProjects(std::ostream& fout, std::string& all_target); + void WriteHighLevelDirectives(std::ostream& fout, cmLocalGenerator* root); + void WriteSubProjects(std::ostream& fout); void WriteTargets(cmLocalGenerator* root); void WriteProjectLine(std::ostream& fout, cmGeneratorTarget const* target, std::string& rootBinaryDir); void WriteCustomRuleBOD(std::ostream& fout); void WriteCustomTargetBOD(std::ostream& fout); - void WriteAllTarget(cmLocalGenerator* root, - std::vector<cmLocalGenerator*>& generators, - std::string& all_target); bool AddCheckTarget(); + void AddAllTarget(); + std::string StampFile; static std::string TrimQuotes(std::string str); |