summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_ENABLE_EXPORTS.rst
blob: 9f43de3facb62196b544bfa525a8c3367214fa26 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_ENABLE_EXPORTS
--------------------

.. versionadded:: 3.4

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.