Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
07bb2724
Commit
07bb2724
authored
Sep 30, 2016
by
John Beard
Committed by
Brad King
Oct 03, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help: Clarify treatment of link flags in target_link_libraries
parent
7246e0c2
Pipeline
#28890
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Help/command/target_link_libraries.rst
Help/command/target_link_libraries.rst
+6
-0
No files found.
Help/command/target_link_libraries.rst
View file @
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
...
...
Brad King
@brad.king
Mentioned in commit
5cdeb661
·
Oct 03, 2016
Mentioned in commit
5cdeb661
Mentioned in commit 5cdeb661ea3d6a66128ddec45ef0701730755eac
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment