summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-13 15:38:46 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-13 15:38:46 (GMT)
commit73df9a5cd4f6ac66ea71c073ce3e01d68c512074 (patch)
tree570c225bc40497907cbb26c476c3944848903565 /Source/cmMakefile.cxx
parent0deb9012a671760abce575d983dfa9cb49b2205f (diff)
downloadCMake-73df9a5cd4f6ac66ea71c073ce3e01d68c512074.zip
CMake-73df9a5cd4f6ac66ea71c073ce3e01d68c512074.tar.gz
CMake-73df9a5cd4f6ac66ea71c073ce3e01d68c512074.tar.bz2
ENH: change CMP_ to CMP
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 1960f04..79fca4a 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3278,17 +3278,17 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg,
else
{
// target names must be globally unique
- switch (this->GetPolicyStatus(cmPolicies::CMP_0002))
+ switch (this->GetPolicyStatus(cmPolicies::CMP0002))
{
case cmPolicies::WARN:
this->IssueMessage(cmake::AUTHOR_WARNING, this->GetPolicies()->
- GetPolicyWarning(cmPolicies::CMP_0002));
+ GetPolicyWarning(cmPolicies::CMP0002));
case cmPolicies::OLD:
return true;
case cmPolicies::REQUIRED_IF_USED:
case cmPolicies::REQUIRED_ALWAYS:
this->IssueMessage(cmake::FATAL_ERROR,
- this->GetPolicies()->GetRequiredPolicyError(cmPolicies::CMP_0002)
+ this->GetPolicies()->GetRequiredPolicyError(cmPolicies::CMP0002)
);
return true;
case cmPolicies::NEW:
@@ -3333,7 +3333,7 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg,
}
e << "created in source directory \""
<< existing->GetMakefile()->GetCurrentDirectory() << "\". "
- << "See documentation for policy CMP_0002 for more details.";
+ << "See documentation for policy CMP0002 for more details.";
msg = e.str();
return false;
}
@@ -3411,7 +3411,7 @@ bool cmMakefile::SetPolicy(cmPolicies::PolicyID id,
// Special hook for presenting compatibility variable as soon as
// the user requests it.
- if(id == cmPolicies::CMP_0001 &&
+ if(id == cmPolicies::CMP0001 &&
(status == cmPolicies::WARN || status == cmPolicies::OLD))
{
if(!(this->GetCacheManager()