summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-09-24 04:44:48 (GMT)
committerscivision <scivision@users.noreply.github.com>2023-09-24 18:41:13 (GMT)
commit449f5da373d58ed64bc595ed8fe662b5df8dc417 (patch)
tree179125e0e5bd8b7ff9f12348d4a581b75ae8363e
parent8847fceac6299962d3ca63c0e9206c65ddb102a7 (diff)
downloadCMake-449f5da373d58ed64bc595ed8fe662b5df8dc417.zip
CMake-449f5da373d58ed64bc595ed8fe662b5df8dc417.tar.gz
CMake-449f5da373d58ed64bc595ed8fe662b5df8dc417.tar.bz2
Help:cmake(1): add versionadded back to 3.17
-rw-r--r--Help/manual/OPTIONS_BUILD.txt4
-rw-r--r--Help/manual/cmake.1.rst14
2 files changed, 18 insertions, 0 deletions
diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt
index 94adac8..fb1e7d4 100644
--- a/Help/manual/OPTIONS_BUILD.txt
+++ b/Help/manual/OPTIONS_BUILD.txt
@@ -105,11 +105,15 @@
.. option:: --toolchain <path-to-file>
+ .. versionadded:: 3.21
+
Specify the cross compiling toolchain file, equivalent to setting
:variable:`CMAKE_TOOLCHAIN_FILE` variable.
.. option:: --install-prefix <directory>
+ .. versionadded:: 3.21
+
Specify the installation directory, used by the
:variable:`CMAKE_INSTALL_PREFIX` variable. Must be an absolute path.
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index b5848f7..5223acb 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -309,6 +309,8 @@ Options
.. option:: --debug-find
+ .. versionadded:: 3.17
+
Put cmake find commands in a debug mode.
Print extra find call information during the cmake run to standard
@@ -318,6 +320,8 @@ Options
.. option:: --debug-find-pkg=<pkg>[,...]
+ .. versionadded:: 3.23
+
Put cmake find commands in a debug mode when running under calls
to :command:`find_package(\<pkg\>) <find_package>`, where ``<pkg>``
is an entry in the given comma-separated list of case-sensitive package
@@ -328,6 +332,8 @@ Options
.. option:: --debug-find-var=<var>[,...]
+ .. versionadded:: 3.23
+
Put cmake find commands in a debug mode when called with ``<var>``
as the result variable, where ``<var>`` is an entry in the given
comma-separated list.
@@ -349,6 +355,8 @@ Options
.. option:: --trace-format=<format>
+ .. versionadded:: 3.17
+
Put cmake in trace mode and sets the trace output format.
``<format>`` can be one of the following values.
@@ -471,12 +479,16 @@ Options
.. option:: --compile-no-warning-as-error
+ .. versionadded:: 3.24
+
Ignore target property :prop_tgt:`COMPILE_WARNING_AS_ERROR` and variable
:variable:`CMAKE_COMPILE_WARNING_AS_ERROR`, preventing warnings from being
treated as errors on compile.
.. option:: --profiling-output=<path>
+ .. versionadded:: 3.18
+
Used in conjunction with
:option:`--profiling-format <cmake --profiling-format>` to output to a
given path.
@@ -1325,6 +1337,8 @@ autoconf-based projects (via ``share/aclocal/cmake.m4``).
Run a Workflow Preset
=====================
+.. versionadded:: 3.25
+
.. program:: cmake
:manual:`CMake Presets <cmake-presets(7)>` provides a way to execute multiple