Help: Document WORKING_DIRECTORY default behavior missing in some commands

This commit is contained in:
Dan Raviv
2025-06-23 21:32:16 -07:00
parent 14d1d90c1b
commit 72bb891348
3 changed files with 4 additions and 1 deletions

View File

@@ -357,6 +357,7 @@ The options are:
Execute the command with the given current working directory. Execute the command with the given current working directory.
If it is a relative path, it will be interpreted relative to the If it is a relative path, it will be interpreted relative to the
build tree directory corresponding to the current source directory. build tree directory corresponding to the current source directory.
If not specified, set to :variable:`CMAKE_CURRENT_BINARY_DIR`.
This option is currently ignored if ``APPEND`` is given, but a future This option is currently ignored if ``APPEND`` is given, but a future
version may use it. version may use it.

View File

@@ -191,6 +191,7 @@ The options are:
Execute the command with the given current working directory. Execute the command with the given current working directory.
If it is a relative path it will be interpreted relative to the If it is a relative path it will be interpreted relative to the
build tree directory corresponding to the current source directory. build tree directory corresponding to the current source directory.
If not specified, set to :variable:`CMAKE_CURRENT_BINARY_DIR`.
.. versionadded:: 3.13 .. versionadded:: 3.13
Arguments to ``WORKING_DIRECTORY`` may use Arguments to ``WORKING_DIRECTORY`` may use

View File

@@ -75,7 +75,8 @@ Options:
``WORKING_DIRECTORY`` ``WORKING_DIRECTORY``
The named directory will be set as the current working directory of The named directory will be set as the current working directory of
the child processes. the child processes. If not given, the child processes' working directory is
unspecified.
``TIMEOUT`` ``TIMEOUT``
After the specified number of seconds (fractions allowed), all unfinished After the specified number of seconds (fractions allowed), all unfinished