From e0261a1e20f14cc2ca593bb978479b52954397d8 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 8 Oct 2015 23:00:30 +0200 Subject: [PATCH] cmTarget: Make OutputInfo definition public. --- Source/cmTarget.cxx | 10 ---------- Source/cmTarget.h | 10 +++++++++- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index e1642cc95..825f3ebcf 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -60,16 +60,6 @@ const char* cmTarget::GetTargetTypeName(TargetType targetType) return 0; } -//---------------------------------------------------------------------------- -struct cmTarget::OutputInfo -{ - std::string OutDir; - std::string ImpDir; - std::string PdbDir; - bool empty() const - { return OutDir.empty() && ImpDir.empty() && PdbDir.empty(); } -}; - //---------------------------------------------------------------------------- class cmTargetInternals { diff --git a/Source/cmTarget.h b/Source/cmTarget.h index aab9582bb..96cdb5e21 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -488,7 +488,15 @@ private: #endif // Cache target output paths for each configuration. - struct OutputInfo; + struct OutputInfo + { + std::string OutDir; + std::string ImpDir; + std::string PdbDir; + bool empty() const + { return OutDir.empty() && ImpDir.empty() && PdbDir.empty(); } + }; + OutputInfo const* GetOutputInfo(const std::string& config) const; bool ComputeOutputDir(const std::string& config,