CMAKE_EXECUTABLE_ENABLE_EXPORTSΒΆ

New 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 supersede the CMAKE_ENABLE_EXPORTS variable.