summaryrefslogtreecommitdiffstats
path: root/Help/command/try_compile.rst
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-11-10 14:53:41 (GMT)
committerNikita Nemkin <nikita@nemkin.ru>2020-11-12 04:44:01 (GMT)
commita19058d7d8f86c8f91e294f6fc520fe97841e721 (patch)
tree2c5a2b6bb8c61a80146ee1fe1205a12ff0873e34 /Help/command/try_compile.rst
parent8b9497e3e52cfa23a1ba64f08db7f4ef9b602382 (diff)
downloadCMake-a19058d7d8f86c8f91e294f6fc520fe97841e721.zip
CMake-a19058d7d8f86c8f91e294f6fc520fe97841e721.tar.gz
CMake-a19058d7d8f86c8f91e294f6fc520fe97841e721.tar.bz2
Help: Replace some `versionadded` directives with `versionchanged`
`.. versionchanged` directive might be more appropriate when documentation refers to previous CMake version, old behavior or a policy, and there's no new parameter or a variable involved. Issue: #19715
Diffstat (limited to 'Help/command/try_compile.rst')
-rw-r--r--Help/command/try_compile.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 57d3ae7..06da910 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -162,7 +162,7 @@ Other Behavior Settings
If :policy:`CMP0056` is set to ``NEW``, then
:variable:`CMAKE_EXE_LINKER_FLAGS` is passed in as well.
-.. versionadded:: 3.14
+.. versionchanged:: 3.14
If :policy:`CMP0083` is set to ``NEW``, then in order to obtain correct
behavior at link time, the ``check_pie_supported()`` command from the
:module:`CheckPIESupported` module must be called before using the
@@ -185,7 +185,7 @@ a build configuration.
``try_compile()`` command for the source files form, not when given a whole
project.
-.. versionadded:: 3.8
+.. versionchanged:: 3.8
If :policy:`CMP0067` is set to ``NEW``, or any of the ``<LANG>_STANDARD``,
``<LANG>_STANDARD_REQUIRED``, or ``<LANG>_EXTENSIONS`` options are used,
then the language standard variables are honored:
@@ -209,6 +209,6 @@ a build configuration.
Their values are used to set the corresponding target properties in
the generated project (unless overridden by an explicit option).
-.. versionadded:: 3.14
+.. versionchanged:: 3.14
For the :generator:`Green Hills MULTI` generator the GHS toolset and target
system customization cache variables are also propagated into the test project.