Browse Source

Help:cmake(1): add versionadded back to 3.17

scivision 2 years ago
parent
commit
449f5da373
2 changed files with 18 additions and 0 deletions
  1. 4 0
      Help/manual/OPTIONS_BUILD.txt
  2. 14 0
      Help/manual/cmake.1.rst

+ 4 - 0
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.
 

+ 14 - 0
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