[Cmake-commits] CMake branch, next, updated. v3.6.2-2686-g3e92ad3

Brad King brad.king at kitware.com
Mon Oct 3 08:55:59 EDT 2016


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  3e92ad333b98fbc21a222aad966b3e5f2e653670 (commit)
       via  07bb27240fa3971c9944a9d461382eb7074358da (commit)
      from  91e2236d803f28c3de15b6387b388abd5c3055e8 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3e92ad333b98fbc21a222aad966b3e5f2e653670
commit 3e92ad333b98fbc21a222aad966b3e5f2e653670
Merge: 91e2236 07bb272
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Oct 3 08:55:58 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Oct 3 08:55:58 2016 -0400

    Merge topic 'doc-target_link_libraries-flags' into next
    
    07bb2724 Help: Clarify treatment of link flags in target_link_libraries


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=07bb27240fa3971c9944a9d461382eb7074358da
commit 07bb27240fa3971c9944a9d461382eb7074358da
Author:     John Beard <john.j.beard at gmail.com>
AuthorDate: Fri Sep 30 14:53:52 2016 +0800
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Oct 3 08:53:43 2016 -0400

    Help: Clarify treatment of link flags in target_link_libraries

diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index d903d05..90b6575 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -62,6 +62,12 @@ Each ``<item>`` may be:
   dependencies, so they are generally safe to specify only as private link
   items that will not propagate to dependents.
 
+  Link flags specified here are inserted into the link command in the same
+  place as the link libraries. This might not be correct, depending on
+  the linker. Use the :prop_tgt:`LINK_FLAGS` target property to add link
+  flags explicitly. The flags will then be placed at the toolchain-defined
+  flag position in the link command.
+
 * A ``debug``, ``optimized``, or ``general`` keyword immediately followed
   by another ``<item>``.  The item following such a keyword will be used
   only for the corresponding build configuration.  The ``debug`` keyword

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

Summary of changes:
 Help/command/target_link_libraries.rst |    6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list