[Cmake-commits] CMake branch, next, updated. v3.2.2-2749-gd323bfa

Stephen Kelly steveire at gmail.com
Thu May 14 15:38:20 EDT 2015


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  d323bfaf8284f2b16474fb3794b23b3b57e5b653 (commit)
       via  5c2524334f83eab94d73dd10dc630f71a6892592 (commit)
       via  8d55f802870a31cc053fe55a5ec0ea630c1b647f (commit)
      from  227ca70895241d98aa6a5bc480290968692ad8c4 (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=d323bfaf8284f2b16474fb3794b23b3b57e5b653
commit d323bfaf8284f2b16474fb3794b23b3b57e5b653
Merge: 227ca70 5c25243
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu May 14 15:38:19 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu May 14 15:38:19 2015 -0400

    Merge topic 'disallow-install-of-export' into next
    
    5c252433 fixup! install: Disallow installing export() result.
    8d55f802 fixup! install: Disallow installing export() result.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5c2524334f83eab94d73dd10dc630f71a6892592
commit 5c2524334f83eab94d73dd10dc630f71a6892592
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu May 14 21:31:51 2015 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Thu May 14 21:33:56 2015 +0200

    fixup! install: Disallow installing export() result.

diff --git a/Help/release/dev/disallow-install-of-export.rst b/Help/release/dev/disallow-install-of-export.rst
new file mode 100644
index 0000000..baee26d
--- /dev/null
+++ b/Help/release/dev/disallow-install-of-export.rst
@@ -0,0 +1,5 @@
+disallow-install-of-export
+--------------------------
+
+* Using the output of :command:`export()` with the :command:`install(FILES)`
+  command is no longer allowed.  See policy :policy:`CMP0062` for details.

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8d55f802870a31cc053fe55a5ec0ea630c1b647f
commit 8d55f802870a31cc053fe55a5ec0ea630c1b647f
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu May 14 21:29:55 2015 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Thu May 14 21:33:56 2015 +0200

    fixup! install: Disallow installing export() result.

diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 7df4ee2..eb56494 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -213,7 +213,7 @@ class cmPolicy;
     "CTest does not by default tell make to ignore errors (-i).", \
     3, 3, 0, cmPolicies::WARN) \
   SELECT(POLICY, CMP0062, \
-    "Disallow install() of export() result", \
+    "Disallow install() of export() result.", \
     3, 3, 0, cmPolicies::WARN)
 
 #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
diff --git a/Tests/RunCMake/install/CMP0062-WARN-stderr.txt b/Tests/RunCMake/install/CMP0062-WARN-stderr.txt
index 64e3c81..12ae745 100644
--- a/Tests/RunCMake/install/CMP0062-WARN-stderr.txt
+++ b/Tests/RunCMake/install/CMP0062-WARN-stderr.txt
@@ -1,7 +1,7 @@
 CMake Warning \(dev\) at CMP0062-WARN.cmake:[0-9]+ \(install\):
-  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.
+  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
 

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

Summary of changes:
 Help/release/dev/disallow-install-of-export.rst |    5 +++++
 Source/cmPolicies.h                             |    2 +-
 Tests/RunCMake/install/CMP0062-WARN-stderr.txt  |    6 +++---
 3 files changed, 9 insertions(+), 4 deletions(-)
 create mode 100644 Help/release/dev/disallow-install-of-export.rst


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list