diff options
author | Fred Baksik <frodak17@gmail.com> | 2019-04-08 13:55:34 (GMT) |
---|---|---|
committer | Fred Baksik <frodak17@gmail.com> | 2019-04-11 17:15:50 (GMT) |
commit | b6bfa7eeb29937fbed44153518abfa4f28b9aa62 (patch) | |
tree | 968bdeb214273d3aeef4bca599cad9d1036bcfb4 /Source/cmGlobalGhsMultiGenerator.h | |
parent | 39ee9718d9a56e7b8b15f63576f042415a2771f8 (diff) | |
download | CMake-b6bfa7eeb29937fbed44153518abfa4f28b9aa62.zip CMake-b6bfa7eeb29937fbed44153518abfa4f28b9aa62.tar.gz CMake-b6bfa7eeb29937fbed44153518abfa4f28b9aa62.tar.bz2 |
GHS: Support add_dependencies() command
-- use references to list target dependencies
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.h')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h index a987205..5027a7c 100644 --- a/Source/cmGlobalGhsMultiGenerator.h +++ b/Source/cmGlobalGhsMultiGenerator.h @@ -111,18 +111,20 @@ private: /* top-level project */ void OutputTopLevelProject(cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); - void WriteTopLevelProject(std::ostream& fout, std::string& ename, - cmLocalGenerator* root, + void WriteTopLevelProject(std::ostream& fout, cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); void WriteMacros(std::ostream& fout); void WriteHighLevelDirectives(cmLocalGenerator* root, std::ostream& fout); - void WriteSubProjects(std::ostream& fout, std::string& ename, - cmLocalGenerator* root, + void WriteSubProjects(std::ostream& fout, cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); - void WriteExcludedProjects(std::ostream& fout, cmLocalGenerator* root, - std::vector<cmLocalGenerator*>& generators); + void WriteTargetProjects(std::ostream& fout, cmLocalGenerator* root, + std::vector<cmLocalGenerator*>& generators, + bool proj); + void WriteDefaultProject(std::ostream& fout, cmLocalGenerator* root, + std::vector<cmLocalGenerator*>& generators); void WriteProjectLine(std::ostream& fout, cmGeneratorTarget const* target, - cmLocalGenerator* root, std::string& rootBinaryDir); + cmLocalGenerator* root, std::string& rootBinaryDir, + bool proj); void WriteCustomRuleBOD(std::ostream& fout); void WriteCustomTargetBOD(std::ostream& fout); @@ -131,7 +133,8 @@ private: std::string OsDir; static const char* DEFAULT_BUILD_PROGRAM; static const char* DEFAULT_TOOLSET_ROOT; - std::vector<cmGeneratorTarget const*> ExcludedTargets; + std::vector<cmGeneratorTarget const*> DefaultTargets; + std::vector<cmGeneratorTarget const*> ProjectTargets; }; class cmGlobalGhsMultiGenerator::OrderedTargetDependSet |