CMAKE_ENABLE_EXPORTS

From Get docs
Cmake/docs/3.21/variable/cmake enable exports


CMAKE_ENABLE_EXPORTS

New 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.

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