summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_STATIC_LINKER_FLAGS_INIT.rst
blob: cbf681c51000210f9421165b1ed21d54081ef006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CMAKE_STATIC_LINKER_FLAGS_INIT
------------------------------

.. versionadded:: 3.7

Value used to initialize the :variable:`CMAKE_STATIC_LINKER_FLAGS`
cache entry the first time a build tree is configured.
This variable is meant to be set by a :variable:`toolchain file
<CMAKE_TOOLCHAIN_FILE>`.  CMake may prepend or append content to
the value based on the environment and target platform.

See also the configuration-specific variable
:variable:`CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT`.