diff options
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index a8b2863..82d9b67 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -19,6 +19,7 @@ #include "cmCustomCommand.h" #include "cmPropertyMap.h" +#include "cmPolicies.h" class cmake; class cmMakefile; @@ -105,6 +106,10 @@ public: void SetMakefile(cmMakefile *mf); cmMakefile *GetMakefile() const { return this->Makefile;}; + /** Get the status of policy CMP0003 when the target was created. */ + cmPolicies::PolicyStatus GetPolicyStatusCMP0003() const + { return this->PolicyStatusCMP0003; } + /** * Get the list of the custom commands for this target */ @@ -530,6 +535,9 @@ private: // always be set. cmMakefile* Makefile; + // Policy status recorded when target was created. + cmPolicies::PolicyStatus PolicyStatusCMP0003; + // Internal representation details. friend class cmTargetInternals; cmTargetInternalPointer Internal; |