Navigation

  • index
  • next |
  • previous |
  • CMake »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_LINK_DEF_FILE_FLAG

CMAKE_LINK_DEF_FILE_FLAGΒΆ

Linker flag to be used to specify a .def file for dll creation.

The flag will be used to add a .def file when creating a dll on Windows; this is only defined on Windows.

CMake sets this variable automatically during toolchain inspection by calls to the project() or enable_language() commands.

If the per-language CMAKE_<LANG>_LINK_DEF_FILE_FLAG variable is defined, it takes precedence over CMAKE_LINK_DEF_FILE_FLAG.

Previous topic

CMAKE_LIBRARY_PATH_FLAG

Next topic

CMAKE_LINK_DEPENDS_NO_SHARED

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • previous |
  • CMake »
  • Documentation »
  • cmake-variables(7) »
  • CMAKE_LINK_DEF_FILE_FLAG
© Copyright 2000-2025 Kitware, Inc. and Contributors. Created using Sphinx 8.1.3.