cmake/Help/variable/CMAKE_ENABLE_EXPORTS.rst

16 lines
558 B
ReStructuredText
Raw Normal View History

2015-11-17 17:22:37 +01:00
CMAKE_ENABLE_EXPORTS
--------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.4
2020-02-01 23:06:01 +01:00
Specify whether executables export symbols for loadable modules.
2015-11-17 17:22:37 +01:00
2020-02-01 23:06:01 +01:00
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.
2023-07-02 19:51:09 +02:00
2023-08-11 12:02:15 +02:00
This variable has been superseded by the
:variable:`CMAKE_EXECUTABLE_ENABLE_EXPORTS` variable. It is provided for
backward compatibility with older CMake code, but should not be used in new
projects.