Back to Cmake

CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT

Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT.rst

4.3.2473 B
Original Source

CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT

.. versionadded:: 3.7

Value used to initialize the :variable:CMAKE_STATIC_LINKER_FLAGS_<CONFIG> 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 :variable:CMAKE_STATIC_LINKER_FLAGS_INIT.