summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-13 14:56:59 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-03-13 14:57:08 (GMT)
commitb7c78e15922d92978acf9374742fe31be74e3e8d (patch)
treea30fdc98bc7eb7308f53a02708c53e4e5df97de6 /Help/command
parent00bc49174084a82d9383071a951a38b6a82ffa84 (diff)
parent3a739d4dcb460a2c23b78649d477f6a91b825de6 (diff)
downloadCMake-b7c78e15922d92978acf9374742fe31be74e3e8d.zip
CMake-b7c78e15922d92978acf9374742fe31be74e3e8d.tar.gz
CMake-b7c78e15922d92978acf9374742fe31be74e3e8d.tar.bz2
Merge topic 'export-find_dependency-calls'
3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9336
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/export.rst8
-rw-r--r--Help/command/install.rst4
2 files changed, 10 insertions, 2 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
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 674b770..6da077e 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -853,7 +853,9 @@ Signatures
targets in the export set will support being imported in consuming targets.
``EXPORT_PACKAGE_DEPENDENCIES``
- .. versionadded:: 3.29
+ .. note::
+
+ Experimental. Gated by ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_DEPENDENCIES``.
Specify that :command:`find_dependency` calls should be exported. If this
argument is specified, CMake examines all targets in the export set and