[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-861-gee0ce4c

Brad King brad.king at kitware.com
Tue Nov 1 10:54:22 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  ee0ce4c1dc907edd93716ff21b631c544680dca2 (commit)
       via  311d0376e2312d3539bd997160f880cf58743834 (commit)
       via  77e78af1a2f10d5ec349d0a46118cddd8ec7a539 (commit)
      from  bbfdde3378281d2764025aef0ee965b1806397ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ee0ce4c1dc907edd93716ff21b631c544680dca2
commit ee0ce4c1dc907edd93716ff21b631c544680dca2
Merge: bbfdde3 311d037
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Nov 1 10:54:22 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Nov 1 10:54:22 2016 -0400

    Merge topic 'doc-tweaks' into next
    
    311d0376 Help: Document error behavior of file(REMOVE/REMOVE_RECURSE)
    77e78af1 Help: Clarify how to run sequential commands in execute_process


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=311d0376e2312d3539bd997160f880cf58743834
commit 311d0376e2312d3539bd997160f880cf58743834
Author:     Christian Fetzer <fetzer.ch at gmail.com>
AuthorDate: Tue Nov 1 10:23:15 2016 +0100
Commit:     Christian Fetzer <fetzer.ch at gmail.com>
CommitDate: Tue Nov 1 10:25:18 2016 +0100

    Help: Document error behavior of file(REMOVE/REMOVE_RECURSE)
    
    Clarifies that there is no need to surround file(REMOVE/REMOVE_RECURSE)
    calls by `if(EXISTS)` as non existent files are silently ignored.

diff --git a/Help/command/file.rst b/Help/command/file.rst
index 77e9f62..8da46cb 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -153,7 +153,8 @@ Move a file or directory within a filesystem from ``<oldname>`` to
   file(REMOVE_RECURSE [<files>...])
 
 Remove the given files.  The ``REMOVE_RECURSE`` mode will remove the given
-files and directories, also non-empty directories
+files and directories, also non-empty directories. No error is emitted if a
+given file does not exist.
 
 ------------------------------------------------------------------------------
 

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=77e78af1a2f10d5ec349d0a46118cddd8ec7a539
commit 77e78af1a2f10d5ec349d0a46118cddd8ec7a539
Author:     Christian Fetzer <fetzer.ch at gmail.com>
AuthorDate: Tue Nov 1 10:19:00 2016 +0100
Commit:     Christian Fetzer <fetzer.ch at gmail.com>
CommitDate: Tue Nov 1 10:25:18 2016 +0100

    Help: Clarify how to run sequential commands in execute_process
    
    The execute_process command starts all commands in parallel (in order
    for the piping to work). Mention this explicitly and also add a note
    about how to execute commands sequentially.

diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst
index ca44b53..e9a5eb0 100644
--- a/Help/command/execute_process.rst
+++ b/Help/command/execute_process.rst
@@ -20,7 +20,7 @@ Execute one or more child processes.
                   [OUTPUT_STRIP_TRAILING_WHITESPACE]
                   [ERROR_STRIP_TRAILING_WHITESPACE])
 
-Runs the given sequence of one or more commands with the standard
+Runs the given sequence of one or more commands in parallel with the standard
 output of each process piped to the standard input of the next.
 A single standard error pipe is used for all processes.
 
@@ -36,6 +36,9 @@ Options:
  (Use the ``INPUT_*``, ``OUTPUT_*``, and ``ERROR_*`` options to
  redirect stdin, stdout, and stderr.)
 
+ If a sequential execution of multiple commands is required, use multiple
+ :command:`execute_process` calls with a single ``COMMAND`` argument.
+
 ``WORKING_DIRECTORY``
  The named directory will be set as the current working directory of
  the child processes.

-----------------------------------------------------------------------

Summary of changes:
 Help/command/execute_process.rst |    5 ++++-
 Help/command/file.rst            |    3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list