summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-08 21:00:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 21:41:30 (GMT)
commite0261a1e20f14cc2ca593bb978479b52954397d8 (patch)
tree5184bfa7576500af7ae8188bd04f9ee42cbb07cf
parentdf42dbb3558a6ba604ab584b21dfe7f8722eb025 (diff)
downloadCMake-e0261a1e20f14cc2ca593bb978479b52954397d8.zip
CMake-e0261a1e20f14cc2ca593bb978479b52954397d8.tar.gz
CMake-e0261a1e20f14cc2ca593bb978479b52954397d8.tar.bz2
cmTarget: Make OutputInfo definition public.
-rw-r--r--Source/cmTarget.cxx10
-rw-r--r--Source/cmTarget.h10
2 files changed, 9 insertions, 11 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index e1642cc..825f3eb 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -61,16 +61,6 @@ const char* cmTarget::GetTargetTypeName(TargetType targetType)
}
//----------------------------------------------------------------------------
-struct cmTarget::OutputInfo
-{
- std::string OutDir;
- std::string ImpDir;
- std::string PdbDir;
- bool empty() const
- { return OutDir.empty() && ImpDir.empty() && PdbDir.empty(); }
-};
-
-//----------------------------------------------------------------------------
class cmTargetInternals
{
public:
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index aab9582..96cdb5e 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,