https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
72822e2 FindPython: enhance robustness of version extraction from library name Fixes: #21105 18 August 2020, 10:30:47 UTC
f6290f0 CMake Nightly Date Stamp 18 August 2020, 04:01:22 UTC
f7dd74e Graphviz: Fix bug that shows duplicated alias targets When using subdirectories the alias targets were duplicated 17 August 2020, 19:48:47 UTC
c5407b9 Help: Expand Fortran_MODULE_DIRECTORY documentation. Document how Visual Studio generators append per-configuration directory to path where Fortran modules are created. 17 August 2020, 19:27:52 UTC
fe3a404 Merge topic 'add_test-special-chars-in-name' a20987732b add_test: Allow special characters in test name (w/ policy CMP0110) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5076 17 August 2020, 18:58:49 UTC
c873bb0 Merge topic 'FindX11-xcb-util-xfixes' 6d231b494f FindX11: Add xcb_util and xcb_xfixes libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5116 17 August 2020, 18:54:22 UTC
386bec2 Merge topic 'xcode12-link-matching-zlib' 862dbe1367 Xcode: Link matching zlib for iOS Simulator SDK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5125 17 August 2020, 18:52:51 UTC
3313bf0 Merge topic 'ios-combined-prune-archs' 5852b8867f CMakeIOSInstallCombined: Enforce disjoint architecture sets 79098d23eb Tests: Avoid warnings about unused arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5111 17 August 2020, 18:52:08 UTC
35d8543 CMake Nightly Date Stamp 17 August 2020, 04:01:09 UTC
39cdfa9 CMake Nightly Date Stamp 16 August 2020, 04:01:09 UTC
de19c0c CMake Nightly Date Stamp 15 August 2020, 04:01:13 UTC
5eff274 FindHDF5: Remove VTK library type detection 14 August 2020, 16:03:21 UTC
a8e0a6b FindHDF5: Port changes from VTK 14 August 2020, 15:57:59 UTC
7278ab2 Merge topic 'FindOpenSSL-static' 1925f9d8eb FindOpenSSL: Add support for finding static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5124 14 August 2020, 14:09:10 UTC
512e744 Merge topic 'help-formatting' 5b17421bdc Help: Improve formatting for IMPLICIT_DEPENDS_INCLUDE_TRANSFORM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5126 14 August 2020, 10:46:39 UTC
c90690a CMake Nightly Date Stamp 14 August 2020, 04:01:12 UTC
5b17421 Help: Improve formatting for IMPLICIT_DEPENDS_INCLUDE_TRANSFORM 13 August 2020, 23:51:59 UTC
8b5aa90 Merge topic 'optimize-static-library-deps' 2e42651dff Add option to optimize link dependencies for static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5103 13 August 2020, 18:16:25 UTC
862dbe1 Xcode: Link matching zlib for iOS Simulator SDK The XcodeRemoveExcessiveISystem test runs `find_package(ZLIB)` which returns an SDK-relative path to `zlib.tlb`. When the test switches the SDK for building to something different than the SDK used for configuration the linker rightfully complains about the mismatch. The fix is to configure and build with the same SDK. 13 August 2020, 16:05:34 UTC
1925f9d FindOpenSSL: Add support for finding static libraries Fixes: #20903 13 August 2020, 15:59:13 UTC
5748e76 CMake Nightly Date Stamp 13 August 2020, 04:01:11 UTC
11d6549 Merge branch 'release-3.18' 12 August 2020, 16:22:46 UTC
e3fcb49 Merge topic 'FindRuby_document_deprecated_variables' e7fe0b24c4 FindRuby: Add documentation for deprecated variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5120 12 August 2020, 16:22:46 UTC
acd15bf Merge topic 'FindRuby_document_deprecated_variables' into release-3.18 e7fe0b24c4 FindRuby: Add documentation for deprecated variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5120 12 August 2020, 16:22:45 UTC
2e42651 Add option to optimize link dependencies for static libraries Add an `OPTIMIZE_DEPENDENCIES` target property and supporting `CMAKE_OPTIMIZE_DEPENDENCIES` variable to optionally enable pruning and flattening of outgoing dependencies from static libraries. Since they do not actually link, they only depend on side effects of their dependencies. Therefore we can drop dependencies that contribute no side effects. 12 August 2020, 15:31:07 UTC
e7fe0b2 FindRuby: Add documentation for deprecated variables Since commit e672db628b (FindRuby: Rename variables to match case of module name, 2020-03-11, v3.18.0-rc1~546^2), the upper-case-prefixed variable names are for compatibility only but still exist. Put them back in the documentation. Issue: #21064 12 August 2020, 15:25:45 UTC
5a5d1a8 Merge branch 'release-3.18' 12 August 2020, 15:14:52 UTC
b3196fe Merge topic 'msvc_c11' f7347f28c7 MSVC: Record support for C11 and c_restrict Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5115 12 August 2020, 15:14:52 UTC
eaf8181 Merge topic 'msvc_c11' into release-3.18 f7347f28c7 MSVC: Record support for C11 and c_restrict Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5115 12 August 2020, 15:14:51 UTC
0ca6d57 Merge topic 'FindPython-manage-SOABI-in-all-versions' into release-3.18 951640f1f9 FindPython: manage SOABI for all Python versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5119 12 August 2020, 15:13:16 UTC
9ae9aca Merge branch 'release-3.18' 12 August 2020, 15:13:16 UTC
0603eb0 Merge topic 'FindPython-manage-SOABI-in-all-versions' 951640f1f9 FindPython: manage SOABI for all Python versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5119 12 August 2020, 15:13:16 UTC
a209877 add_test: Allow special characters in test name (w/ policy CMP0110) Restore the change from commit f84af8e270 (add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2) that had to be reverted by commit f84af8e270 (add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2) for compatibility. Add policy CMP0110 to make the change in a compatible way. Also, support even more characters than before by generating the test scripts using bracket arguments around the test names. Fixes: #19391 Signed-off-by: Deniz Bahadir <dbahadir@benocs.com> 12 August 2020, 14:44:07 UTC
6d231b4 FindX11: Add xcb_util and xcb_xfixes libraries 12 August 2020, 06:01:01 UTC
ce2cc7c CMake Nightly Date Stamp 12 August 2020, 04:01:11 UTC
750556b Merge branch 'release-3.18' 11 August 2020, 17:40:47 UTC
81ee1ea Merge topic 'gitlab-ci-tag-cmake' 778ea72b59 gitlab-ci: add 'cmake' tag to all jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5121 11 August 2020, 17:40:47 UTC
edd908f Merge topic 'gitlab-ci-tag-cmake' into release-3.18 778ea72b59 gitlab-ci: add 'cmake' tag to all jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5121 11 August 2020, 17:40:47 UTC
778ea72 gitlab-ci: add 'cmake' tag to all jobs This will give us more granular control over which runners accept jobs for CMake. 11 August 2020, 17:19:05 UTC
f7347f2 MSVC: Record support for C11 and c_restrict MSVC >=19.27 supports a C11 switch. The `c_restrict` feature has also been implemented. Fixes: #21069 11 August 2020, 13:08:21 UTC
0cd3b5d Merge topic 'findlapack-quiet' c156704ff0 FindLAPACK: Use find_package_handle_standard_args Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5110 11 August 2020, 12:57:54 UTC
a218d67 Merge topic 'bootstrap-ninja' 491dddfbde Bootstrap: Add support for Ninja Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3652 11 August 2020, 12:57:00 UTC
3fb9e3c Merge branch 'release-3.18' 11 August 2020, 12:55:46 UTC
b995e2d Merge topic 'findhdf5-fix-nohl' e038107ee7 FindHDF5: fix compiler detection when HL is disabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5112 11 August 2020, 12:55:46 UTC
9ccd13d Merge topic 'findhdf5-fix-nohl' into release-3.18 e038107ee7 FindHDF5: fix compiler detection when HL is disabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5112 11 August 2020, 12:55:45 UTC
b954de0 Merge branch 'release-3.18' 11 August 2020, 12:54:16 UTC
5c9edd3 Merge topic 'osx-archs-apple-only' into release-3.18 70ce1ad64a PCH: Avoid Apple-specific architecture flags on other platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5118 11 August 2020, 12:54:15 UTC
9a27e80 Merge topic 'osx-archs-apple-only' 70ce1ad64a PCH: Avoid Apple-specific architecture flags on other platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5118 11 August 2020, 12:54:15 UTC
2ccc09b Merge branch 'release-3.17' 11 August 2020, 12:52:20 UTC
0ca60de Merge branch 'release-3.16' 11 August 2020, 12:52:17 UTC
61901cc Merge branch 'release-3.18' 11 August 2020, 12:51:02 UTC
121c371 Merge topic 'automoc-path-prefix-off' 5b5be34811 Help: Add 3.18.2 release note about AUTOMOC_PATH_PREFIX default change db659e18bc Merge branch 'backport-3.17-automoc-path-prefix-off' e503fbe38a Merge branch 'backport-3.16-automoc-path-prefix-off' 4c33b305a0 Autogen: Turn off moc path prefix generation by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5105 11 August 2020, 12:51:02 UTC
e524819 Merge topic 'automoc-path-prefix-off' into release-3.18 5b5be34811 Help: Add 3.18.2 release note about AUTOMOC_PATH_PREFIX default change db659e18bc Merge branch 'backport-3.17-automoc-path-prefix-off' e503fbe38a Merge branch 'backport-3.16-automoc-path-prefix-off' 4c33b305a0 Autogen: Turn off moc path prefix generation by default 56510b7d85 Merge branch 'backport-test-FindPkgConfig-isolate-env' into release-3.17 effc9a1032 Merge branch 'backport-3.17-automoc_timestamp_deps' into release-3.17 507fecd7e2 Merge branch 'ninja-multi-rsp-remove-path' into release-3.17 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5105 11 August 2020, 12:51:01 UTC
951640f FindPython: manage SOABI for all Python versions Fixes: #21070 11 August 2020, 08:16:40 UTC
f24e349 ExternalProject: retry download on recoverable errors In order to shorten the download failure of ExternalProject download steps, a download retry is only done when a recoverable network error is encountered. 11 August 2020, 05:25:58 UTC
bb1b37e CMake Nightly Date Stamp 11 August 2020, 04:01:27 UTC
491dddf Bootstrap: Add support for Ninja 10 August 2020, 18:40:17 UTC
70ce1ad PCH: Avoid Apple-specific architecture flags on other platforms Since commit f593b354da (PCH: Add support for multi architecture iOS projects, 2020-04-02, v3.18.0-rc1~414^2) the `OSX_ARCHITECTURES` target property (and corresponding `CMAKE_OSX_ARCHITECTURES` variable) affects flags on non-Apple platforms by accident. Add a missing condition to avoid this. Fixes: #21072 10 August 2020, 17:29:29 UTC
09507da Merge branch 'backport-3.17-automoc-path-prefix-off' into release-3.17 Merge-request: !5105 10 August 2020, 16:21:30 UTC
521ed96 Merge branch 'backport-3.16-automoc-path-prefix-off' into release-3.16 Merge-request: !5105 10 August 2020, 16:19:09 UTC
e038107 FindHDF5: fix compiler detection when HL is disabled A valid HDF5 installation with the "high level" extensions not configured will *fail* to be correctly detected by CMake since commit d9e39f3f89 (FindHDF5: check that compiler wrapper can compile a minimal program, 2020-02-10, v3.18.0-rc1~744^2~1): ``` /.../hdf5/cmake_hdf5_test.c:2:10: fatal error: 'hdf5_hl.h' file not found ``` This does not stop the configuration but does prevent flags and libraries from being recognized. 10 August 2020, 15:53:58 UTC
d6ee9b4 Merge topic 'build-interface-targets' bafa9fe887 fileapi: Add INTERFACE libraries with SOURCES to codemodel-v2 4391913133 Add INTERFACE libraries to generated buildsystem if they have SOURCES afb998704e Remove filtering of allowed INTERFACE library properties e7edba2baf Makefiles: Use IsInBuildSystem in global generator target type checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5078 10 August 2020, 15:38:59 UTC
e259ea4 Merge topic 'runcmake-make-english' 3d2ab71d42 Tests: Set LC_MESSAGES for RunCMake.Make Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5114 10 August 2020, 15:35:34 UTC
0953c00 Merge topic 'clang-cl-vfs' 20ebaed972 Clang: Add support for passing VFS arguments d993ebd4ca clang-cl: Add '--' before source file a94672b919 cmake: Change cmake_llvm_rc separator from -- to ++ to avoid conflict Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5087 10 August 2020, 15:33:19 UTC
c65f6a5 Merge topic 'ninja-msvc-deps-prefix' 37a279f8d1 Ninja: Write msvc_deps_prefix as UTF-8 when console codepage is UTF-8 67599c7ada cmGeneratedFileStream: Add WriteRaw method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5089 10 August 2020, 15:29:36 UTC
32ad8a8 Merge branch 'release-3.18' 10 August 2020, 15:25:10 UTC
69d26f1 Merge topic 'FPHSA-name-mismatches-chained-via-include' 98844ec9db FPHSA: detect inclusion between find modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Logan Barnes <barneslt63@gmail.com> Merge-request: !5107 10 August 2020, 15:25:10 UTC
b8214a8 Merge topic 'FPHSA-name-mismatches-chained-via-include' into release-3.18 98844ec9db FPHSA: detect inclusion between find modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Logan Barnes <barneslt63@gmail.com> Merge-request: !5107 10 August 2020, 15:25:09 UTC
804d324 Merge branch 'release-3.18' 10 August 2020, 15:23:14 UTC
1cd27c7 Merge topic 'xcode-try_compile-no-sign-backport' 97d581b25d Xcode: Explicitly turn off signing in try_compile projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5117 10 August 2020, 15:23:14 UTC
b6da87c Merge topic 'xcode-try_compile-no-sign-backport' into release-3.18 97d581b25d Xcode: Explicitly turn off signing in try_compile projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5117 10 August 2020, 15:23:14 UTC
743d4b7 Merge branch 'release-3.18' 10 August 2020, 15:21:20 UTC
cb1f2cf Merge topic 'FindRuby-restore-include-path' into release-3.18 6959744131 FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5109 10 August 2020, 15:21:20 UTC
d8e242a Merge topic 'FindRuby-restore-include-path' 6959744131 FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5109 10 August 2020, 15:21:20 UTC
eaddc1a Merge branch 'release-3.18' 10 August 2020, 15:19:18 UTC
97717d4 Merge topic 'FindPython-user-policies' a92d384548 FindPython: ensure user's policies are respected Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Henry Schreiner <henryschreineriii@gmail.com> Merge-request: !5098 10 August 2020, 15:19:18 UTC
b88fb7e Merge topic 'FindPython-user-policies' into release-3.18 a92d384548 FindPython: ensure user's policies are respected Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Henry Schreiner <henryschreineriii@gmail.com> Merge-request: !5098 10 August 2020, 15:19:17 UTC
5b5be34 Help: Add 3.18.2 release note about AUTOMOC_PATH_PREFIX default change 10 August 2020, 14:49:55 UTC
db659e1 Merge branch 'backport-3.17-automoc-path-prefix-off' 10 August 2020, 14:49:18 UTC
5e316b3 Merge branch 'release-3.17' 10 August 2020, 14:46:39 UTC
5d0c9d7 Merge branch 'release-3.16' 10 August 2020, 14:46:31 UTC
01ff929 Merge branch 'release-3.18' 10 August 2020, 14:45:54 UTC
000b761 Merge topic 'test-FindPkgConfig-isolate-env' 8b12982653 Merge branch 'backport-test-FindPkgConfig-isolate-env' 4c939b0d39 Tests: Isolate RunCMake.FindPkgConfig from caller environment 20eeb40aaf Tests: Isolate RunCMake.FindPkgConfig from caller environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5108 10 August 2020, 14:45:54 UTC
72409ee Merge topic 'test-FindPkgConfig-isolate-env' into release-3.18 8b12982653 Merge branch 'backport-test-FindPkgConfig-isolate-env' 4c939b0d39 Tests: Isolate RunCMake.FindPkgConfig from caller environment 20eeb40aaf Tests: Isolate RunCMake.FindPkgConfig from caller environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5108 10 August 2020, 14:45:54 UTC
e503fbe Merge branch 'backport-3.16-automoc-path-prefix-off' 10 August 2020, 14:41:06 UTC
4c33b30 Autogen: Turn off moc path prefix generation by default Change the default value of `CMAKE_AUTOMOC_PATH_PREFIX` to `OFF` to restore compatibility with behavior of CMake 3.15 and below. C++ source files that are generated by Qt's meta object compiler (moc) include the header file that was passed as input argument to moc. This is usually a path relative to the source directory, for example #include "../../source/dir/myobject.h" That is problematic for reproducible builds as described in #18815. To cope with that, the target property AUTOMOC_PATH_PREFIX was introduced in CMake 3.16 by commit d018d27c10 (Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX), 2019-09-13, v3.16.0-rc1~94^2~4). The property is default-initialized from the variable `CMAKE_AUTOMOC_PATH_PREFIX`, which defaults to `ON`. If this property is ON, and myobject.h is located in an include directory of the target, moc-generated C++ files include the file without the "path prefix": #include "myobject.h" This behavior, however, can break projects that have equally named header files in different include directories. As "not breaking existing projects" trumps "have reproducible builds by default" we change the default of `CMAKE_AUTOMOC_PATH_PREFIX` to `OFF`. Also, it is now possible to pass `-DCMAKE_AUTOMOC_PATH_PREFIX=ON` on the CMake command line. Before, it was overridden in `CMakeGenericSystem`. Fixes: #20598 Issue: #18815 10 August 2020, 14:36:17 UTC
97d581b Xcode: Explicitly turn off signing in try_compile projects Fixes: #18407, #20571, #20688 10 August 2020, 12:28:38 UTC
514292a CMake Nightly Date Stamp 10 August 2020, 04:01:10 UTC
5170263 CMake Nightly Date Stamp 09 August 2020, 04:01:08 UTC
3d2ab71 Tests: Set LC_MESSAGES for RunCMake.Make LANG was already set, but is not enough on some systems. Set LC_MESSAGES too. 08 August 2020, 16:36:49 UTC
5852b88 CMakeIOSInstallCombined: Enforce disjoint architecture sets Starting with Xcode 12 the arm64 architecture is supported as an iOS device as well as simulator architecture. But the fat macho file format does not distinguish by SDK, only by architecture. That makes lipo (rightfully) complain that it cannot add both architectures to a single file. To work around we make sure that both SDKs are built for a disjoint set of architectures. If an architecture is present for both SDKs we prefer the currently configured one. The log output has been extended to reflect that: ``` [iOS combined] Architectures (iphoneos): arm64 arm64e armv7 armv7s [iOS combined] Architectures (iphonesimulator): arm64 arm64e i386 x86_64 [iOS combined] Architectures (iphonesimulator) after pruning: i386 x86_64 ``` 08 August 2020, 13:22:12 UTC
79098d2 Tests: Avoid warnings about unused arguments 08 August 2020, 12:32:48 UTC
f51e930 CMake Nightly Date Stamp 08 August 2020, 04:01:10 UTC
c156704 FindLAPACK: Use find_package_handle_standard_args LAPACK previously used custom and verbose output messages. 07 August 2020, 17:08:30 UTC
6959744 FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH Since commit e672db628b (FindRuby: Rename variables to match case of module name, 2020-03-11, v3.18.0-rc1~546^2), the result variables named with the old `RUBY_` prefix are provided by compatibility code that maps from the new `Ruby_` prefix variables. There is no `Ruby_INCLUDE_PATH` variable, so do not try to map it to `RUBY_INCLUDE_PATH`. The latter is provided by dedicated compatibility code left from before that transition. Fixes: #21064 07 August 2020, 16:40:26 UTC
20ebaed Clang: Add support for passing VFS arguments 07 August 2020, 15:52:45 UTC
d993ebd clang-cl: Add '--' before source file On Linux and macOS, absolute paths start with `/` which may be interpreted by clang-cl as an option. To avoid this, we separate the source file path from preceding options with `--` to tell `clang-cl` it is not an option. 07 August 2020, 15:48:48 UTC
a94672b cmake: Change cmake_llvm_rc separator from -- to ++ to avoid conflict 07 August 2020, 15:47:15 UTC
d8f7a05 Merge topic 'cygwin-patches' ecc1961768 FindTclsh: Drop Cygwin-specific behavior and use POSIX code path af666acdf4 FindOpenGL: Drop Cygwin-specific behavior and use POSIX code path 8edbc59e46 install: Use case-sensitive pattern matching on Cygwin 24482499ea FindPerlLibs: Add versioned perl library name for Cygwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5092 07 August 2020, 15:05:39 UTC
304f159 Merge topic 'CUDAToolkit-no-nvcc' 7cc815a2a6 CUDAToolkit: Detect CUDA SDK that don't have nvcc Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Raul Tambre <raul@tambre.ee> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !5061 07 August 2020, 15:04:54 UTC
back to top