summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-10-02 15:55:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-10-02 15:55:38 (GMT)
commit8735cbba5da527ac4ae98ca74b8a0d896b275827 (patch)
tree87e720d7f9fd3f8378a44efa087ddcdf41755b55 /Help/command
parent0cafd637f6eb8fa638262f7760344efe05c70e31 (diff)
parent437280b1273cf80287639ef4d6a0a9266e23c2b1 (diff)
downloadCMake-8735cbba5da527ac4ae98ca74b8a0d896b275827.zip
CMake-8735cbba5da527ac4ae98ca74b8a0d896b275827.tar.gz
CMake-8735cbba5da527ac4ae98ca74b8a0d896b275827.tar.bz2
Merge topic 'cxxmodules-no-longer-experimental'
437280b127 cxxmodules: scan C++ sources for imports by default 3cddd11649 Ninja: message about not compiled sources explicitly 068fde1c34 cmGeneratorTarget: use `this->` for method calls 197a6bf171 cxxmodules: rework control logic for scanning regular C++ sources 5eb7bd641a Tests/RunCMake/CXXModules: remove rules file requirement ff18acc301 CXXModules: remove `EXPERIMENTAL` from C++ module variable names 0c07f39006 cmExperimental: remove the flag for C++ modules 68caec9137 Help: add a manpage for cxxmodule support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !8828
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/export.rst5
-rw-r--r--Help/command/install.rst10
-rw-r--r--Help/command/target_sources.rst5
-rw-r--r--Help/command/try_compile.rst7
4 files changed, 6 insertions, 21 deletions
diff --git a/Help/command/export.rst b/Help/command/export.rst
index 2e14a10..cc927bc 100644
--- a/Help/command/export.rst
+++ b/Help/command/export.rst
@@ -54,10 +54,7 @@ The options are:
to support consumers using CMake versions older than 2.8.12.
``CXX_MODULES_DIRECTORY <directory>``
-
- .. note ::
-
- Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+ .. versionadded:: 3.28
Export C++ module properties to files under the given directory. Each file
will be named according to the target's export name (without any namespace).
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 4de3ce1..b0698dd 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -232,10 +232,7 @@ Signatures
would be installed to ``myproj/here.h`` below the destination.
``CXX_MODULES_BMI``
-
- .. note ::
-
- Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+ .. versionadded:: 3.28
Any module files from C++ modules from ``PUBLIC`` sources in a file set of
type ``CXX_MODULES`` will be installed to the given ``DESTINATION``. All
@@ -843,10 +840,7 @@ Signatures
and defines required to use the libraries.
``CXX_MODULES_DIRECTORY``
-
- .. note ::
-
- Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+ .. versionadded:: 3.28
Specify a subdirectory to store C++ module information for targets in the
export set. This directory will be populated with files which add the
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst
index 86bf7fb..40755c5 100644
--- a/Help/command/target_sources.rst
+++ b/Help/command/target_sources.rst
@@ -84,10 +84,7 @@ files within those directories. The acceptable types include:
Sources intended to be used via a language's ``#include`` mechanism.
``CXX_MODULES``
-
- .. note ::
-
- Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
+ .. versionadded:: 3.28
Sources which contain C++ interface module or partition units (i.e., those
using the ``export`` keyword). This file set type may not have an
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index bc2b0af..0255b4d 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -261,14 +261,11 @@ The options for the above signatures are:
Sources are not added to any ``FILE_SET`` in the generated project.
``CXX_MODULE``
+ .. versionadded:: 3.28
+
Sources are added to a ``FILE_SET`` of type ``CXX_MODULES`` in the
generated project.
- .. note ::
-
- Experimental. Sources of type ``CXX_MODULE`` are gated by
- ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
-
The default type of sources is ``NORMAL``.
``<LANG>_STANDARD <std>``