summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-03 08:11:01 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-04 20:32:20 (GMT)
commit23e2bcc8dba21b532ebbde20518f8a9f2d312103 (patch)
tree4fc49ee1402551f3a1df103f2b8e19a5cc90c33f /Source/cmPolicies.h
parent5641ba4fcaba322e6f189e33eaccc4621d6ba99d (diff)
downloadCMake-23e2bcc8dba21b532ebbde20518f8a9f2d312103.zip
CMake-23e2bcc8dba21b532ebbde20518f8a9f2d312103.tar.gz
CMake-23e2bcc8dba21b532ebbde20518f8a9f2d312103.tar.bz2
cmPolicies: Remove unused DefinePolicy method.
Policies are no longer defined at runtime.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 50ffe81..1e2849d 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -255,15 +255,6 @@ public:
///! Get the default status for a policy
cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id);
- ///! Define a Policy for CMake
- void DefinePolicy(cmPolicies::PolicyID id,
- const char *stringID,
- const char *shortDescription,
- unsigned int majorVersionIntroduced,
- unsigned int minorVersionIntroduced,
- unsigned int patchVersionIntroduced,
- cmPolicies::PolicyStatus status);
-
///! Set a policy level for this listfile
bool ApplyPolicyVersion(cmMakefile *mf, const char *version);