LDFLAGS.rst 506 B

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