[Cmake-commits] CMake branch, master, updated. v3.15.4-1332-gab54653
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 ab54653afd8f6671c462742dee089a2e12b2d7dc (commit) from 4c29297495b53e07f61a6de1f5f689ddd6bab7bd (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=ab54653afd8f6671c462742dee089a2e12b2d7dc commit ab54653afd8f6671c462742dee089a2e12b2d7dc Author: Kitware Robot AuthorDate: Tue Oct 8 00:01:06 2019 -0400 Commit: Kitware Robot CommitDate: Tue Oct 8 00:01:06 2019 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index c068594..2580bd2 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,7 +1,7 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 16) -set(CMake_VERSION_PATCH 20191007) +set(CMake_VERSION_PATCH 20191008) #set(CMake_VERSION_RC 0) set(CMake_VERSION_IS_DIRTY 0) --- Summary of changes: Source/CMakeVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.15.4-1331-g4c29297
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 4c29297495b53e07f61a6de1f5f689ddd6bab7bd (commit) via e7ef66abd02dbd9b05358ffb09c11263f5c0fcc7 (commit) via 16613bc05074e6c895f6b86567f5c92111346d62 (commit) via 0b2431896fe5d6178c0a3442c20d3f032a6a1536 (commit) from ead89868ba09bb331ae31c116f1cec4a44713b3b (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=4c29297495b53e07f61a6de1f5f689ddd6bab7bd commit 4c29297495b53e07f61a6de1f5f689ddd6bab7bd Author: Brad King AuthorDate: Mon Oct 7 10:57:39 2019 -0400 Commit: Brad King CommitDate: Mon Oct 7 10:57:39 2019 -0400 Begin post-3.16 development diff --git a/Help/release/dev/0-sample-topic.rst b/Help/release/dev/0-sample-topic.rst new file mode 100644 index 000..e4cc01e --- /dev/null +++ b/Help/release/dev/0-sample-topic.rst @@ -0,0 +1,7 @@ +0-sample-topic +-- + +* This is a sample release note for the change in a topic. + Developers should add similar notes for each topic branch + making a noteworthy change. Each document should be named + and titled to match the topic name to avoid merge conflicts. diff --git a/Help/release/index.rst b/Help/release/index.rst index 0cc3f97..a4585a5 100644 --- a/Help/release/index.rst +++ b/Help/release/index.rst @@ -7,6 +7,8 @@ CMake Release Notes This file should include the adjacent "dev.txt" file in development versions but not in release versions. +.. include:: dev.txt + Releases diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 51a9217..c068594 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,8 +1,8 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 16) -set(CMake_VERSION_PATCH 0) -set(CMake_VERSION_RC 0) +set(CMake_VERSION_PATCH 20191007) +#set(CMake_VERSION_RC 0) set(CMake_VERSION_IS_DIRTY 0) # Start with the full version number used in tags. It has no dev info. https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e7ef66abd02dbd9b05358ffb09c11263f5c0fcc7 commit e7ef66abd02dbd9b05358ffb09c11263f5c0fcc7 Merge: ead8986 16613bc Author: Brad King AuthorDate: Mon Oct 7 10:56:41 2019 -0400 Commit: Brad King CommitDate: Mon Oct 7 10:56:41 2019 -0400 Merge branch 'release-3.16' --- Summary of changes: Source/CMakeVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.15.4-1327-gead8986
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 ead89868ba09bb331ae31c116f1cec4a44713b3b (commit) via ffa1c76ba364f4400973e184b30b9ca387e0b484 (commit) via a933d8d84e527b04920773d296b09bdcc0872ecf (commit) via 9c9a6e6023013ababfcc59ca9931c78c0512df1c (commit) from b734a04164dcd4eb37246b4b0d52e22996d8ef43 (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=ead89868ba09bb331ae31c116f1cec4a44713b3b commit ead89868ba09bb331ae31c116f1cec4a44713b3b Merge: b734a04 ffa1c76 Author: Brad King AuthorDate: Mon Oct 7 14:49:27 2019 + Commit: Kitware Robot CommitDate: Mon Oct 7 10:49:35 2019 -0400 Merge topic 'doc-3.16-relnotes' ffa1c76ba3 Help: Add missing 3.16 release notes for CPack/DEB descriptions a933d8d84e Help: Organize and revise 3.16 release notes 9c9a6e6023 Help: Consolidate 3.16 release notes Acked-by: Kitware Robot Merge-request: !3889 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ffa1c76ba364f4400973e184b30b9ca387e0b484 commit ffa1c76ba364f4400973e184b30b9ca387e0b484 Author: Brad King AuthorDate: Mon Oct 7 10:21:40 2019 -0400 Commit: Brad King CommitDate: Mon Oct 7 10:45:23 2019 -0400 Help: Add missing 3.16 release notes for CPack/DEB descriptions Add notes for the changes from commit 33c7ea513d (CPackDeb: Use `CPACK_PACKAGE_DESCRIPTION_FILE`, 2019-07-11). Suggested-by: Alex Turbov diff --git a/Help/release/3.16.rst b/Help/release/3.16.rst index 8d8490e..2b1ecf5 100644 --- a/Help/release/3.16.rst +++ b/Help/release/3.16.rst @@ -201,9 +201,17 @@ CPack control what configurations are to be packaged for multi-configuration CMake generators. +* The :cpack_gen:`CPack DEB Generator` is now able to format generic text + (usually used as the description for multiple CPack generators) according + to the `Debian Policy Manual`_. See the + :variable:`CPACK_PACKAGE_DESCRIPTION_FILE` and + :variable:`CPACK_DEBIAN__DESCRIPTION` variables. + * The :cpack_gen:`CPack Archive Generator` learned to generate ``.tar.zst`` packages with Zstandard compression. +.. _`Debian Policy Manual`: https://www.debian.org/doc/debian-policy/ch-controlfields.html#description + Deprecated and Removed Features === https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a933d8d84e527b04920773d296b09bdcc0872ecf commit a933d8d84e527b04920773d296b09bdcc0872ecf Author: Brad King AuthorDate: Fri Oct 4 11:41:08 2019 -0400 Commit: Brad King CommitDate: Mon Oct 7 10:45:05 2019 -0400 Help: Organize and revise 3.16 release notes Add section headers similar to the 3.15 release notes and move each individual bullet into an appropriate section. Revise a few bullets. Drop bullets covering internal interfaces. diff --git a/Help/release/3.16.rst b/Help/release/3.16.rst index 760335d..8d8490e 100644 --- a/Help/release/3.16.rst +++ b/Help/release/3.16.rst @@ -7,30 +7,26 @@ CMake 3.16 Release Notes Changes made since CMake 3.15 include the following. -* The :command:`find_package` command has learned to check the following - variables to control searching +New Features + - * :variable:`CMAKE_FIND_USE_PACKAGE_REGISTRY` - Controls the searching the -cmake user registry. +Languages +- -* The :variable:`CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY` has been deprecated. - Instead use :variable:`CMAKE_FIND_USE_PACKAGE_REGISTRY` +* CMake learned to support the Objective C (``OBJC``) and Objective C++ + (``OBJCXX``) languages. They may be enabled via the :command:`project` + and :command:`enable_language` commands. When ``OBJC`` or ``OBJCXX`` + is enabled, source files with the ``.m`` or ``.mm``, respectively, + will be compiled as Objective C or C++. Otherwise they will be treated + as plain C++ sources as they were before. -* A new target property, :prop_tgt:`INSTALL_REMOVE_ENVIRONMENT_RPATH`, was - added which removes compiler-defined rpaths from a target. This property is - initialized by :variable:`CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH`. +Compilers +- -* A new test property, :prop_test:`SKIP_REGULAR_EXPRESSION`, has been added. - This property is similar to :prop_test:`FAIL_REGULAR_EXPRESSION` and - :prop_test:`PASS_REGULAR_EXPRESSION`, but with the same meaning as - :prop_test:`SKIP_RETURN_CODE`. This is useful, for example, in cases where - the user has no control over the return code of the test. For example, in - Catch2, the return value is the number of assertion failed, therefore it is - impossible
[Cmake-commits] CMake branch, master, updated. v3.15.4-1323-gb734a04
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 b734a04164dcd4eb37246b4b0d52e22996d8ef43 (commit) via c6f08a2125d98a22ae08f6ac8f39095bda09b490 (commit) from 947b02e2e0d0a7d9c8155b50ac79b56818f4b6f6 (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=b734a04164dcd4eb37246b4b0d52e22996d8ef43 commit b734a04164dcd4eb37246b4b0d52e22996d8ef43 Merge: 947b02e c6f08a2 Author: Brad King AuthorDate: Mon Oct 7 14:47:46 2019 + Commit: Kitware Robot CommitDate: Mon Oct 7 10:47:54 2019 -0400 Merge topic 'doc_custom_commands_crosscompile' c6f08a2125 Help: Clarify how target names are handled in custom commands/targets Acked-by: Kitware Robot Merge-request: !3891 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c6f08a2125d98a22ae08f6ac8f39095bda09b490 commit c6f08a2125d98a22ae08f6ac8f39095bda09b490 Author: Craig Scott AuthorDate: Sat Oct 5 23:11:14 2019 +1000 Commit: Craig Scott CommitDate: Sat Oct 5 23:11:14 2019 +1000 Help: Clarify how target names are handled in custom commands/targets Fixes: #19771 diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index ab2a023..df7cc4e 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -79,25 +79,33 @@ The options are: will be ignored. If ``COMMAND`` specifies an executable target name (created by the - :command:`add_executable` command) it will automatically be replaced - by the location of the executable created at build time. If set, the - :prop_tgt:`CROSSCOMPILING_EMULATOR` executable target property will - also be prepended to the command to allow the executable to run on - the host. - (Use the ``TARGET_FILE`` - :manual:`generator expression ` 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 - would cause the custom command to re-run whenever the executable is - recompiled. + :command:`add_executable` command), it will automatically be replaced + by the location of the executable created at build time if either of + the following is true: + + * The target is not being cross-compiled (i.e. the +:variable:`CMAKE_CROSSCOMPILING` variable is not set to true). + * The target is being cross-compiled and an emulator is provided (i.e. +its :prop_tgt:`CROSSCOMPILING_EMULATOR` target property is set). +In this case, the contents of :prop_tgt:`CROSSCOMPILING_EMULATOR` will be +prepended to the command before the location of the target executable. + + If neither of the above conditions are met, it is assumed that the + command name is a program to be found on the ``PATH`` at build time. Arguments to ``COMMAND`` may use :manual:`generator expressions `. - References to target names in generator expressions imply target-level - dependencies, but NOT file-level dependencies. List target names with - the ``DEPENDS`` option to add file-level dependencies. + Use the ``TARGET_FILE`` generator expression to refer to the location of + a target later in the command line (i.e. as a command argument rather + than as the command to execute). + + Whenever a target is used as a command to execute or is mentioned in a + generator expression as a command argument, a target-level dependency + will be added automatically so that the mentioned target will be built + before any target using this custom command. However this does NOT add + a file-level dependency that would cause the custom command to re-run + whenever the executable is recompiled. List target names with + the ``DEPENDS`` option to add such file-level dependencies. ``COMMENT`` Display the given message before the commands are executed at diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst index e74960c..2d5f5f0 100644 --- a/Help/command/add_custom_target.rst +++ b/Help/command/add_custom_target.rst @@ -58,18 +58,30 @@ The options are: a ``COMMAND`` to launch it.) If ``COMMAND`` specifies an executable target name (created by the - :command:`add_executable` command) it will automatically be replaced - by the location of the executable created at build time. If set, the - :prop_tgt:`CROSSCOMPILING_EMULATOR` executable target property will - also be prepended to the command to allow the executable to run on - the host. - Additionally a target-level
[Cmake-commits] CMake branch, master, updated. v3.15.4-1321-g947b02e
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 947b02e2e0d0a7d9c8155b50ac79b56818f4b6f6 (commit) via a023a2e4fe289dedd42a883464c9f7514ac0d0e9 (commit) via 27928290acc81971fbaf5cac04f9667ba39d72d8 (commit) via 12368e6d15c4fd7a682aad8127fb4168971d0013 (commit) via 9c9e66289acc7f54dfdb518a92b625f5a34c7c2d (commit) via 3ded5b6da8cb10d855e36d4ea534222ba870d165 (commit) from 52891c816d167a417961f5a7dbb1c2f0636969ab (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=947b02e2e0d0a7d9c8155b50ac79b56818f4b6f6 commit 947b02e2e0d0a7d9c8155b50ac79b56818f4b6f6 Merge: a023a2e 3ded5b6 Author: Brad King AuthorDate: Mon Oct 7 14:34:41 2019 + Commit: Kitware Robot CommitDate: Mon Oct 7 10:34:50 2019 -0400 Merge topic 'export-genex-under-prefix' 3ded5b6da8 install,export: Fix export of a genex following $ Acked-by: Kitware Robot Merge-request: !3886 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a023a2e4fe289dedd42a883464c9f7514ac0d0e9 commit a023a2e4fe289dedd42a883464c9f7514ac0d0e9 Merge: 2792829 9c9e662 Author: Brad King AuthorDate: Mon Oct 7 14:33:41 2019 + Commit: Kitware Robot CommitDate: Mon Oct 7 10:33:50 2019 -0400 Merge topic 'test-per-config-sources' 9c9e66289a Tests: Enable ConfigSources test on every configuration Acked-by: Kitware Robot Merge-request: !3888 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=27928290acc81971fbaf5cac04f9667ba39d72d8 commit 27928290acc81971fbaf5cac04f9667ba39d72d8 Merge: 52891c8 12368e6 Author: Brad King AuthorDate: Mon Oct 7 14:31:52 2019 + Commit: Kitware Robot CommitDate: Mon Oct 7 10:32:03 2019 -0400 Merge topic 'doc-install-strip' 12368e6d15 Help: Document install/strip targets for Ninja/UNIX Makefiles generators Acked-by: Kitware Robot Merge-request: !3887 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=12368e6d15c4fd7a682aad8127fb4168971d0013 commit 12368e6d15c4fd7a682aad8127fb4168971d0013 Author: Cristian Adam AuthorDate: Fri Oct 4 16:40:54 2019 +0200 Commit: Cristian Adam CommitDate: Fri Oct 4 17:00:18 2019 +0200 Help: Document install/strip targets for Ninja/UNIX Makefiles generators diff --git a/Help/generator/Ninja.rst b/Help/generator/Ninja.rst index 51ef49b..c75d2c4 100644 --- a/Help/generator/Ninja.rst +++ b/Help/generator/Ninja.rst @@ -3,9 +3,9 @@ Ninja Generates build.ninja files. -A build.ninja file is generated into the build tree. Recent versions -of the ninja program can build the project through the ``all`` target. -An ``install`` target is also provided. +A ``build.ninja`` file is generated into the build tree. Use the ninja +program to build the project through the ``all`` target and install the +project through the ``install`` (or ``install/strip``) target. For each subdirectory ``sub/dir`` of the project, additional targets are generated: @@ -16,6 +16,13 @@ are generated: ``sub/dir/install`` Runs the install step in the subdirectory, if any. +``sub/dir/install/strip`` + Runs the install step in the subdirectory followed by a ``CMAKE_STRIP`` command, + if any. + + The ``CMAKE_STRIP`` variable will contain the platform's ``strip`` utility, which + removes symbols information from generated binaries. + ``sub/dir/test`` Runs the test step in the subdirectory, if any. diff --git a/Help/generator/Unix Makefiles.rst b/Help/generator/Unix Makefiles.rst index 1e65ee1..dfe4ecb 100644 --- a/Help/generator/Unix Makefiles.rst +++ b/Help/generator/Unix Makefiles.rst @@ -3,6 +3,29 @@ Unix Makefiles Generates standard UNIX makefiles. -A hierarchy of UNIX makefiles is generated into the build tree. Any -standard UNIX-style make program can build the project through the -default ``all`` target. An ``install`` target is also provided. +A hierarchy of UNIX makefiles is generated into the build tree. Use +any standard UNIX-style make program to build the project through +the ``all`` target and install the project through the ``install`` +(or ``install/strip``) target. + +For each subdirectory ``sub/dir`` of the project a UNIX makefile will +be created, containing the following targets: + +``all`` + Depends on all targets required by the subdirectory. + +``install`` + Runs the install step in the subdirectory, if any. + +``install/strip`` + Runs the install step in the subdirectory followed by a ``CMAKE_STRIP`` command, + if any. + + The ``CMAKE_STRIP`` variable will contain the platform's ``strip`` utility, which + removes