cmPolicies: Remove unused DefinePolicy method.
Policies are no longer defined at runtime.
This commit is contained in:
parent
5641ba4fca
commit
23e2bcc8db
|
@ -121,16 +121,6 @@ const char* idToShortDescription(cmPolicies::PolicyID id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void cmPolicies::DefinePolicy(cmPolicies::PolicyID,
|
||||
const char *,
|
||||
const char *,
|
||||
unsigned int,
|
||||
unsigned int,
|
||||
unsigned int,
|
||||
cmPolicies::PolicyStatus)
|
||||
{
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
static void DiagnoseAncientPolicies(
|
||||
std::vector<cmPolicies::PolicyID> const& ancient,
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue