[Cmake-commits] CMake branch, next, updated. v3.0.0-4551-g53ecb02

Brad King brad.king at kitware.com
Mon Jul 28 12:45:23 EDT 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  53ecb02357acb3e5b520aa400d1205e8d823b957 (commit)
       via  8c03f157765256113928edb5e58ef3a5cf82125c (commit)
      from  32adeae6c4c1edae5087c0a7ddb833f65aa79de8 (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=53ecb02357acb3e5b520aa400d1205e8d823b957
commit 53ecb02357acb3e5b520aa400d1205e8d823b957
Merge: 32adeae 8c03f15
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Jul 28 12:45:22 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jul 28 12:45:22 2014 -0400

    Merge topic 'doc-tll-flags' into next
    
    8c03f157 Help: Clarify target_link_libraries treatment of flags (#15034)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c03f157765256113928edb5e58ef3a5cf82125c
commit 8c03f157765256113928edb5e58ef3a5cf82125c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Jul 28 12:45:06 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Jul 28 12:45:06 2014 -0400

    Help: Clarify target_link_libraries treatment of flags (#15034)
    
    Explain that link flags should not be used in transitive contexts.

diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index bced169..39537a7 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -18,7 +18,10 @@ If a library name matches that of another target in the project a
 dependency will automatically be added in the build system to make sure
 the library being linked is up-to-date before the target links. Item names
 starting with ``-``, but not ``-l`` or ``-framework``, are treated as
-linker flags.
+linker flags.  Note that such flags will be treated like any other library
+link item for purposes of transitive dependencies, so they are generally
+safe to specify only as private link items that will not propagate to
+dependents of ``<target>``.
 
 A ``debug``, ``optimized``, or ``general`` keyword indicates that the
 library immediately following it is to be used only for the

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

Summary of changes:
 Help/command/target_link_libraries.rst |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list