This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  0ed780ea44448d4036eb90ee39566deaaf0ac22e (commit)
       via  b646352f8ae420b9fa8035481d5bd1a55430dd70 (commit)
      from  3faad24c0fa9477039131634b273fa8c5b43195d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0ed780ea44448d4036eb90ee39566deaaf0ac22e
commit 0ed780ea44448d4036eb90ee39566deaaf0ac22e
Merge: 3faad24 b646352
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Tue Jul 21 14:50:15 2015 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Tue Jul 21 14:50:15 2015 -0400

    Merge topic 'end-Policy-lifetime' into next
    
    b646352f Revert topic.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b646352f8ae420b9fa8035481d5bd1a55430dd70
commit b646352f8ae420b9fa8035481d5bd1a55430dd70
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Tue Jul 21 20:37:07 2015 +0200
Commit:     Stephen Kelly <steve...@gmail.com>
CommitDate: Tue Jul 21 20:37:21 2015 +0200

    Revert topic.

diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 762d4ff..0a313cd 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -23,42 +23,8 @@ either ``NEW`` or ``OLD`` behavior explicitly on the command 
line with the
 A policy is a deprecation mechanism and not a reliable feature toggle.
 A policy should almost never be set to ``OLD``, except to silence warnings
 in an otherwise frozen or stable codebase, or temporarily as part of a
-larger migration path.  The ``OLD`` behavior of each policy is undesirable
+larger migration path. The ``OLD`` behavior of each policy is undesirable
 and will be replaced with an error condition in a future release.
-Maintainers should take timely action to ensure their code works with both
-new and existing versions of CMake without requiring an explicit policy
-setting.  Most policies indicate ways that the code should be changed
-which work with both new and existing CMake releases.
-
-The lifecycle of a policy is:
-
-1. The Policy is introduced in a new version of CMake.  By default the
-   policy issues a warning if code is encountered which depends on ``OLD``
-   behavior.  The warning can be disabled in this release by using
-   the :command:`cmake_policy` command, or by passing ``-Wno-dev`` to
-   the :manual:`cmake(1)` program.
-2. In the release following its introduction, use of
-   the :command:`cmake_policy` command has no effect on whether the
-   warning is issued or not.  Passing ``-Wno-dev`` to
-   the :manual:`cmake(1)` program still silences the warning.
-3. Two releases after the introduction of the policy,
-   passing ``-Wno-dev`` to the :manual:`cmake(1)` program no longer
-   has any effect.
-4. Four releases after the introduction of the policy, the policy may
-   issue an error instead of a warning if ``OLD`` behavior is relied upon.
-   This indicates that the policy has reached the end of its life and the
-   code implementing the ``OLD`` behavior has been removed from the CMake
-   implementation.  Some policies may continue to issue only a warning
-   even four releases after introduction.  This does not mean that it is
-   ok to continue to rely on ``OLD`` behavior.
-5. Two releases after making the ``OLD`` behavior of the policy an error,
-   the error will no longer be diagnosed, and ``NEW`` behavior will be
-   used without further notification.
-
-Note that many existing policies currently have states that appear to not
-follow this lifecycle.  This does not mean that it is ok to continue to
-rely on ``OLD`` behavior for those policies; they will be brought in line
-with this lifecycle in a future release of CMake.
 
 The :command:`cmake_minimum_required` command does more than report an
 error if a too-old version of CMake is used to build a project.  It
diff --git a/Source/cmBreakCommand.cxx b/Source/cmBreakCommand.cxx
index ed41044..fc0c3f5 100644
--- a/Source/cmBreakCommand.cxx
+++ b/Source/cmBreakCommand.cxx
@@ -17,14 +17,17 @@ bool cmBreakCommand::InitialPass(std::vector<std::string> 
const &args,
 {
   if(!this->Makefile->IsLoopBlock())
     {
+    bool issueMessage = true;
     std::ostringstream e;
-    cmake::MessageType messageType = cmake::POLICY_WARNING;
+    cmake::MessageType messageType = cmake::AUTHOR_WARNING;
     switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0055))
       {
-      case cmPolicies::OLD:
       case cmPolicies::WARN:
         e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0055) << "\n";
         break;
+      case cmPolicies::OLD:
+        issueMessage = false;
+        break;
       case cmPolicies::REQUIRED_ALWAYS:
       case cmPolicies::REQUIRED_IF_USED:
       case cmPolicies::NEW:
@@ -32,12 +35,15 @@ bool cmBreakCommand::InitialPass(std::vector<std::string> 
const &args,
         break;
       }
 
-    e << "A BREAK command was found outside of a proper "
-         "FOREACH or WHILE loop scope.";
-    this->Makefile->IssueMessage(messageType, e.str());
-     if(messageType == cmake::FATAL_ERROR)
+    if(issueMessage)
       {
-      return false;
+      e << "A BREAK command was found outside of a proper "
+           "FOREACH or WHILE loop scope.";
+      this->Makefile->IssueMessage(messageType, e.str());
+       if(messageType == cmake::FATAL_ERROR)
+        {
+        return false;
+        }
       }
     }
 
@@ -45,14 +51,17 @@ bool cmBreakCommand::InitialPass(std::vector<std::string> 
const &args,
 
   if(!args.empty())
     {
+    bool issueMessage = true;
     std::ostringstream e;
-    cmake::MessageType messageType = cmake::POLICY_WARNING;
+    cmake::MessageType messageType = cmake::AUTHOR_WARNING;
     switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0055))
       {
-      case cmPolicies::OLD:
       case cmPolicies::WARN:
         e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0055) << "\n";
         break;
+      case cmPolicies::OLD:
+        issueMessage = false;
+        break;
       case cmPolicies::REQUIRED_ALWAYS:
       case cmPolicies::REQUIRED_IF_USED:
       case cmPolicies::NEW:
@@ -60,11 +69,14 @@ bool cmBreakCommand::InitialPass(std::vector<std::string> 
const &args,
         break;
       }
 
-    e << "The BREAK command does not accept any arguments.";
-    this->Makefile->IssueMessage(messageType, e.str());
-     if(messageType == cmake::FATAL_ERROR)
+    if(issueMessage)
       {
-      return false;
+      e << "The BREAK command does not accept any arguments.";
+      this->Makefile->IssueMessage(messageType, e.str());
+       if(messageType == cmake::FATAL_ERROR)
+        {
+        return false;
+        }
       }
     }
 
diff --git a/Source/cmComputeLinkInformation.cxx 
b/Source/cmComputeLinkInformation.cxx
index 49f0029..1f3046a 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -563,7 +563,7 @@ bool cmComputeLinkInformation::Compute()
       "link line will ask the linker to search for these by library "
       "name."
       ;
-    this->CMakeInstance->IssueMessage(cmake::POLICY_OPTIONAL_WARNING, w.str(),
+    this->CMakeInstance->IssueMessage(cmake::AUTHOR_WARNING, w.str(),
                                       this->Target->GetBacktrace());
     }
 
@@ -1213,7 +1213,6 @@ bool 
cmComputeLinkInformation::CheckImplicitDirItem(std::string const& item)
   // Check the policy for whether we should use the approach below.
   switch (this->Target->GetPolicyStatusCMP0060())
     {
-    case cmPolicies::OLD:
     case cmPolicies::WARN:
       if (this->CMP0060Warn)
         {
@@ -1225,6 +1224,7 @@ bool 
cmComputeLinkInformation::CheckImplicitDirItem(std::string const& item)
           this->CMP0060WarnItems.insert(item);
           }
         }
+    case cmPolicies::OLD:
       break;
     case cmPolicies::REQUIRED_ALWAYS:
     case cmPolicies::REQUIRED_IF_USED:
diff --git a/Source/cmConditionEvaluator.cxx b/Source/cmConditionEvaluator.cxx
index 5e95da9..61847d4 100644
--- a/Source/cmConditionEvaluator.cxx
+++ b/Source/cmConditionEvaluator.cxx
@@ -688,17 +688,16 @@ bool cmConditionEvaluator::HandleLevel2(cmArgumentList 
&newArgs,
           this->HandleBinaryOp(result,
             reducible, arg, newArgs, argP1, argP2);
           }
-        else
-          {
-          std::ostringstream e;
-          e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0057) << "\n";
-          e << "IN_LIST will be interpreted as an operator "
-            "when the policy is set to NEW.  "
-            "Since the policy is not set to NEW, the OLD behavior will be "
-            "used.";
-
-          this->Makefile.IssueMessage(cmake::POLICY_OPTIONAL_WARNING, e.str());
-          }
+          else if(this->Policy57Status == cmPolicies::WARN)
+            {
+            std::ostringstream e;
+            e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0057) << "\n";
+            e << "IN_LIST will be interpreted as an operator "
+              "when the policy is set to NEW.  "
+              "Since the policy is not set the OLD behavior will be used.";
+
+            this->Makefile.IssueMessage(cmake::AUTHOR_WARNING, e.str());
+            }
         }
 
       ++arg;
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 65dfe4a..e1e1a5c 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -328,7 +328,6 @@ int 
cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
       }
     switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0056))
       {
-      case cmPolicies::OLD:
       case cmPolicies::WARN:
         if(this->Makefile->PolicyOptionalWarningEnabled(
              "CMAKE_POLICY_WARNING_CMP0056"))
@@ -339,8 +338,10 @@ int 
cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
             "is not honoring caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) "
             "in the test project."
             ;
-          this->Makefile->IssueMessage(cmake::POLICY_WARNING, w.str());
+          this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
           }
+      case cmPolicies::OLD:
+        // OLD behavior is to do nothing.
         break;
       case cmPolicies::REQUIRED_IF_USED:
       case cmPolicies::REQUIRED_ALWAYS:
diff --git a/Source/cmGetDirectoryPropertyCommand.cxx 
b/Source/cmGetDirectoryPropertyCommand.cxx
index 4b4794f..c056d95 100644
--- a/Source/cmGetDirectoryPropertyCommand.cxx
+++ b/Source/cmGetDirectoryPropertyCommand.cxx
@@ -90,10 +90,10 @@ bool cmGetDirectoryPropertyCommand
       {
       switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0059))
         {
-        case cmPolicies::OLD:
         case cmPolicies::WARN:
-          this->Makefile->IssueMessage(cmake::POLICY_OPTIONAL_WARNING,
+          this->Makefile->IssueMessage(cmake::AUTHOR_WARNING,
                            cmPolicies::GetPolicyWarning(cmPolicies::CMP0059));
+        case cmPolicies::OLD:
           this->StoreResult(variable,
                                    this->Makefile->GetDefineFlagsCMP0059());
         return true;
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx
index 4e5c80e..33d638b 100644
--- a/Source/cmGetPropertyCommand.cxx
+++ b/Source/cmGetPropertyCommand.cxx
@@ -283,10 +283,10 @@ bool cmGetPropertyCommand::HandleDirectoryMode()
     {
     switch(mf->GetPolicyStatus(cmPolicies::CMP0059))
       {
-      case cmPolicies::OLD:
       case cmPolicies::WARN:
-        mf->IssueMessage(cmake::POLICY_OPTIONAL_WARNING,
+        mf->IssueMessage(cmake::AUTHOR_WARNING,
                          cmPolicies::GetPolicyWarning(cmPolicies::CMP0059));
+      case cmPolicies::OLD:
         return this->StoreResult(mf->GetDefineFlagsCMP0059());
       case cmPolicies::NEW:
       case cmPolicies::REQUIRED_ALWAYS:
diff --git a/Source/cmGlobalNinjaGenerator.cxx 
b/Source/cmGlobalNinjaGenerator.cxx
index 2d08a02..b88b8c8 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -1122,7 +1122,7 @@ void 
cmGlobalNinjaGenerator::WriteUnknownExplicitDependencies(std::ostream& os)
                             "",
                             deps,
                             cmNinjaDeps());
-      if (this->PolicyCMP0058 <= cmPolicies::WARN &&
+      if (this->PolicyCMP0058 == cmPolicies::WARN &&
           !inSourceBuild && warnExplicitDepends.size() < 10)
         {
         warnExplicitDepends.push_back(*i);
@@ -1146,8 +1146,7 @@ void 
cmGlobalNinjaGenerator::WriteUnknownExplicitDependencies(std::ostream& os)
       "Project authors should add the missing BYPRODUCTS or OUTPUT "
       "options to the custom commands that produce these files."
       ;
-    this->GetCMakeInstance()->IssueMessage(cmake::POLICY_OPTIONAL_WARNING,
-                                           w.str());
+    this->GetCMakeInstance()->IssueMessage(cmake::AUTHOR_WARNING, w.str());
     }
 }
 
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 51dd795..899b088 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -882,14 +882,14 @@ bool 
cmInstallCommand::HandleFilesMode(std::vector<std::string> const& args)
       {
       const char *modal = 0;
       std::ostringstream e;
-      cmake::MessageType messageType = cmake::POLICY_OPTIONAL_WARNING;
+      cmake::MessageType messageType = cmake::AUTHOR_WARNING;
 
       switch(status)
         {
-        case cmPolicies::OLD:
         case cmPolicies::WARN:
           e << cmPolicies::GetPolicyWarning(cmPolicies::CMP0062) << "\n";
           modal = "should";
+        case cmPolicies::OLD:
           break;
         case cmPolicies::REQUIRED_IF_USED:
         case cmPolicies::REQUIRED_ALWAYS:
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6898cb3..5c9ee0e 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2215,6 +2215,7 @@ void cmLocalGenerator
     switch (target->GetPolicyStatusCMP0063())
       {
       case cmPolicies::OLD:
+        return;
       case cmPolicies::WARN:
         pWarnCMP0063 = &warnCMP0063;
         break;
@@ -2242,8 +2243,7 @@ void cmLocalGenerator
       warnCMP0063 <<
       "For compatibility CMake is not honoring them for this target.";
     target->GetMakefile()->GetCMakeInstance()
-      ->IssueMessage(cmake::POLICY_OPTIONAL_WARNING,
-                     w.str(), target->GetBacktrace());
+      ->IssueMessage(cmake::AUTHOR_WARNING, w.str(), target->GetBacktrace());
     }
 }
 
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index cad1623..94c77e1 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -429,7 +429,6 @@ cmMakefile::IncludeScope::IncludeScope(cmMakefile* mf,
     // Check CMP0011 to determine the policy scope type.
     switch (this->Makefile->GetPolicyStatus(cmPolicies::CMP0011))
       {
-      case cmPolicies::OLD:
       case cmPolicies::WARN:
         // We need to push a scope to detect whether the script sets
         // any policies that would affect the includer and therefore
@@ -438,6 +437,10 @@ cmMakefile::IncludeScope::IncludeScope(cmMakefile* mf,
         this->Makefile->PushPolicy(true);
         this->CheckCMP0011 = true;
         break;
+      case cmPolicies::OLD:
+        // OLD behavior is to not push a scope at all.
+        this->NoPolicyScope = true;
+        break;
       case cmPolicies::REQUIRED_IF_USED:
       case cmPolicies::REQUIRED_ALWAYS:
         // We should never make this policy required, but we handle it
@@ -505,8 +508,8 @@ void cmMakefile::IncludeScope::EnforceCMP0011()
   // script might actually set this policy for its includer.
   switch (this->Makefile->GetPolicyStatus(cmPolicies::CMP0011))
     {
-    case cmPolicies::OLD:
     case cmPolicies::WARN:
+      // Warn because the user did not set this policy.
       {
       std::ostringstream w;
       w << cmPolicies::GetPolicyWarning(cmPolicies::CMP0011) << "\n"
@@ -515,7 +518,7 @@ void cmMakefile::IncludeScope::EnforceCMP0011()
         << "affects policy settings.  "
         << "CMake is implying the NO_POLICY_SCOPE option for compatibility, "
         << "so the effects are applied to the including context.";
-      this->Makefile->IssueMessage(cmake::POLICY_WARNING, w.str());
+      this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
       }
       break;
     case cmPolicies::REQUIRED_IF_USED:
@@ -529,6 +532,7 @@ void cmMakefile::IncludeScope::EnforceCMP0011()
       this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
       }
       break;
+    case cmPolicies::OLD:
     case cmPolicies::NEW:
       // The script set this policy.  We assume the purpose of the
       // script is to initialize policies for its includer, and since
@@ -5010,9 +5014,9 @@ bool cmMakefile::IgnoreErrorsCMP0061() const
   bool ignoreErrors = true;
   switch (this->GetPolicyStatus(cmPolicies::CMP0061))
     {
-    case cmPolicies::OLD:
     case cmPolicies::WARN:
       // No warning for this policy!
+    case cmPolicies::OLD:
       break;
     case cmPolicies::REQUIRED_IF_USED:
     case cmPolicies::REQUIRED_ALWAYS:
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index f58c3eb..5026893 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -283,55 +283,17 @@ bool cmPolicies::GetPolicyID(const char *id, 
cmPolicies::PolicyID &pid)
   return stringToId(id, pid);
 }
 
-static bool ignoreWNoDev(cmPolicies::PolicyID id)
-{
-  return id == cmPolicies::CMP0011
-      || (id >= cmPolicies::CMP0055
-          && id <= cmPolicies::CMP0056);
-}
-
-static bool ignorePolicySetting(cmPolicies::PolicyID id)
-{
-  return id >= cmPolicies::CMP0057
-      && id <= cmPolicies::CMP0063;
-}
-
 ///! return a warning string for a given policy
 std::string cmPolicies::GetPolicyWarning(cmPolicies::PolicyID id)
 {
   std::ostringstream msg;
-
-  if (ignoreWNoDev(id))
-    {
-    msg <<
-        "Policy " << idToString(id) << " behavior is triggered: "
-        "" << idToShortDescription(id) << "  "
-        "Run \"cmake --help-policy " << idToString(id) << "\" for "
-        "policy details.\nThis policy was introduced in CMake "
-        << idToVersion(id)
-        << " and issues a warning regardless of the policy setting.";
-    }
-  else if (ignorePolicySetting(id))
-    {
-    msg <<
-        "Policy " << idToString(id) << " behavior is triggered: "
-        "" << idToShortDescription(id) << "  "
-        "Run \"cmake --help-policy " << idToString(id) << "\" for "
-        "policy details.\nThis policy was introduced in CMake "
-        << idToVersion(id)
-        << " and issues a warning regardless of the policy setting.  For "
-           "third party users of this software, the command line option "
-           "-Wno-dev may be used to suppress this warning.";
-    }
-  else
-    {
-    msg <<
-      "Policy " << idToString(id) << " is not set: "
-      "" << idToShortDescription(id) << "  "
-      "Run \"cmake --help-policy " << idToString(id) << "\" for "
-      "policy details.  Use the cmake_policy command to set the policy "
-         "and suppress this warning.";
-    }
+  msg <<
+    "Policy " << idToString(id) << " is not set: "
+    "" << idToShortDescription(id) << "  "
+    "Run \"cmake --help-policy " << idToString(id) << "\" for "
+    "policy details.  "
+    "Use the cmake_policy command to set the policy "
+    "and suppress this warning.";
   return msg.str();
 }
 
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index e948caf..7bf3832 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2419,21 +2419,6 @@ bool cmake::PrintMessagePreamble(cmake::MessageType t, 
std::ostream& msg)
     {
     msg << "CMake Deprecation Warning";
     }
-  else if (t == cmake::POLICY_WARNING)
-    {
-    msg << "CMake Warning (dev)";
-    }
-  else if (t == cmake::POLICY_OPTIONAL_WARNING)
-    {
-    // Allow suppression of these warnings.
-    const char* suppress = this->State->GetCacheEntryValue(
-                                      "CMAKE_SUPPRESS_DEVELOPER_WARNINGS");
-    if(suppress && cmSystemTools::IsOn(suppress))
-      {
-      return false;
-      }
-    msg << "CMake Warning (dev)";
-    }
   else
     {
     msg << "CMake Warning";
diff --git a/Source/cmake.h b/Source/cmake.h
index 68b421e..f0f9411 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -66,9 +66,7 @@ class cmake
     WARNING,
     LOG,
     DEPRECATION_ERROR,
-    DEPRECATION_WARNING,
-    POLICY_OPTIONAL_WARNING,
-    POLICY_WARNING
+    DEPRECATION_WARNING
   };
 
 
diff --git a/Tests/RunCMake/CMP0055/CMP0055-OLD-Out-of-Scope-stderr.txt 
b/Tests/RunCMake/CMP0055/CMP0055-OLD-Out-of-Scope-stderr.txt
deleted file mode 100644
index 87a4d11..0000000
--- a/Tests/RunCMake/CMP0055/CMP0055-OLD-Out-of-Scope-stderr.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-CMake Warning \(dev\) at CMP0055-OLD-Out-of-Scope.cmake:4 \(break\):
-  Policy CMP0055 behavior is triggered: Strict checking for break\(\) command.
-  Run "cmake --help-policy CMP0055" for policy details.
-
-  This policy was introduced in CMake 3.2.0 and issues a warning regardless
-  of the policy setting.
-
-  A BREAK command was found outside of a proper FOREACH or WHILE loop scope.
-Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0055/CMP0055-OLD-Reject-Arguments-stderr.txt 
b/Tests/RunCMake/CMP0055/CMP0055-OLD-Reject-Arguments-stderr.txt
deleted file mode 100644
index 346279d..0000000
--- a/Tests/RunCMake/CMP0055/CMP0055-OLD-Reject-Arguments-stderr.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-CMake Warning \(dev\) at CMP0055-OLD-Reject-Arguments.cmake:5 \(break\):
-  Policy CMP0055 behavior is triggered: Strict checking for break\(\) command.
-  Run "cmake --help-policy CMP0055" for policy details.
-
-  This policy was introduced in CMake 3.2.0 and issues a warning regardless
-  of the policy setting.
-
-  The BREAK command does not accept any arguments.
-Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0055/CMP0055-WARN-Out-of-Scope-stderr.txt 
b/Tests/RunCMake/CMP0055/CMP0055-WARN-Out-of-Scope-stderr.txt
index 6c6e409..ad850ac 100644
--- a/Tests/RunCMake/CMP0055/CMP0055-WARN-Out-of-Scope-stderr.txt
+++ b/Tests/RunCMake/CMP0055/CMP0055-WARN-Out-of-Scope-stderr.txt
@@ -1,10 +1,9 @@
 CMake Warning \(dev\) at CMP0055-WARN-Out-of-Scope.cmake:2 \(break\):
-  Policy CMP0055 behavior is triggered: Strict checking for break\(\) command.
-  Run "cmake --help-policy CMP0055" for policy details.
-
-  This policy was introduced in CMake 3.2.0 and issues a warning regardless
-  of the policy setting.
+  Policy CMP0055 is not set: Strict checking for break\(\) command.  Run "cmake
+  --help-policy CMP0055" for policy details.  Use the cmake_policy command to
+  set the policy and suppress this warning.
 
   A BREAK command was found outside of a proper FOREACH or WHILE loop scope.
 Call Stack \(most recent call first\):
   CMakeLists.txt:3 \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0055/CMP0055-WARN-Reject-Arguments-stderr.txt 
b/Tests/RunCMake/CMP0055/CMP0055-WARN-Reject-Arguments-stderr.txt
index 3b9800d..3cc686d 100644
--- a/Tests/RunCMake/CMP0055/CMP0055-WARN-Reject-Arguments-stderr.txt
+++ b/Tests/RunCMake/CMP0055/CMP0055-WARN-Reject-Arguments-stderr.txt
@@ -1,10 +1,9 @@
 CMake Warning \(dev\) at CMP0055-WARN-Reject-Arguments.cmake:3 \(break\):
-  Policy CMP0055 behavior is triggered: Strict checking for break\(\) command.
-  Run "cmake --help-policy CMP0055" for policy details.
-
-  This policy was introduced in CMake 3.2.0 and issues a warning regardless
-  of the policy setting.
+  Policy CMP0055 is not set: Strict checking for break\(\) command.  Run "cmake
+  --help-policy CMP0055" for policy details.  Use the cmake_policy command to
+  set the policy and suppress this warning.
 
   The BREAK command does not accept any arguments.
 Call Stack \(most recent call first\):
   CMakeLists.txt:3 \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0057/CMP0057-OLD-stderr.txt 
b/Tests/RunCMake/CMP0057/CMP0057-OLD-stderr.txt
index 343cc0e..f3fad8d 100644
--- a/Tests/RunCMake/CMP0057/CMP0057-OLD-stderr.txt
+++ b/Tests/RunCMake/CMP0057/CMP0057-OLD-stderr.txt
@@ -1,16 +1,3 @@
-CMake Warning \(dev\) at CMP0057-OLD.cmake:5 \(if\):
-  Policy CMP0057 behavior is triggered: Support new IN_LIST if\(\) operator.
-  Run "cmake --help-policy CMP0057" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-
-  IN_LIST will be interpreted as an operator when the policy is set to NEW.
-  Since the policy is not set to NEW, the OLD behavior will be used.
-Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
-+
 CMake Error at CMP0057-OLD.cmake:5 \(if\):
   if given arguments:
 
diff --git a/Tests/RunCMake/CMP0057/CMP0057-WARN-stderr.txt 
b/Tests/RunCMake/CMP0057/CMP0057-WARN-stderr.txt
index 05eb8e0..b1c9b63 100644
--- a/Tests/RunCMake/CMP0057/CMP0057-WARN-stderr.txt
+++ b/Tests/RunCMake/CMP0057/CMP0057-WARN-stderr.txt
@@ -1,16 +1,14 @@
 CMake Warning \(dev\) at CMP0057-WARN.cmake:3 \(if\):
-  Policy CMP0057 behavior is triggered: Support new IN_LIST if\(\) operator.
-  Run "cmake --help-policy CMP0057" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0057 is not set: Support new IN_LIST if\(\) operator.  Run "cmake
+  --help-policy CMP0057" for policy details.  Use the cmake_policy command to
+  set the policy and suppress this warning.
 
   IN_LIST will be interpreted as an operator when the policy is set to NEW.
-  Since the policy is not set to NEW, the OLD behavior will be used.
+  Since the policy is not set the OLD behavior will be used.
 Call Stack \(most recent call first\):
   CMakeLists.txt:3 \(include\)
-+
+This warning is for project developers.  Use -Wno-dev to suppress it.
+
 CMake Error at CMP0057-WARN.cmake:3 \(if\):
   if given arguments:
 
diff --git a/Tests/RunCMake/CMP0059/CMP0059-OLD-stderr.txt 
b/Tests/RunCMake/CMP0059/CMP0059-OLD-stderr.txt
index ed16f82..e35e8c5 100644
--- a/Tests/RunCMake/CMP0059/CMP0059-OLD-stderr.txt
+++ b/Tests/RunCMake/CMP0059/CMP0059-OLD-stderr.txt
@@ -1,22 +1,2 @@
-CMake Warning \(dev\) at CMP0059-OLD.cmake:6 \(get_property\):
-  Policy CMP0059 behavior is triggered: Do no treat DEFINITIONS as a built-in
-  directory property.  Run "cmake --help-policy CMP0059" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
-+
 DEFS: -DSOME_DEF
-CMake Warning \(dev\) at CMP0059-OLD.cmake:14 \(get_property\):
-  Policy CMP0059 behavior is triggered: Do no treat DEFINITIONS as a built-in
-  directory property.  Run "cmake --help-policy CMP0059" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
-+
 CUSTOM CONTENT: -DSOME_DEF
diff --git a/Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt 
b/Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt
index 2617428..4e04d15 100644
--- a/Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt
+++ b/Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt
@@ -1,22 +1,18 @@
 CMake Warning \(dev\) at CMP0059-WARN.cmake:6 \(get_property\):
-  Policy CMP0059 behavior is triggered: Do no treat DEFINITIONS as a built-in
-  directory property.  Run "cmake --help-policy CMP0059" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory
+  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 Call Stack \(most recent call first\):
   CMakeLists.txt:3 \(include\)
-+
+This warning is for project developers.  Use -Wno-dev to suppress it.
+
 DEFS: -DSOME_DEF
 CMake Warning \(dev\) at CMP0059-WARN.cmake:14 \(get_property\):
-  Policy CMP0059 behavior is triggered: Do no treat DEFINITIONS as a built-in
-  directory property.  Run "cmake --help-policy CMP0059" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory
+  property.  Run "cmake --help-policy CMP0059" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 Call Stack \(most recent call first\):
   CMakeLists.txt:3 \(include\)
-+
+This warning is for project developers.  Use -Wno-dev to suppress it.
+
 CUSTOM CONTENT: -DSOME_DEF
diff --git a/Tests/RunCMake/CMP0060/CMP0060-WARN-ON-stderr.txt 
b/Tests/RunCMake/CMP0060/CMP0060-WARN-ON-stderr.txt
index 7b98684..f6cc978 100644
--- a/Tests/RunCMake/CMP0060/CMP0060-WARN-ON-stderr.txt
+++ b/Tests/RunCMake/CMP0060/CMP0060-WARN-ON-stderr.txt
@@ -1,11 +1,7 @@
 ^CMake Warning \(dev\) at CMP0060-Common.cmake:[0-9]+ \(add_executable\):
-  Policy CMP0060 behavior is triggered: Link libraries by full path even in
-  implicit directories.  Run "cmake --help-policy CMP0060" for policy
-  details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0060 is not set: Link libraries by full path even in implicit
+  directories.  Run "cmake --help-policy CMP0060" for policy details.  Use
+  the cmake_policy command to set the policy and suppress this warning.
 
   Some library files are in directories implicitly searched by the linker
   when invoked for C:
@@ -17,3 +13,4 @@
 Call Stack \(most recent call first\):
   CMP0060-WARN-ON.cmake:[0-9]+ \(include\)
   CMakeLists.txt:3 \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.$
diff --git a/Tests/RunCMake/Ninja/CMP0058-OLD-no-stderr.txt 
b/Tests/RunCMake/Ninja/CMP0058-OLD-no-stderr.txt
deleted file mode 100644
index 92a713d..0000000
--- a/Tests/RunCMake/Ninja/CMP0058-OLD-no-stderr.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-^CMake Warning \(dev\):
-  Policy CMP0058 behavior is triggered: Ninja requires custom command
-  byproducts to be explicit.  Run "cmake --help-policy CMP0058" for policy
-  details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-
-  This project specifies custom command DEPENDS on files in the build tree
-  that are not specified as the OUTPUT or BYPRODUCTS of any
-  add_custom_command or add_custom_target:
-
-   byproduct1a
-   byproduct1b
-
-  For compatibility with versions of CMake that did not have the BYPRODUCTS
-  option, CMake is generating phony rules for such files to convince 'ninja'
-  to build.
-
-  Project authors should add the missing BYPRODUCTS or OUTPUT options to the
-  custom commands that produce these files.
diff --git a/Tests/RunCMake/Ninja/CMP0058-WARN-no-stderr.txt 
b/Tests/RunCMake/Ninja/CMP0058-WARN-no-stderr.txt
index 92a713d..439a2d9 100644
--- a/Tests/RunCMake/Ninja/CMP0058-WARN-no-stderr.txt
+++ b/Tests/RunCMake/Ninja/CMP0058-WARN-no-stderr.txt
@@ -1,11 +1,7 @@
 ^CMake Warning \(dev\):
-  Policy CMP0058 behavior is triggered: Ninja requires custom command
-  byproducts to be explicit.  Run "cmake --help-policy CMP0058" for policy
-  details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0058 is not set: Ninja requires custom command byproducts to be
+  explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 
   This project specifies custom command DEPENDS on files in the build tree
   that are not specified as the OUTPUT or BYPRODUCTS of any
@@ -20,3 +16,4 @@
 
   Project authors should add the missing BYPRODUCTS or OUTPUT options to the
   custom commands that produce these files.
+This warning is for project developers.  Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/VisibilityPreset/CMP0063-OLD-stderr.txt 
b/Tests/RunCMake/VisibilityPreset/CMP0063-OLD-stderr.txt
deleted file mode 100644
index 76a61c4..0000000
--- a/Tests/RunCMake/VisibilityPreset/CMP0063-OLD-stderr.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-^CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ \(add_executable\):
-  Policy CMP0063 behavior is triggered: Honor visibility properties for all
-  target types.  Run "cmake --help-policy CMP0063" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-
-  Target "myexe" of type "EXECUTABLE" has the following visibility properties
-  set for CXX:
-
-    CXX_VISIBILITY_PRESET
-    VISIBILITY_INLINES_HIDDEN
-
-  For compatibility CMake is not honoring them for this target.
-Call Stack \(most recent call first\):
-  CMP0063-OLD.cmake:[0-9]+ \(include\)
-  CMakeLists.txt:[0-9]+ \(include\)
-+
-CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ \(add_library\):
-  Policy CMP0063 behavior is triggered: Honor visibility properties for all
-  target types.  Run "cmake --help-policy CMP0063" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-
-  Target "myobject" of type "OBJECT_LIBRARY" has the following visibility
-  properties set for CXX:
-
-    CXX_VISIBILITY_PRESET
-    VISIBILITY_INLINES_HIDDEN
-
-  For compatibility CMake is not honoring them for this target.
-Call Stack \(most recent call first\):
-  CMP0063-OLD.cmake:[0-9]+ \(include\)
-  CMakeLists.txt:[0-9]+ \(include\)
-+
-CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ \(add_library\):
-  Policy CMP0063 behavior is triggered: Honor visibility properties for all
-  target types.  Run "cmake --help-policy CMP0063" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-
-  Target "mystatic" of type "STATIC_LIBRARY" has the following visibility
-  properties set for CXX:
-
-    CXX_VISIBILITY_PRESET
-    VISIBILITY_INLINES_HIDDEN
-
-  For compatibility CMake is not honoring them for this target.
-Call Stack \(most recent call first\):
-  CMP0063-OLD.cmake:[0-9]+ \(include\)
-  CMakeLists.txt:[0-9]+ \(include\)$
diff --git a/Tests/RunCMake/VisibilityPreset/CMP0063-OLD.cmake 
b/Tests/RunCMake/VisibilityPreset/CMP0063-OLD.cmake
index 3507a6f..8378209 100644
--- a/Tests/RunCMake/VisibilityPreset/CMP0063-OLD.cmake
+++ b/Tests/RunCMake/VisibilityPreset/CMP0063-OLD.cmake
@@ -1,7 +1,7 @@
 cmake_policy(SET CMP0063 OLD)
 enable_language(CXX)
 
-# Ensure CMake warns even if toolchain does not really have these flags.
+# Ensure CMake would warn even if toolchain does not really have these flags.
 set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN 
"-fvisibility-inlines-hidden")
 set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
 
diff --git a/Tests/RunCMake/VisibilityPreset/CMP0063-WARN-yes-stderr.txt 
b/Tests/RunCMake/VisibilityPreset/CMP0063-WARN-yes-stderr.txt
index 3b61ec2..59a4b8f 100644
--- a/Tests/RunCMake/VisibilityPreset/CMP0063-WARN-yes-stderr.txt
+++ b/Tests/RunCMake/VisibilityPreset/CMP0063-WARN-yes-stderr.txt
@@ -1,10 +1,7 @@
 ^CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ \(add_executable\):
-  Policy CMP0063 behavior is triggered: Honor visibility properties for all
-  target types.  Run "cmake --help-policy CMP0063" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0063 is not set: Honor visibility properties for all target
+  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 
   Target "myexe" of type "EXECUTABLE" has the following visibility properties
   set for CXX:
@@ -16,14 +13,12 @@
 Call Stack \(most recent call first\):
   CMP0063-WARN-yes.cmake:[0-9]+ \(include\)
   CMakeLists.txt:[0-9]+ \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.
 +
 CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ \(add_library\):
-  Policy CMP0063 behavior is triggered: Honor visibility properties for all
-  target types.  Run "cmake --help-policy CMP0063" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0063 is not set: Honor visibility properties for all target
+  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 
   Target "myobject" of type "OBJECT_LIBRARY" has the following visibility
   properties set for CXX:
@@ -35,14 +30,12 @@ CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ 
\(add_library\):
 Call Stack \(most recent call first\):
   CMP0063-WARN-yes.cmake:[0-9]+ \(include\)
   CMakeLists.txt:[0-9]+ \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.
 +
 CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ \(add_library\):
-  Policy CMP0063 behavior is triggered: Honor visibility properties for all
-  target types.  Run "cmake --help-policy CMP0063" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0063 is not set: Honor visibility properties for all target
+  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 
   Target "mystatic" of type "STATIC_LIBRARY" has the following visibility
   properties set for CXX:
@@ -53,4 +46,5 @@ CMake Warning \(dev\) at CMP0063-Common.cmake:[0-9]+ 
\(add_library\):
   For compatibility CMake is not honoring them for this target.
 Call Stack \(most recent call first\):
   CMP0063-WARN-yes.cmake:[0-9]+ \(include\)
-  CMakeLists.txt:[0-9]+ \(include\)$
+  CMakeLists.txt:[0-9]+ \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.$
diff --git a/Tests/RunCMake/install/CMP0062-OLD-stderr.txt 
b/Tests/RunCMake/install/CMP0062-OLD-stderr.txt
deleted file mode 100644
index 5c65ae9..0000000
--- a/Tests/RunCMake/install/CMP0062-OLD-stderr.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-CMake Warning \(dev\) at CMP0062-OLD.cmake:[0-9]+ \(install\):
-  Policy CMP0062 behavior is triggered: Disallow install\(\) of export\(\)
-  result.  Run "cmake --help-policy CMP0062" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
-
-  The file
-
-    .*Tests/RunCMake/install/CMP0062-OLD-build/exported.cmake
-
-  was generated by the export\(\) command.  It should not be installed with the
-  install\(\) command.  Use the install\(EXPORT\) mechanism instead.  See the
-  cmake-packages\(7\) manual for more.
-
-Call Stack \(most recent call first\):
-  CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/install/CMP0062-WARN-stderr.txt 
b/Tests/RunCMake/install/CMP0062-WARN-stderr.txt
index 62f6719..12ae745 100644
--- a/Tests/RunCMake/install/CMP0062-WARN-stderr.txt
+++ b/Tests/RunCMake/install/CMP0062-WARN-stderr.txt
@@ -1,10 +1,7 @@
 CMake Warning \(dev\) at CMP0062-WARN.cmake:[0-9]+ \(install\):
-  Policy CMP0062 behavior is triggered: Disallow install\(\) of export\(\)
-  result.  Run "cmake --help-policy CMP0062" for policy details.
-
-  This policy was introduced in CMake 3.3.0 and issues a warning regardless
-  of the policy setting.  For third party users of this software, the command
-  line option -Wno-dev may be used to suppress this warning.
+  Policy CMP0062 is not set: Disallow install\(\) of export\(\) result.  Run
+  "cmake --help-policy CMP0062" for policy details.  Use the cmake_policy
+  command to set the policy and suppress this warning.
 
   The file
 
@@ -16,3 +13,4 @@ CMake Warning \(dev\) at CMP0062-WARN.cmake:[0-9]+ 
\(install\):
 
 Call Stack \(most recent call first\):
   CMakeLists.txt:[0-9]+ \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/try_compile/CMP0056-stderr.txt 
b/Tests/RunCMake/try_compile/CMP0056-stderr.txt
index 5ad1f33..5c1f0e4 100644
--- a/Tests/RunCMake/try_compile/CMP0056-stderr.txt
+++ b/Tests/RunCMake/try_compile/CMP0056-stderr.txt
@@ -2,27 +2,12 @@ before try_compile with CMP0056 WARN-default
 after try_compile with CMP0056 WARN-default
 *
 CMake Warning \(dev\) at CMP0056.cmake:[0-9]+ \(try_compile\):
-  Policy CMP0056 behavior is triggered: Honor link flags in try_compile\(\)
-  source-file signature.  Run "cmake --help-policy CMP0056" for policy
-  details.
-
-  This policy was introduced in CMake 3.2.0 and issues a warning regardless
-  of the policy setting.
+  Policy CMP0056 is not set: Honor link flags in try_compile\(\) source-file
+  signature.  Run "cmake --help-policy CMP0056" for policy details.  Use the
+  cmake_policy command to set the policy and suppress this warning.
 
   For compatibility with older versions of CMake, try_compile is not honoring
   caller link flags \(e.g.  CMAKE_EXE_LINKER_FLAGS\) in the test project.
 Call Stack \(most recent call first\):
   CMakeLists.txt:[0-9]+ \(include\)
-+
-CMake Warning \(dev\) at CMP0056.cmake:[0-9]+ \(try_compile\):
-  Policy CMP0056 behavior is triggered: Honor link flags in try_compile\(\)
-  source-file signature.  Run "cmake --help-policy CMP0056" for policy
-  details.
-
-  This policy was introduced in CMake 3.2.0 and issues a warning regardless
-  of the policy setting.
-
-  For compatibility with older versions of CMake, try_compile is not honoring
-  caller link flags \(e.g.  CMAKE_EXE_LINKER_FLAGS\) in the test project.
-Call Stack \(most recent call first\):
-  CMakeLists.txt:[0-9]+ \(include\)$
+This warning is for project developers.  Use -Wno-dev to suppress it.$

-----------------------------------------------------------------------

Summary of changes:
 Help/manual/cmake-policies.7.rst                   |   36 +------------
 Source/cmBreakCommand.cxx                          |   38 ++++++++-----
 Source/cmComputeLinkInformation.cxx                |    4 +-
 Source/cmConditionEvaluator.cxx                    |   21 ++++----
 Source/cmCoreTryCompile.cxx                        |    5 +-
 Source/cmGetDirectoryPropertyCommand.cxx           |    4 +-
 Source/cmGetPropertyCommand.cxx                    |    4 +-
 Source/cmGlobalNinjaGenerator.cxx                  |    5 +-
 Source/cmInstallCommand.cxx                        |    4 +-
 Source/cmLocalGenerator.cxx                        |    4 +-
 Source/cmMakefile.cxx                              |   12 +++--
 Source/cmPolicies.cxx                              |   52 +++---------------
 Source/cmake.cxx                                   |   15 ------
 Source/cmake.h                                     |    4 +-
 .../CMP0055/CMP0055-OLD-Out-of-Scope-stderr.txt    |   10 ----
 .../CMP0055-OLD-Reject-Arguments-stderr.txt        |   10 ----
 .../CMP0055/CMP0055-WARN-Out-of-Scope-stderr.txt   |    9 ++--
 .../CMP0055-WARN-Reject-Arguments-stderr.txt       |    9 ++--
 Tests/RunCMake/CMP0057/CMP0057-OLD-stderr.txt      |   13 -----
 Tests/RunCMake/CMP0057/CMP0057-WARN-stderr.txt     |   14 +++--
 Tests/RunCMake/CMP0059/CMP0059-OLD-stderr.txt      |   20 -------
 Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt     |   24 ++++-----
 Tests/RunCMake/CMP0060/CMP0060-WARN-ON-stderr.txt  |   11 ++--
 Tests/RunCMake/Ninja/CMP0058-OLD-no-stderr.txt     |   22 --------
 Tests/RunCMake/Ninja/CMP0058-WARN-no-stderr.txt    |   11 ++--
 .../VisibilityPreset/CMP0063-OLD-stderr.txt        |   56 --------------------
 Tests/RunCMake/VisibilityPreset/CMP0063-OLD.cmake  |    2 +-
 .../VisibilityPreset/CMP0063-WARN-yes-stderr.txt   |   32 +++++------
 Tests/RunCMake/install/CMP0062-OLD-stderr.txt      |   18 -------
 Tests/RunCMake/install/CMP0062-WARN-stderr.txt     |   10 ++--
 Tests/RunCMake/try_compile/CMP0056-stderr.txt      |   23 ++------
 31 files changed, 121 insertions(+), 381 deletions(-)
 delete mode 100644 Tests/RunCMake/CMP0055/CMP0055-OLD-Out-of-Scope-stderr.txt
 delete mode 100644 
Tests/RunCMake/CMP0055/CMP0055-OLD-Reject-Arguments-stderr.txt
 delete mode 100644 Tests/RunCMake/Ninja/CMP0058-OLD-no-stderr.txt
 delete mode 100644 Tests/RunCMake/VisibilityPreset/CMP0063-OLD-stderr.txt
 delete mode 100644 Tests/RunCMake/install/CMP0062-OLD-stderr.txt


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to