[Cmake-commits] CMake branch, next, updated. v3.3.0-rc1-221-g572f5cd

Brad King brad.king at kitware.com
Mon Jun 8 09:07:21 EDT 2015


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  572f5cd0f989be995ddffee88cad9fe465569cbb (commit)
       via  0e708d17e9d667764d6363a3e03cadff27ca7992 (commit)
      from  2f67bcf5266384a557dceaa17161616a5d2044dd (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=572f5cd0f989be995ddffee88cad9fe465569cbb
commit 572f5cd0f989be995ddffee88cad9fe465569cbb
Merge: 2f67bcf 0e708d1
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Jun 8 09:07:21 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jun 8 09:07:21 2015 -0400

    Merge topic 'doc-add_custom_command-clarify-TARGET_FILE' into next
    
    0e708d17 Help: Reference TARGET_FILE genex in add_custom_command docs (#15605)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0e708d17e9d667764d6363a3e03cadff27ca7992
commit 0e708d17e9d667764d6363a3e03cadff27ca7992
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Jun 8 09:04:23 2015 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Jun 8 09:06:26 2015 -0400

    Help: Reference TARGET_FILE genex in add_custom_command docs (#15605)
    
    When documenting in the COMMAND option how to reference an executable,
    we previously only explicitly covered how to do it for argv[0] and left
    it to the reader to follow the reference to the generator expressions
    manual.  Add explicit mention of the TARGET_FILE genex in this
    documentation since it will be a commonly used generator expression in
    this context.

diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index e646c56..ecbf9dd 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -79,6 +79,9 @@ The options are:
   If ``COMMAND`` specifies an executable target (created by the
   :command:`add_executable` command) it will automatically be replaced
   by the location of the executable created at build time.
+  (Use the ``TARGET_FILE``
+  :manual:`generator expression <cmake-generator-expressions(7)>` to
+  reference an executable later in the command line.)
   Additionally a target-level dependency will be added so that the
   executable target will be built before any target using this custom
   command.  However this does NOT add a file-level dependency that

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

Summary of changes:
 Help/command/add_custom_command.rst |    3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list