summaryrefslogtreecommitdiffstats
path: root/Help/command/file.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/file.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/file.rst')
-rw-r--r--Help/command/file.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index a673357..9580c9c 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -497,7 +497,7 @@ from the input content to produce the output content. The options are:
``INPUT <input-file>``
Use the content from a given file as input.
- .. versionadded:: 3.10
+ .. versionchanged:: 3.10
A relative path is treated with respect to the value of
:variable:`CMAKE_CURRENT_SOURCE_DIR`. See policy :policy:`CMP0070`.
@@ -508,7 +508,7 @@ from the input content to produce the output content. The options are:
if the generated content is identical. Otherwise, the ``<output-file>``
must evaluate to an unique name for each configuration.
- .. versionadded:: 3.10
+ .. versionchanged:: 3.10
A relative path (after evaluating generator expressions) is treated
with respect to the value of :variable:`CMAKE_CURRENT_BINARY_DIR`.
See policy :policy:`CMP0070`.
@@ -591,7 +591,7 @@ regular expressions, but much simpler. If ``RELATIVE`` flag is
specified, the results will be returned as relative paths to the given
path.
-.. versionadded:: 3.6
+.. versionchanged:: 3.6
The results will be ordered lexicographically.
On Windows and macOS, globbing is case-insensitive even if the underlying
@@ -662,7 +662,7 @@ files and directories, also non-empty directories. No error is emitted if a
given file does not exist. Relative input paths are evaluated with respect
to the current source directory.
-.. versionadded:: 3.15
+.. versionchanged:: 3.15
Empty input paths are ignored with a warning. Previous versions of CMake
interpreted empty string as a relative path with respect to the current
directory and removed its contents.