mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user