Files
CMake/Help/variable/CMAKE_EXECUTABLE_ENABLE_EXPORTS.rst
Peter Kokot 33d9146472 CMAKE_ENABLE_EXPORTS: Deprecate variable
This makes it more clear which variable should be used.

Fixes #27357
2025-11-04 20:07:39 +01:00

18 lines
536 B
ReStructuredText

CMAKE_EXECUTABLE_ENABLE_EXPORTS
-------------------------------
.. versionadded:: 3.27
Specify whether executables export symbols for loadable modules.
This variable is used to initialize the :prop_tgt:`ENABLE_EXPORTS` target
property for executable targets when they are created by calls to the
:command:`add_executable` command. See the property documentation for details.
This variable supersedes the :variable:`CMAKE_ENABLE_EXPORTS` variable.
See Also
^^^^^^^^
* The :variable:`CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS` variable.