CMAKE_STATIC_LINKER_FLAGS_INIT.rst 469 B

1234567891011
  1. CMAKE_STATIC_LINKER_FLAGS_INIT
  2. ------------------------------
  3. Value used to initialize the :variable:`CMAKE_STATIC_LINKER_FLAGS`
  4. cache entry the first time a build tree is configured.
  5. This variable is meant to be set by a :variable:`toolchain file
  6. <CMAKE_TOOLCHAIN_FILE>`. CMake may prepend or append content to
  7. the value based on the environment and target platform.
  8. See also the configuration-specific variable
  9. :variable:`CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT`.