diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-16 03:21:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-10-14 17:32:09 (GMT) |
commit | 2293d43d00ddcff86c70f0b06014223f3b01e36c (patch) | |
tree | a5a581e0637bd509f0802f979745bcc4678f4c31 /Source/cmLocalGenerator.h | |
parent | 488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (diff) | |
download | CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.zip CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.gz CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.bz2 |
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 758709a..97e3f88 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -112,6 +112,19 @@ public: bool forResponseFile = false, const std::string& config = ""); + const cmGeneratorTargetsType &GetGeneratorTargets() const + { + return this->GeneratorTargets; + } + + void SetGeneratorTargets(const cmGeneratorTargetsType &targets) + { + this->GeneratorTargets = targets; + } + void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt); + + cmGeneratorTarget* FindGeneratorTargetToUse(const std::string& name) const; + /** * Encode a list of preprocessor definitions for the compiler * command line. @@ -354,6 +367,7 @@ protected: std::set<std::string> ObjectMaxPathViolations; std::set<cmTarget const*> WarnCMP0063; + cmGeneratorTargetsType GeneratorTargets; bool EmitUniversalBinaryFlags; |