summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-07 21:36:57 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-07 21:36:57 (GMT)
commit46bf0347a3e86e78063f2d5df2d8f65a3ea2ac25 (patch)
treeb62cc6130db6975cbc1434c00686903dd4d56096 /Source/cmPolicies.h
parent354abb72d9de0fbcf7e02bc0aeb32f919b19ccac (diff)
downloadCMake-46bf0347a3e86e78063f2d5df2d8f65a3ea2ac25.zip
CMake-46bf0347a3e86e78063f2d5df2d8f65a3ea2ac25.tar.gz
CMake-46bf0347a3e86e78063f2d5df2d8f65a3ea2ac25.tar.bz2
ENH: Finish creating, documenting, and enforcing policy CMP_0002.
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