LDFLAGS.rst 522 B

1234567891011121314
  1. LDFLAGS
  2. -------
  3. .. versionadded:: 3.10
  4. .. include:: ENV_VAR.txt
  5. Will only be used by CMake on the first configuration to determine the default
  6. linker flags, after which the value for ``LDFLAGS`` is stored in the cache
  7. as :variable:`CMAKE_EXE_LINKER_FLAGS_INIT`,
  8. :variable:`CMAKE_SHARED_LINKER_FLAGS_INIT`, and
  9. :variable:`CMAKE_MODULE_LINKER_FLAGS_INIT`. For any configuration run
  10. (including the first), the environment variable will be ignored if the
  11. equivalent ``CMAKE_<TYPE>_LINKER_FLAGS_INIT`` variable is defined.