diff options
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 68745da..7e976d6 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -38,12 +38,12 @@ public: enum PolicyStatus { OLD, WARN, NEW, REQUIRED_IF_USED, REQUIRED_ALWAYS }; static const char* PolicyStatusNames[]; - enum PolicyID {CMP_0000, CMP_POLICY_SPECIFICATION = CMP_0000, - CMP_0001, CMP_TARGET_NAMES_WITH_SLASHES = CMP_0001, - CMP_0002, CMP_REQUIRE_UNIQUE_TARGET_NAMES = CMP_0002, - CMP_0003, CMP_CONFIGURE_FILE_IMMEDIATE = CMP_0003 - }; - + enum PolicyID + { + CMP_0000, // Policy version specification + CMP_0001, // Ignore old compatibility variable + CMP_0002 + }; ///! convert a string policy ID into a number bool GetPolicyID(const char *id, /* out */ cmPolicies::PolicyID &pid); |