summaryrefslogtreecommitdiff
path: root/Source/cmGlobalGhsMultiGenerator.h
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2019-04-08 09:55:34 -0400
committerFred Baksik <frodak17@gmail.com>2019-04-11 13:15:50 -0400
commit39ee9718d9a56e7b8b15f63576f042415a2771f8 (patch)
tree3a63e90cd4ced8beaf7c41756bde12a071b3bb6d /Source/cmGlobalGhsMultiGenerator.h
parent8d3dad9a76591ae0426335d039b8aaacb95862cd (diff)
downloadcmake-39ee9718d9a56e7b8b15f63576f042415a2771f8.tar.gz
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.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h
index 1dd951ad7e..a987205f69 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