[Cmake-commits] CMake branch, next, updated. v2.8.12.1-6830-gd27d193

Stephen Kelly steveire at gmail.com
Wed Jan 8 07:42:22 EST 2014


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  d27d193dae931d1c6e84d344418e52f05378f146 (commit)
       via  28ffb7e0bed9d2bf3547f1c86032fe410f54a3bf (commit)
      from  fb30e0124b292ca9bb384dfede534ac5eb9cbd5c (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=d27d193dae931d1c6e84d344418e52f05378f146
commit d27d193dae931d1c6e84d344418e52f05378f146
Merge: fb30e01 28ffb7e
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Jan 8 07:42:21 2014 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jan 8 07:42:21 2014 -0500

    Merge topic 'cmp0022-docs' into next
    
    28ffb7e Note how to write CMP0022 compatible code with CMake 2.8.9.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=28ffb7e0bed9d2bf3547f1c86032fe410f54a3bf
commit 28ffb7e0bed9d2bf3547f1c86032fe410f54a3bf
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Jan 8 13:41:24 2014 +0100
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Wed Jan 8 13:41:24 2014 +0100

    Note how to write CMP0022 compatible code with CMake 2.8.9.
    
    This has come up on the mailing list, and various other places.

diff --git a/Help/policy/CMP0022.rst b/Help/policy/CMP0022.rst
index d068c55..16a5bc3 100644
--- a/Help/policy/CMP0022.rst
+++ b/Help/policy/CMP0022.rst
@@ -22,6 +22,10 @@ downstream users of CMake versions older than 2.8.12.  The
 target_link_libraries command will no longer populate the properties
 matching LINK_INTERFACE_LIBRARIES(_<CONFIG>)? if this policy is NEW.
 
+Warning-free future-compatible code which works with CMake 2.8.9 onwards
+can be written by using the ``LINK_PRIVATE`` and ``LINK_PUBLIC`` keywords
+of :command:`target_link_libraries`.
+
 The OLD behavior for this policy is to ignore the
 INTERFACE_LINK_LIBRARIES property for in-build targets.  The NEW
 behavior for this policy is to use the INTERFACE_LINK_LIBRARIES

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

Summary of changes:
 Help/policy/CMP0022.rst |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list