CMAKE_ENABLE_EXPORTS.rst 507 B

1234567891011121314
  1. CMAKE_ENABLE_EXPORTS
  2. --------------------
  3. .. versionadded:: 3.4
  4. Specify whether executables export symbols for loadable modules.
  5. This variable is used to initialize the :prop_tgt:`ENABLE_EXPORTS` target
  6. property for executable targets when they are created by calls to the
  7. :command:`add_executable` command. See the property documentation for details.
  8. This command has been superseded by the
  9. :variable:`CMAKE_EXECUTABLE_ENABLE_EXPORTS` command. It is provided for
  10. compatibility with older CMake code.