[Cmake-commits] CMake branch, master, updated. v3.12.3-827-g342551b
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 342551be71c8ed300e5e6d99fa81ab0ed3a62600 (commit) from 02a1dbbb6c41aeab2d6a491629329a7f6ef47eef (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=342551be71c8ed300e5e6d99fa81ab0ed3a62600 commit 342551be71c8ed300e5e6d99fa81ab0ed3a62600 Author: Kitware Robot AuthorDate: Sat Oct 6 00:01:10 2018 -0400 Commit: Kitware Robot CommitDate: Sat Oct 6 00:01:10 2018 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index b2be3c0..60b7a9b 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 13) -set(CMake_VERSION_PATCH 20181005) +set(CMake_VERSION_PATCH 20181006) #set(CMake_VERSION_RC 1) --- 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
Re: [CMake] find_package Module/Config mode and nontrivial package version checks
Module mode is only selected if there is a Find.cmake file available. Otherwise Config mode is used anyway. For a given project's call only one of the modes can be used: the find module is either present or it is not. If the find module is available it is used and becomes responsible for enforcing the version check. Many of CMake's upstream find modules now support that. Thank you, Brad. Find modules are written in so many different styles that it is difficult to choose the right one as template. Could you possibly indicate one or two find modules that represent current best practice? - Joachim smime.p7s Description: S/MIME Cryptographic Signature -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[Cmake-commits] CMake branch, release, updated. v3.12.3-812-g3261e18
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, release has been updated via 3261e18f0379321e9bd77bfb48a320051f9de56f (commit) via c90f3dff82e7b0fb3cd21a60df3b2ce1f268b70e (commit) via 26dac50220ec677229c9569be959b9306c9967e2 (commit) via 11058a2e7cd3e673cc72d0f5bb1b214b4ecb4ad3 (commit) via aaf5ea2d7034eb42659e985ae5bd51dde3625134 (commit) via 56310b06713c452eb17bcc90683c0bdb4270e9a9 (commit) via 336dce1c95d6605181456f8ca7e702ffe0f790c4 (commit) via 463d59d3311f344f85cbc87cbe61e562cb5c80ce (commit) from c4ff696971f3ff5bf7ed51bb8387ffd24cca9f6a (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 - --- Summary of changes: Help/command/find_package.rst | 83 +-- 1 file changed, 48 insertions(+), 35 deletions(-) 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.12.3-826-g02a1dbb
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 02a1dbbb6c41aeab2d6a491629329a7f6ef47eef (commit) via 50f427e02287682cdd782136ef28a15f75f8fd60 (commit) via 3261e18f0379321e9bd77bfb48a320051f9de56f (commit) via c90f3dff82e7b0fb3cd21a60df3b2ce1f268b70e (commit) via 26dac50220ec677229c9569be959b9306c9967e2 (commit) via 11058a2e7cd3e673cc72d0f5bb1b214b4ecb4ad3 (commit) via aaf5ea2d7034eb42659e985ae5bd51dde3625134 (commit) via 56310b06713c452eb17bcc90683c0bdb4270e9a9 (commit) via 336dce1c95d6605181456f8ca7e702ffe0f790c4 (commit) via 463d59d3311f344f85cbc87cbe61e562cb5c80ce (commit) from 25a970405800e9a79dbd1927cdd2f298e646917c (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=02a1dbbb6c41aeab2d6a491629329a7f6ef47eef commit 02a1dbbb6c41aeab2d6a491629329a7f6ef47eef Merge: 50f427e 3261e18 Author: Brad King AuthorDate: Fri Oct 5 08:03:11 2018 -0400 Commit: Brad King CommitDate: Fri Oct 5 08:03:11 2018 -0400 Merge branch 'release-3.13' https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=50f427e02287682cdd782136ef28a15f75f8fd60 commit 50f427e02287682cdd782136ef28a15f75f8fd60 Merge: 25a9704 c90f3df Author: Brad King AuthorDate: Fri Oct 5 11:55:51 2018 + Commit: Kitware Robot CommitDate: Fri Oct 5 07:55:57 2018 -0400 Merge topic 'doc-find_package-update' c90f3dff82 Help: Clarify find_package Module and Config mode relation 26dac50220 Help: Remove redundant recommendation 11058a2e7c Help: Add internal section link to find_package command docs aaf5ea2d70 Help: Add section headers to find_package command 56310b0671 Help: Move find_package NO_POLICY_SCOPE to more appropriate location 336dce1c95 Help: Add table of contents to find_package command docs 463d59d331 Help: Rephrase summary in find_package command docs Acked-by: Kitware Robot Merge-request: !2446 --- Summary of changes: Help/command/find_package.rst | 83 +-- 1 file changed, 48 insertions(+), 35 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
Re: [CMake] find_package Module/Config mode and nontrivial package version checks
On 10/04/2018 02:36 PM, Joachim Wuttke wrote: > What then about user code that ought to check > for version compatibility? Module mode only offers a check > for an EXACT version string, and does not terminate if > that condition is not met [3]. Module mode is only selected if there is a Find.cmake file available. Otherwise Config mode is used anyway. For a given project's call only one of the modes can be used: the find module is either present or it is not. If the find module is available it is used and becomes responsible for enforcing the version check. Many of CMake's upstream find modules now support that. > Users who need a newer-than > or same-major version check, or a strict enforcment of an > exact-version check, are advised to prefer packages that use > CMakePackageConfigHelpers to generate FooConfig[Version].cmake > files. These files, however, are ignored unless Config mode > is chosen. In module mode it is up to the find module to do the appropriate version comparisons. The FindPackageHandleStandardArgs module: https://cmake.org/cmake/help/v3.13/module/FindPackageHandleStandardArgs.html provides some help with that. If it doesn't offer the kind of version comparison needed then it could be added as an option or the find module could do its own version checking. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake