mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 23:19:58 -06:00
cmTarget: Make OutputInfo definition public.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user