Commit 5cdeb661 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'doc-target_link_libraries-flags'

07bb2724 Help: Clarify treatment of link flags in target_link_libraries
parents bed8d6b8 07bb2724
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment