summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2018-08-09 14:29:38 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-09 16:54:16 (GMT)
commit6b17d85873faf0c094c4287e1dd690fcdcbbb2c7 (patch)
tree221f46a514667ad3950c866155a292626a00a804 /Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
parent9561d42f95b519386c5f8f84d8ae59a6b8deb429 (diff)
downloadCMake-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/STATIC_LIBRARY_FLAGS.rst')
-rw-r--r--Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst b/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
index d3b2cd4..c91b1ae 100644
--- a/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
+++ b/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
@@ -1,6 +1,12 @@
STATIC_LIBRARY_FLAGS
--------------------
-Extra flags to use when linking static libraries.
+Archiver (or MSVC librarian) flags for a static library target.
+Targets that are shared libraries, modules, or executables can use
+the :prop_tgt:`LINK_OPTIONS` or :prop_tgt:`LINK_FLAGS` target property.
-Extra flags to use when linking a static library.
+The STATIC_LIBRARY_FLAGS property, managed as a string, can be used to add
+extra flags to the link step of a static library target.
+:prop_tgt:`STATIC_LIBRARY_FLAGS_<CONFIG>` will add to the configuration
+``<CONFIG>``, for example, ``DEBUG``, ``RELEASE``, ``MINSIZEREL``,
+``RELWITHDEBINFO``, ...