[Cmake-commits] CMake branch, master, updated. v3.9.1-459-ge6ca528

Kitware Robot kwrobot at kitware.com
Sun Aug 13 07:05:06 EDT 2017


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, master has been updated
       via  e6ca528be37e8a1058828e4633a7a382fb035157 (commit)
       via  d2c9efa9473631b3f1a6df30a4113bc13fc368de (commit)
      from  02f6bb1a812096558c82ff4c8ae0bee3be85a701 (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=e6ca528be37e8a1058828e4633a7a382fb035157
commit e6ca528be37e8a1058828e4633a7a382fb035157
Merge: 02f6bb1 d2c9efa
Author:     Craig Scott <craig.scott at crascit.com>
AuthorDate: Sun Aug 13 10:58:47 2017 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Sun Aug 13 06:59:01 2017 -0400

    Merge topic 'cpack-CPACK_COMPONENTS_ALL-extra-docs'
    
    d2c9efa9 CPack: additional CPACK_COMPONENTS_ALL documentation
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !1134


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d2c9efa9473631b3f1a6df30a4113bc13fc368de
commit d2c9efa9473631b3f1a6df30a4113bc13fc368de
Author:     Domen Vrankar <domen.vrankar at gmail.com>
AuthorDate: Fri Aug 11 20:03:40 2017 +0200
Commit:     Domen Vrankar <domen.vrankar at gmail.com>
CommitDate: Sat Aug 12 10:54:27 2017 +0200

    CPack: additional CPACK_COMPONENTS_ALL documentation

diff --git a/Modules/CPackComponent.cmake b/Modules/CPackComponent.cmake
index 3a10b99..2374fbd 100644
--- a/Modules/CPackComponent.cmake
+++ b/Modules/CPackComponent.cmake
@@ -37,6 +37,16 @@
 #  components defined by the project.  The user may set it to only include the
 #  specified components.
 #
+#  Instead of specifying all the desired components, it is possible to obtain a
+#  list of all defined components and then remove the unwanted ones from the
+#  list. The :command:`get_cmake_property` command can be used to obtain the
+#  ``COMPONENTS`` property, then the :command:`list(REMOVE_ITEM)` command can be
+#  used to remove the unwanted ones. For example, to use all defined components
+#  except ``foo`` and ``bar``::
+#
+#    get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS)
+#    list(REMOVE_ITEM CPACK_COMPONENTS_ALL "foo" "bar")
+#
 # .. variable:: CPACK_<GENNAME>_COMPONENT_INSTALL
 #
 #  Enable/Disable component install for CPack generator <GENNAME>.

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

Summary of changes:
 Modules/CPackComponent.cmake |   10 ++++++++++
 1 file changed, 10 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list