From c833629508aff49de6164134eec57d678a9dc465 Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Mon, 27 Jan 2025 00:59:03 +0400 Subject: [PATCH] Help: Fix typos found by the `rst-directive-colons` hook The corresponding `pre-commit` configuration is coming in the separate MR. Signed-off-by: Alex Turbov --- Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst | 2 +- Help/manual/cmake-cxxmodules.7.rst | 2 +- Help/prop_tgt/CXX_MODULE_STD.rst | 4 ++-- Help/prop_tgt/EXPORT_BUILD_DATABASE.rst | 2 +- Help/variable/CMAKE_CXX_COMPILER_IMPORT_STD.rst | 2 +- Help/variable/CMAKE_CXX_MODULE_STD.rst | 2 +- Help/variable/CMAKE_EXPORT_BUILD_DATABASE.rst | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst b/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst index b6d004d8f8..a9d868a6ec 100644 --- a/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst +++ b/Help/envvar/CMAKE_EXPORT_BUILD_DATABASE.rst @@ -10,7 +10,7 @@ explicit configuration given on the first run while creating a new build tree. On later runs in an existing build tree the value persists in the cache as :variable:`CMAKE_EXPORT_BUILD_DATABASE`. -.. note :: +.. note:: This variable is meaningful only when experimental support for build databases has been enabled by the diff --git a/Help/manual/cmake-cxxmodules.7.rst b/Help/manual/cmake-cxxmodules.7.rst index 201a415dd3..30c7a4a24d 100644 --- a/Help/manual/cmake-cxxmodules.7.rst +++ b/Help/manual/cmake-cxxmodules.7.rst @@ -99,7 +99,7 @@ library combinations: The :variable:`CMAKE_CXX_COMPILER_IMPORT_STD` variable may be used to detect support for a standard level with the active C++ toolchain. -.. note :: +.. note:: This support is provided only when experimental support for ``import std;`` has been enabled by the diff --git a/Help/prop_tgt/CXX_MODULE_STD.rst b/Help/prop_tgt/CXX_MODULE_STD.rst index d42699db3a..10b2fcdfed 100644 --- a/Help/prop_tgt/CXX_MODULE_STD.rst +++ b/Help/prop_tgt/CXX_MODULE_STD.rst @@ -6,7 +6,7 @@ CXX_MODULE_STD ``CXX_MODULE_STD`` is a boolean specifying whether the target may use ``import std;`` its C++ sources or not. -.. note :: +.. note:: This setting is meaningful only when experimental support for ``import std;`` has been enabled by the ``CMAKE_EXPERIMENTAL_CXX_IMPORT_STD`` gate. @@ -17,7 +17,7 @@ standard applied to the target. This target is only applicable within the current build and will not appear in the exported interfaces of the targets. When consumed, these targets will be reapplied as necessary. -.. note: +.. note:: Similar to the introduction of :prop:`CXX_SCAN_FOR_MODULES`, this property defaults to _not_ adding ``import std`` support to targets using diff --git a/Help/prop_tgt/EXPORT_BUILD_DATABASE.rst b/Help/prop_tgt/EXPORT_BUILD_DATABASE.rst index 6f68b47d0b..68e308a118 100644 --- a/Help/prop_tgt/EXPORT_BUILD_DATABASE.rst +++ b/Help/prop_tgt/EXPORT_BUILD_DATABASE.rst @@ -8,7 +8,7 @@ Enable/Disable output of a build database for a target. This property is initialized by the value of the variable :variable:`CMAKE_EXPORT_BUILD_DATABASE` if it is set when a target is created. -.. note :: +.. note:: This property is meaningful only when experimental support for build databases has been enabled by the diff --git a/Help/variable/CMAKE_CXX_COMPILER_IMPORT_STD.rst b/Help/variable/CMAKE_CXX_COMPILER_IMPORT_STD.rst index 384b5eb7b1..6605f1a094 100644 --- a/Help/variable/CMAKE_CXX_COMPILER_IMPORT_STD.rst +++ b/Help/variable/CMAKE_CXX_COMPILER_IMPORT_STD.rst @@ -8,7 +8,7 @@ current C++ toolchain. Support for C++\ may be detected using a `` IN_LIST CMAKE_CXX_COMPILER_IMPORT_STD`` predicate with the :command:`if` command. -.. note :: +.. note:: This variable is meaningful only when experimental support for ``import std;`` has been enabled by the ``CMAKE_EXPERIMENTAL_CXX_IMPORT_STD`` gate. diff --git a/Help/variable/CMAKE_CXX_MODULE_STD.rst b/Help/variable/CMAKE_CXX_MODULE_STD.rst index e2b27a0d63..057272bbe5 100644 --- a/Help/variable/CMAKE_CXX_MODULE_STD.rst +++ b/Help/variable/CMAKE_CXX_MODULE_STD.rst @@ -6,7 +6,7 @@ CMAKE_CXX_MODULE_STD Whether to add utility targets as dependencies to targets with at least ``cxx_std_23`` or not. -.. note :: +.. note:: This setting is meaningful only when experimental support for ``import std;`` has been enabled by the ``CMAKE_EXPERIMENTAL_CXX_IMPORT_STD`` gate. diff --git a/Help/variable/CMAKE_EXPORT_BUILD_DATABASE.rst b/Help/variable/CMAKE_EXPORT_BUILD_DATABASE.rst index 94d98423e2..a71f778a65 100644 --- a/Help/variable/CMAKE_EXPORT_BUILD_DATABASE.rst +++ b/Help/variable/CMAKE_EXPORT_BUILD_DATABASE.rst @@ -3,7 +3,7 @@ CMAKE_EXPORT_BUILD_DATABASE .. versionadded:: 3.31 -.. note :: +.. note:: This variable is meaningful only when experimental support for build databases has been enabled by the