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 | 39ee9718d9a56e7b8b15f63576f042415a2771f8 (patch) | |
tree | 3a63e90cd4ced8beaf7c41756bde12a071b3bb6d /Source/cmGlobalGhsMultiGenerator.h | |
parent | 8d3dad9a76591ae0426335d039b8aaacb95862cd (diff) | |
download | CMake-39ee9718d9a56e7b8b15f63576f042415a2771f8.zip CMake-39ee9718d9a56e7b8b15f63576f042415a2771f8.tar.gz CMake-39ee9718d9a56e7b8b15f63576f042415a2771f8.tar.bz2 |
GHS: Support add_custom_target() command
-- add new project type that runs shell scripts in proper order
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.h')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h index 1dd951a..a987205 100644 --- a/Source/cmGlobalGhsMultiGenerator.h +++ b/Source/cmGlobalGhsMultiGenerator.h @@ -111,19 +111,27 @@ private: /* top-level project */ void OutputTopLevelProject(cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); - void WriteTopLevelProject(std::ostream& fout, cmLocalGenerator* root, + void WriteTopLevelProject(std::ostream& fout, std::string& ename, + cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); void WriteMacros(std::ostream& fout); void WriteHighLevelDirectives(cmLocalGenerator* root, std::ostream& fout); - void WriteSubProjects(std::ostream& fout, cmLocalGenerator* root, + void WriteSubProjects(std::ostream& fout, std::string& ename, + cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); + void WriteExcludedProjects(std::ostream& fout, cmLocalGenerator* root, + std::vector<cmLocalGenerator*>& generators); + void WriteProjectLine(std::ostream& fout, cmGeneratorTarget const* target, + cmLocalGenerator* root, std::string& rootBinaryDir); void WriteCustomRuleBOD(std::ostream& fout); + void WriteCustomTargetBOD(std::ostream& fout); std::string trimQuotes(std::string const& str); std::string OsDir; static const char* DEFAULT_BUILD_PROGRAM; static const char* DEFAULT_TOOLSET_ROOT; + std::vector<cmGeneratorTarget const*> ExcludedTargets; }; class cmGlobalGhsMultiGenerator::OrderedTargetDependSet |