diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-23 16:26:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:24:43 (GMT) |
commit | 6cac952b9ed8ad202286ddee7246d9ef7ed8f22d (patch) | |
tree | 50a60557bee9ca3bb9179cb14ad3afbfe5df658b /Source/cmGlobalVisualStudioGenerator.h | |
parent | 97b3768898431ffff824388dc263654a35a33aa2 (diff) | |
download | CMake-6cac952b9ed8ad202286ddee7246d9ef7ed8f22d.zip CMake-6cac952b9ed8ad202286ddee7246d9ef7ed8f22d.tar.gz CMake-6cac952b9ed8ad202286ddee7246d9ef7ed8f22d.tar.bz2 |
VS: Port interface to cmGeneratorTarget
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h index c81ddda..f827f26 100644 --- a/Source/cmGlobalVisualStudioGenerator.h +++ b/Source/cmGlobalVisualStudioGenerator.h @@ -88,7 +88,7 @@ public: /** Return true if building for Windows CE */ virtual bool TargetsWindowsCE() const { return false; } - class TargetSet: public std::set<cmTarget const*> {}; + class TargetSet: public std::set<cmGeneratorTarget const*> {}; class TargetCompare { std::string First; @@ -126,8 +126,9 @@ protected: VSDependMap VSTargetDepends; void ComputeVSTargetDepends(cmGeneratorTarget *); - bool CheckTargetLinks(cmTarget& target, const std::string& name); - std::string GetUtilityForTarget(cmTarget& target, const std::string&); + bool CheckTargetLinks(cmGeneratorTarget& target, const std::string& name); + std::string GetUtilityForTarget(cmGeneratorTarget& target, + const std::string&); virtual std::string WriteUtilityDepend(cmGeneratorTarget const*) = 0; std::string GetUtilityDepend(const cmGeneratorTarget *target); typedef std::map<cmGeneratorTarget const*, std::string> UtilityDependsMap; @@ -141,13 +142,14 @@ private: void PrintCompilerAdvice(std::ostream&, std::string const&, const char*) const {} - void FollowLinkDepends(cmTarget const* target, - std::set<cmTarget const*>& linked); + void FollowLinkDepends(cmGeneratorTarget const* target, + std::set<cmGeneratorTarget const*>& linked); - class TargetSetMap: public std::map<cmTarget*, TargetSet> {}; + class TargetSetMap: public std::map<cmGeneratorTarget*, TargetSet> {}; TargetSetMap TargetLinkClosure; - void FillLinkClosure(cmGeneratorTarget const* target, TargetSet& linked); - TargetSet const& GetTargetLinkClosure(cmGeneratorTarget *target); + void FillLinkClosure(const cmGeneratorTarget *target, + TargetSet& linked); + TargetSet const& GetTargetLinkClosure(cmGeneratorTarget* target); }; class cmGlobalVisualStudioGenerator::OrderedTargetDependSet: |