summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-13 20:35:39 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-13 20:35:39 (GMT)
commitbf4cef9d5cb67728e855cd65bafa2a3cde684cfe (patch)
tree22eacf13e8480a8d9a3fda5c15216b324878243e /Source/cmTarget.h
parentd46ff28ac9465969f9fda862d06a048fa40d72f6 (diff)
downloadCMake-bf4cef9d5cb67728e855cd65bafa2a3cde684cfe.zip
CMake-bf4cef9d5cb67728e855cd65bafa2a3cde684cfe.tar.gz
CMake-bf4cef9d5cb67728e855cd65bafa2a3cde684cfe.tar.bz2
ENH: Add policy CMP_0004 to require library names to have no leading or trailing whitespace. Replace previous check of CMAKE_BACKWARDS_COMPATIBILITY against version 2.4 with the policy.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 82d9b67..f90a059 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -110,6 +110,10 @@ public:
cmPolicies::PolicyStatus GetPolicyStatusCMP0003() const
{ return this->PolicyStatusCMP0003; }
+ /** Get the status of policy CMP0004 when the target was created. */
+ cmPolicies::PolicyStatus GetPolicyStatusCMP0004() const
+ { return this->PolicyStatusCMP0004; }
+
/**
* Get the list of the custom commands for this target
*/
@@ -537,6 +541,7 @@ private:
// Policy status recorded when target was created.
cmPolicies::PolicyStatus PolicyStatusCMP0003;
+ cmPolicies::PolicyStatus PolicyStatusCMP0004;
// Internal representation details.
friend class cmTargetInternals;