summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 14:03:23 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 14:10:50 (GMT)
commit2cd41046007de479f660a7794292105908276345 (patch)
tree4ab0f950a870026574d2a79f86ba7553535afb0d /Source/cmTarget.h
parentfa8e2dfc7b10066b2ba575c20ea96d802109e6c3 (diff)
downloadCMake-2cd41046007de479f660a7794292105908276345.zip
CMake-2cd41046007de479f660a7794292105908276345.tar.gz
CMake-2cd41046007de479f660a7794292105908276345.tar.bz2
cmTarget: Move member `Makefile` to impl
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index d18acef..58ab255 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -69,14 +69,15 @@ public:
///! Return the type of target.
cmStateEnums::TargetType GetType() const;
+ ///! Get the cmMakefile that owns this target.
+ cmMakefile* GetMakefile() const;
+
+ ///! Return the global generator.
cmGlobalGenerator* GetGlobalGenerator() const;
///! Set/Get the name of the target
const std::string& GetName() const { return this->Name; }
- /** Get the cmMakefile that owns this target. */
- cmMakefile* GetMakefile() const { return this->Makefile; }
-
#define DECLARE_TARGET_POLICY(POLICY) \
cmPolicies::PolicyStatus GetPolicyStatus##POLICY() const \
{ \
@@ -316,7 +317,6 @@ private:
std::vector<cmCustomCommand> PostBuildCommands;
std::vector<std::pair<TLLSignature, cmListFileContext>> TLLCommands;
LinkLibraryVectorType OriginalLinkLibraries;
- cmMakefile* Makefile;
cmTargetInternalPointer impl;
bool HaveInstallRule;
bool DLLPlatform;