diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-08-15 13:20:18 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2018-08-15 13:20:18 (GMT) |
commit | 974de0e19932d27576a5c7661905f75b2b8daaa9 (patch) | |
tree | 4d66d41907b6425c789e8b4fce64e52290817e0e /Help/prop_tgt/LINK_FLAGS.rst | |
parent | 349f8bfb25349892fb2c4e5a9942e4bd63f86f49 (diff) | |
download | CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.zip CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.gz CMake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.bz2 |
static library: add property STATIC_LIBRARY_OPTIONS
issue: #18251
Diffstat (limited to 'Help/prop_tgt/LINK_FLAGS.rst')
-rw-r--r-- | Help/prop_tgt/LINK_FLAGS.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/prop_tgt/LINK_FLAGS.rst b/Help/prop_tgt/LINK_FLAGS.rst index 3a344e6..92cd3c0 100644 --- a/Help/prop_tgt/LINK_FLAGS.rst +++ b/Help/prop_tgt/LINK_FLAGS.rst @@ -3,11 +3,12 @@ LINK_FLAGS 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`. +:prop_tgt:`STATIC_LIBRARY_OPTIONS` or :prop_tgt:`STATIC_LIBRARY_FLAGS` +properties. -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 -configuration ``<CONFIG>``, for example, ``DEBUG``, ``RELEASE``, +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 configuration ``<CONFIG>``, for example, ``DEBUG``, ``RELEASE``, ``MINSIZEREL``, ``RELWITHDEBINFO``, ... .. note:: |