summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS.rst
blob: 3e2c6df8f79f45ec3ba027055a67b1575dabca74 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS
-----------------------------------

.. versionadded:: 3.27

Specify whether shared library generates an import file.

This variable is used to initialize the :prop_tgt:`ENABLE_EXPORTS` target
property for shared library targets when they are created by calls to the
:command:`add_library` command.  See the property documentation for details.