diff options
author | Brad King <brad.king@kitware.com> | 2024-03-12 17:12:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-12 18:24:53 (GMT) |
commit | 3a739d4dcb460a2c23b78649d477f6a91b825de6 (patch) | |
tree | 11a6ef1016e5ed68adf60426c0d8ce35d5ffd07b /Help/command/export.rst | |
parent | 3677b2d916fb8d3ba5ff4eac0115f905b9727f9d (diff) | |
download | CMake-3a739d4dcb460a2c23b78649d477f6a91b825de6.zip CMake-3a739d4dcb460a2c23b78649d477f6a91b825de6.tar.gz CMake-3a739d4dcb460a2c23b78649d477f6a91b825de6.tar.bz2 |
EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate
Some design concerns have been raised after trying the 3.29 release
candidates. Avoid committing to a stable public interface for now.
Issue: #25767
Diffstat (limited to 'Help/command/export.rst')
-rw-r--r-- | Help/command/export.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Help/command/export.rst b/Help/command/export.rst index f190df7..349522e 100644 --- a/Help/command/export.rst +++ b/Help/command/export.rst @@ -120,7 +120,9 @@ associated with the export ``<export-name>`` using the ``EXPORT`` option of the :command:`install(TARGETS)` command. ``EXPORT_PACKAGE_DEPENDENCIES`` - .. versionadded:: 3.29 + .. note:: + + Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_DEPENDENCIES``. Specify that :command:`find_dependency` calls should be exported. See :command:`install(EXPORT)` for details on how this works. @@ -180,6 +182,10 @@ Configuring Exports Configure the parameters of an export. The arguments are as follows: ``PACKAGE_DEPENDENCY <dep>`` + .. note:: + + Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_DEPENDENCIES``. + Specify a package dependency to configure. This changes how :command:`find_dependency` calls are written during :command:`export(EXPORT)` and :command:`install(EXPORT)`. ``<dep>`` is the |