W3cubDocs

/CMake 3.31

CMAKE_ENABLE_EXPORTS

Added in version 3.4.

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 has been superseded by the CMAKE_EXECUTABLE_ENABLE_EXPORTS variable. It is provided for backward compatibility with older CMake code, but should not be used in new projects.

© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.31/variable/CMAKE_ENABLE_EXPORTS.html