CMAKE_EXECUTABLE_ENABLE_EXPORTS
Added in version 3.27.
Specify whether executables export symbols for loadable modules.
This variable is used to initialize the ENABLE_EXPORTS target property for executable targets when they are created by calls to the add_executable() command. See the property documentation for details.
This variable supersedes the CMAKE_ENABLE_EXPORTS variable.
See Also
- The
CMAKE_SHARED_LIBRARY_ENABLE_EXPORTSvariable.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_EXECUTABLE_ENABLE_EXPORTS.html