diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2018-08-09 14:29:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-09 16:54:16 (GMT) |
commit | 6b17d85873faf0c094c4287e1dd690fcdcbbb2c7 (patch) | |
tree | 221f46a514667ad3950c866155a292626a00a804 /Help/prop_tgt/LINK_FLAGS.rst | |
parent | 9561d42f95b519386c5f8f84d8ae59a6b8deb429 (diff) | |
download | CMake-6b17d85873faf0c094c4287e1dd690fcdcbbb2c7.zip CMake-6b17d85873faf0c094c4287e1dd690fcdcbbb2c7.tar.gz CMake-6b17d85873faf0c094c4287e1dd690fcdcbbb2c7.tar.bz2 |
Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are used
Diffstat (limited to 'Help/prop_tgt/LINK_FLAGS.rst')
-rw-r--r-- | Help/prop_tgt/LINK_FLAGS.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/prop_tgt/LINK_FLAGS.rst b/Help/prop_tgt/LINK_FLAGS.rst index e0b72b5..3a344e6 100644 --- a/Help/prop_tgt/LINK_FLAGS.rst +++ b/Help/prop_tgt/LINK_FLAGS.rst @@ -1,7 +1,9 @@ LINK_FLAGS ---------- -Additional flags to use when linking this target. +Additional flags to use when linking this target if it is a shared library, +module library, or an executable. Static libraries need to use +:prop_tgt:`STATIC_LIBRARY_FLAGS`. The LINK_FLAGS property, managed as a string, can be used to add extra flags to the link step of a target. :prop_tgt:`LINK_FLAGS_<CONFIG>` will add to the |