summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-07-23 16:59:14 (GMT)
committerBrad King <brad.king@kitware.com>2008-07-23 16:59:14 (GMT)
commitb93f0318fe1ad55aec7a49227affca5a215ce915 (patch)
tree6d58b84574134cea5855d6f174f0896dda66c5f4 /Source/cmTarget.h
parent74d653602413297e00d5507f3839da0acbfd0030 (diff)
downloadCMake-b93f0318fe1ad55aec7a49227affca5a215ce915.zip
CMake-b93f0318fe1ad55aec7a49227affca5a215ce915.tar.gz
CMake-b93f0318fe1ad55aec7a49227affca5a215ce915.tar.bz2
ENH: Support full-path libs w/out valid names.
This change introduces policy CMP0008 to decide how to treat full path libraries that do not appear to be valid library file names. Such libraries worked by accident in the VS IDE and Xcode generators with CMake 2.4 and below. We support them in CMake 2.6 by introducing this policy. See policy documentation added by this change for details.
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 8ec2e1f..7141e41 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -114,6 +114,10 @@ public:
cmPolicies::PolicyStatus GetPolicyStatusCMP0004() const
{ return this->PolicyStatusCMP0004; }
+ /** Get the status of policy CMP0008 when the target was created. */
+ cmPolicies::PolicyStatus GetPolicyStatusCMP0008() const
+ { return this->PolicyStatusCMP0008; }
+
/**
* Get the list of the custom commands for this target
*/
@@ -552,6 +556,7 @@ private:
// Policy status recorded when target was created.
cmPolicies::PolicyStatus PolicyStatusCMP0003;
cmPolicies::PolicyStatus PolicyStatusCMP0004;
+ cmPolicies::PolicyStatus PolicyStatusCMP0008;
// Internal representation details.
friend class cmTargetInternals;