https://github.com/Kitware/CMake
Raw File
Tip revision: 5676593be9bd3a26995f35b9db8fe5b9af8ea32e authored by Brad King on 30 November 2022, 13:57:03 UTC
CMake 3.25.1
Tip revision: 5676593
CMAKE_STATIC_LINKER_FLAGS.rst
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.
back to top