summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 7e976d6..e67315e 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -42,7 +42,11 @@ public:
{
CMP_0000, // Policy version specification
CMP_0001, // Ignore old compatibility variable
- CMP_0002
+ CMP_0002, // Target names must be unique
+
+ // Always the last entry. Useful mostly to avoid adding a comma
+ // the last policy when adding a new one.
+ CMP_COUNT
};
///! convert a string policy ID into a number