[Cmake-commits] CMake branch, next, updated. v2.8.12-3948-g44f9a11

Brad King brad.king at kitware.com
Mon Oct 14 11:24:09 EDT 2013


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  44f9a1146e8eda190332ed1901b521b14ae65dd5 (commit)
       via  eec7834ed8952198191c3314c626fe7ae905f2fa (commit)
      from  f65ae3f3e1364ad7927cc18221464d04ef72f345 (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=44f9a1146e8eda190332ed1901b521b14ae65dd5
commit 44f9a1146e8eda190332ed1901b521b14ae65dd5
Merge: f65ae3f eec7834
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Oct 14 11:23:58 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Oct 14 11:23:58 2013 -0400

    Merge topic 'doc-list-append-nothing' into next
    
    eec7834 list: Fix docs for APPEND to show that elements are optional


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eec7834ed8952198191c3314c626fe7ae905f2fa
commit eec7834ed8952198191c3314c626fe7ae905f2fa
Author:     Роман Донченко <dpb at corrigendum.ru>
AuthorDate: Sat Oct 12 01:58:22 2013 +0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Oct 14 11:16:59 2013 -0400

    list: Fix docs for APPEND to show that elements are optional
    
    list(APPEND) has been able to append nothing since commit a06dcdba
    (Allow LIST(APPEND) command to append nothing, 2008-01-16) but the
    documentation still used to imply that at least one argument is
    required.

diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h
index f20aa8a..5523633 100644
--- a/Source/cmListCommand.h
+++ b/Source/cmListCommand.h
@@ -63,7 +63,7 @@ public:
       "  list(LENGTH <list> <output variable>)\n"
       "  list(GET <list> <element index> [<element index> ...]\n"
       "       <output variable>)\n"
-      "  list(APPEND <list> <element> [<element> ...])\n"
+      "  list(APPEND <list> [<element> ...])\n"
       "  list(FIND <list> <value> <output variable>)\n"
       "  list(INSERT <list> <element_index> <element> [<element> ...])\n"
       "  list(REMOVE_ITEM <list> <value> [<value> ...])\n"

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

Summary of changes:
 Source/cmListCommand.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list