summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
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;