summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst
blob: 1a810ce14cbc053aaeaf216dc7c13eebb4a89267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CMAKE_STATIC_LINKER_FLAGS
-------------------------

Flags to be used to create static libraries.  These flags will be passed
to the archiver when creating a static library.

See also :variable:`CMAKE_STATIC_LINKER_FLAGS_<CONFIG>`.

.. note::
  Static libraries do not actually link.  They are essentially archives
  of object files.  The use of the name "linker" in the name of this
  variable is kept for compatibility.