diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-18 21:13:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:19:53 (GMT) |
commit | 80de856bb5cba20d424b91e4a49fe8fdb1f904a3 (patch) | |
tree | 882998e96efb8b06f7b750729995b83b480a4c29 /Source/cmLocalNinjaGenerator.h | |
parent | 4c41e74da58b6f1057466e7eaa22942dc62c8802 (diff) | |
download | CMake-80de856bb5cba20d424b91e4a49fe8fdb1f904a3.zip CMake-80de856bb5cba20d424b91e4a49fe8fdb1f904a3.tar.gz CMake-80de856bb5cba20d424b91e4a49fe8fdb1f904a3.tar.bz2 |
Ninja: Port to cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.h')
-rw-r--r-- | Source/cmLocalNinjaGenerator.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h index ce5f82d..b6987ef 100644 --- a/Source/cmLocalNinjaGenerator.h +++ b/Source/cmLocalNinjaGenerator.h @@ -58,10 +58,11 @@ public: std::string BuildCommandLine(const std::vector<std::string> &cmdLines); - void AppendTargetOutputs(cmTarget* target, cmNinjaDeps& outputs); - void AppendTargetDepends(cmTarget* target, cmNinjaDeps& outputs); + void AppendTargetOutputs(cmGeneratorTarget* target, cmNinjaDeps& outputs); + void AppendTargetDepends(cmGeneratorTarget* target, cmNinjaDeps& outputs); - void AddCustomCommandTarget(cmCustomCommand const* cc, cmTarget* target); + void AddCustomCommandTarget(cmCustomCommand const* cc, + cmGeneratorTarget* target); void AppendCustomCommandLines(cmCustomCommandGenerator const& ccg, std::vector<std::string> &cmdLines); void AppendCustomCommandDeps(cmCustomCommandGenerator const& ccg, @@ -102,7 +103,7 @@ private: std::string HomeRelativeOutputPath; - typedef std::map<cmCustomCommand const*, std::set<cmTarget*> > + typedef std::map<cmCustomCommand const*, std::set<cmGeneratorTarget*> > CustomCommandTargetMap; CustomCommandTargetMap CustomCommandTargets; }; |