https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
d566bd9 CMake 3.23.3 28 July 2022, 15:46:12 UTC
b9efb00 Merge branch 'release-3.22' into release-3.23 28 July 2022, 15:30:01 UTC
0bfd4f1 CMake 3.22.6 28 July 2022, 14:41:34 UTC
ee64500 Merge branch 'release-3.22' into release-3.23 28 July 2022, 14:40:28 UTC
c6735d6 Merge branch 'ci-xcode-13.4' into release-3.23 Merge-request: !7520 28 July 2022, 13:36:05 UTC
faa4aed Merge branch 'ci-xcode-13.4' into release-3.22 Merge-request: !7520 28 July 2022, 13:35:50 UTC
eddf057 gitlab-ci: update macOS jobs to use Xcode 13.4 28 July 2022, 13:27:27 UTC
e77ec7f Merge branch 'backport-3.23-cmake-P-path-args' into release-3.23 Merge-request: !7494 22 July 2022, 21:01:01 UTC
261fa5d cmake: In -P mode ignore extra paths on the command line Fixes: #23748 22 July 2022, 17:53:52 UTC
314135c cmake: simplify to a single source of truth of working mode 22 July 2022, 17:53:12 UTC
64b22cd Merge branch 'export-try-compile-crash' into release-3.23 Merge-request: !7472 18 July 2022, 18:57:58 UTC
29c7546 cmGlobalGenerator: Only compute build files for all targets If we're creating generation objects for imported targets only, we don't need the export sets. Only compute build file generators if generating for all targets. Fixes: #23709 13 July 2022, 15:34:34 UTC
3bae50e Merge branch 'release-3.22' into release-3.23 08 July 2022, 16:18:00 UTC
5924dc2 Merge branch 'rel-macos-sign-notarize' into release-3.23 Merge-request: !7463 08 July 2022, 16:15:55 UTC
d4762d4 Merge branch 'rel-macos-sign-notarize' into release-3.22 Merge-request: !7463 08 July 2022, 16:15:31 UTC
432ae51 Utilities/Release: Update macOS notarization script to use notarytool `xcnotary` is no longer needed since `altool` has been deprecated in favor of `notarytool`, which has builtin support for waiting. 08 July 2022, 16:14:23 UTC
8b89649 Merge branch 'release-3.22' into release-3.23 07 July 2022, 13:03:38 UTC
05a5d35 Merge branch 'FindLAPACK-nvhpc' into release-3.23 Merge-request: !7452 07 July 2022, 13:01:20 UTC
7cc61ff Merge branch 'FindLAPACK-nvhpc' into release-3.22 Merge-request: !7452 07 July 2022, 13:00:30 UTC
28d52a4 FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilers Since commit 2c9e623e31 (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2) we try the `-fortranlibs` option as a dependency of the NVHPC LAPACK. That flag is specific to the NVHPC/PGI compilers, so use it conditionally with them. Without this modification, CMake fails to find LAPACK if - compiler ID is GNU - `BLA_STATIC` is `ON` - `BLA_VENDOR` is not defined or set to `All` Fixes: #23705, #22878 06 July 2022, 17:58:47 UTC
5290047 Merge branch 'file-set-crash' into release-3.23 Merge-request: !7420 30 June 2022, 12:22:27 UTC
3fee539 install(EXPORT): Check for missing file sets at generate time Missing file sets were originally checked at configure time in install(TARGETS ... EXPORT), but were not checked at generate time. If a file set was added after install(TARGETS ... EXPORT) was called, an abortion error was thrown. Check again at generate time to gracefully display an error message instead of crashing. Fixes: #23680 29 June 2022, 19:05:32 UTC
49a9741 Merge branch 'lcc-liblfortran-renamed' into release-3.23 Merge-request: !7407 27 June 2022, 17:07:31 UTC
57da7a4 LCC: link with -lgfortran instead of -llfortran since 1.26.03 Since LCC 1.26.03, compiler developers decided to rename liblfortran to libgfortran (internal reference: mcstbug#131633), and despite it's stated that "-llfortran will be automatically treated as -lgfortran", it actually does not work (and there's even no symlinks like liblfortran.* -> libgfortran.*); so we have to explicitly choose which library we have to link in. Fixes: #23646 27 June 2022, 17:02:53 UTC
8321c3d Merge branch 'backport-3.23-ExternalProject-stamp-cfgdir' into release-3.23 Merge-request: !7396 22 June 2022, 12:41:50 UTC
5022b42 ExternalProject: Fix regression in stamp creation for Xcode+iOS The change to `_ep_add_mkdir_command` in commit 5fbac2bb24 (ExternalProject: Move inline scripts to separate files, 2022-01-22, v3.23.0-rc1~101^2) did not account for the possibility that `CMAKE_CFG_INTDIR` is `$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)` instead of just the configuration name. Pass the value into the helper script on the command line so that the native buildsystem placeholders are evaluated. Fixes: #23645 21 June 2022, 22:27:44 UTC
73afa6e Merge branch 'release-3.22' into release-3.23 11 June 2022, 09:38:12 UTC
65f2e92 Merge branch 'xcode-14' into release-3.23 Merge-request: !7350 11 June 2022, 09:37:53 UTC
7b43112 Merge branch 'xcode-14' into release-3.22 Merge-request: !7350 11 June 2022, 09:37:16 UTC
627c08e Tests: Teach RunCMake to ignore Xcode DVTSDK warnings On some Xcode versions, `xcodebuild` may warn: ... xcodebuild[...] [MT] DVTSDK: Warning: SDK path collision for path ... Teach RunCMake to drop such incidental lines before matching against expected output. 10 June 2022, 18:24:03 UTC
ab40020 Xcode: Suppress "Run Script" build phase warning during compiler id warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. 10 June 2022, 18:24:03 UTC
89e1113 Xcode: Use ad-hoc signing during compiler id on macOS Xcode 14 no longer accepts an empty signing identity for macOS. However, Xcode in general does not accept an ad-hoc signing identity for iOS. Switch based on the target platform. Fixes: #23609 10 June 2022, 18:22:40 UTC
f02b6af Merge topic 'ci-ninja-1.11.0' into release-3.23 62689fcf9c ci: update to use ninja 1.11.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7319 03 June 2022, 13:46:17 UTC
62689fc ci: update to use ninja 1.11.0 02 June 2022, 16:38:00 UTC
84fe677 Merge topic 'tutorial-cmath' into release-3.23 5c84eca210 Tutorial: Simplify logic checking for cmath functions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7314 02 June 2022, 13:21:05 UTC
5c84eca Tutorial: Simplify logic checking for cmath functions Since commit 07223c5c27 (Tutorial: Update Step 5 to work on Windows, 2020-02-18, v3.18.0-rc1~655^2) the logic does not work on non-Windows platforms when cmake is re-run on an existing build tree. It is also more complicated than we'd like for a tutorial example. Avoid the need to consider the `m` library case by performing the check as C++. Since `check_cxx_symbol_exists` cannot handle overloaded functions like `exp` and `log`, check with `check_cxx_source_compiles` instead. This also presents a more general-purpose example in the tutorial. Fixes: #23524 01 June 2022, 17:57:47 UTC
18be0f9 Merge branch 'release-3.22' into release-3.23 01 June 2022, 16:03:43 UTC
b243367 CMake 3.22.5 01 June 2022, 15:15:18 UTC
0ab3cb8 Merge branch 'release-3.22' into release-3.23 01 June 2022, 14:45:37 UTC
a12cc91 Merge branch 'release-3.21' into release-3.22 01 June 2022, 14:45:23 UTC
97073b1 CMake 3.21.7 01 June 2022, 13:53:26 UTC
3ede9ed Merge branch 'release-3.22' into release-3.23 31 May 2022, 15:57:13 UTC
c262556 Merge branch 'release-3.21' into release-3.22 31 May 2022, 15:56:43 UTC
245edf3 Merge branch 'release-3.20' into release-3.21 31 May 2022, 15:56:27 UTC
eeb6dca Merge topic 'cmake-gui-locale' into release-3.23 ae13524e3b cmake-gui: Restore support for internationalization with Qt5 on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7303 31 May 2022, 15:55:08 UTC
5f6c4c8 Merge branch 'cmake-gui-locale' into release-3.22 Merge-request: !7303 27 May 2022, 16:02:11 UTC
7b3d228 Merge branch 'cmake-gui-locale' into release-3.21 Merge-request: !7303 27 May 2022, 16:02:01 UTC
a539aed Merge branch 'cmake-gui-locale' into release-3.20 Merge-request: !7303 27 May 2022, 16:01:41 UTC
ae13524 cmake-gui: Restore support for internationalization with Qt5 on Windows Restore the logic removed by commit 035078d847 (cmake-gui: Remove explicit locale setup, 2020-12-17, v3.20.0-rc1~205^2~6), but only with Qt5 on Windows. Leave a FIXME comment to support Qt6 later. Fixes: #23562 Issue: #23565 27 May 2022, 15:52:51 UTC
a8bd06d CMake 3.23.2 25 May 2022, 13:42:51 UTC
8f2484e Merge topic 'doc-hip-genex-versionadded' into release-3.23 9f863cbd93 Help: Document when HIP_COMPILER generator expressions were added Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7289 24 May 2022, 17:59:27 UTC
a2fb6ef Merge branch 'release-3.22' into release-3.23 24 May 2022, 17:36:38 UTC
38e1ec0 Merge topic 'backport-update-libarchive' into release-3.23 e2fe1d17e6 libarchive: Update build within CMake after changes in 3.5.3 ac5e524763 libarchive: include archive_platform.h first in blake2s sources b93d8b1714 Merge branch 'upstream-LibArchive' into update-libarchive 9fd16c5b5b LibArchive 2022-02-08 (673c1eae) de38c89252 libarchive: Update script to get 3.5.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7294 24 May 2022, 17:36:15 UTC
d763ec0 Merge topic 'backport-update-libarchive' into release-3.22 e2fe1d17e6 libarchive: Update build within CMake after changes in 3.5.3 ac5e524763 libarchive: include archive_platform.h first in blake2s sources b93d8b1714 Merge branch 'upstream-LibArchive' into update-libarchive 9fd16c5b5b LibArchive 2022-02-08 (673c1eae) de38c89252 libarchive: Update script to get 3.5.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7294 24 May 2022, 17:35:06 UTC
e2fe1d1 libarchive: Update build within CMake after changes in 3.5.3 24 May 2022, 16:35:53 UTC
ac5e524 libarchive: include archive_platform.h first in blake2s sources This is the libarchive convention in all other `.c` sources. It ensures that the configured `_WIN32_WINNT` value is defined before including any system headers. 24 May 2022, 16:35:26 UTC
b93d8b1 Merge branch 'upstream-LibArchive' into update-libarchive * upstream-LibArchive: LibArchive 2022-02-08 (673c1eae) 24 May 2022, 16:20:20 UTC
9fd16c5 LibArchive 2022-02-08 (673c1eae) Code extracted from: https://github.com/libarchive/libarchive.git at commit 673c1eae896c837081a627807b9d5e990684dbf7 (v3.5.3). 24 May 2022, 16:18:12 UTC
de38c89 libarchive: Update script to get 3.5.3 24 May 2022, 16:17:57 UTC
9f863cb Help: Document when HIP_COMPILER generator expressions were added These were added by commit b50bfc8913 (HIP: Add language to CMake, 2020-08-28, v3.21.0-rc1~66^2~4). 24 May 2022, 14:23:43 UTC
95ec7b4 Merge branch 'release-3.22' into release-3.23 20 May 2022, 13:04:47 UTC
f748ea2 Merge topic 'vs2022-only' into release-3.23 235b5fb05b file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7282 20 May 2022, 13:03:59 UTC
a57652b Merge branch 'release-3.21' into release-3.22 19 May 2022, 21:55:58 UTC
97ec556 Merge branch 'vs2022-only' into release-3.22 Merge-request: !7282 19 May 2022, 21:55:41 UTC
f334235 Merge branch 'vs2022-only' into release-3.21 Merge-request: !7282 19 May 2022, 21:55:04 UTC
235b5fb file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019 Find MSVC tools in VS 2022 installation. 19 May 2022, 21:50:06 UTC
2ca51e6 Merge topic 'cpack-nuget-components-on-windows' into release-3.23 066ff258db CPack/NuGet: Restore component packaging on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7280 19 May 2022, 13:39:58 UTC
066ff25 CPack/NuGet: Restore component packaging on Windows The change from `\` to `/` in commit dade75509f (CPack/NuGet: Fix nuspec file generation for UNIX-style OS, 2020-12-21, v3.20.0-rc1~243^2) does not work on Windows. Use `cmake_path` to form a path to an image directory with preinstalled files. Fixes: #22489 18 May 2022, 15:12:02 UTC
640268c Merge topic 'ccmake-fix-infinite-loop-search' into release-3.23 432a8ab739 ccmake: Fix infinite loop during invalid search Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7269 18 May 2022, 12:43:30 UTC
432a8ab ccmake: Fix infinite loop during invalid search Fix issue introduced in commit 2defe9ff95 (ccmake: Fix crash when deleting all cache entries, 2022-05-12). Leaving the Empty Cache widget always on the Entry list had unforeseen consequences, including that it caused an infinite loop when searching for a string that did not match any variables. 18 May 2022, 12:04:10 UTC
44ccfdb Merge topic 'clang-imsvc' into release-3.23 23a52561c7 Clang: Use -imsvc flag without space to support Clang tools Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: hihig2001 <hihig@bluehole.net> Merge-request: !7274 18 May 2022, 12:02:09 UTC
23a5256 Clang: Use -imsvc flag without space to support Clang tools Since commit bb61c2d024 (Clang: use -imsvc for system include dirs when running on Windows, 2020-09-16, v3.19.0-rc1~162^2) we use the `-imsvc` flag followed by the include directory as a separate argument. Some versions of `clang-tidy` do not support the flag unless the include directory is attached to it, so use that form instead. A similar fix was made by commit 3a8b6653dc (MSVC: Use -external:I flag without space to support Clang tools, 2022-01-11, v3.22.2~8^2). Fixes: #23517 17 May 2022, 15:09:15 UTC
5b30961 Merge branch 'release-3.22' into release-3.23 17 May 2022, 12:48:45 UTC
e05a476 Merge topic 'FortranCInterface-gcc12' into release-3.23 cb616d43d6 FortranCInterface: Fix failure with gfortran 12 and Clang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7266 17 May 2022, 12:47:30 UTC
4a9e2a1 Merge branch 'FortranCInterface-gcc12' into release-3.22 Merge-request: !7266 16 May 2022, 15:19:29 UTC
cb616d4 FortranCInterface: Fix failure with gfortran 12 and Clang The C flags added by commit 6a0ce19ce1 (FortranCInterface: Fix compatibility with GCC gfortran 12 LTO, 2022-01-19, v3.22.2~5^2) should only be added for the GNU C compiler. Fixes: #23500 Issue: #23123 16 May 2022, 15:18:00 UTC
29d23ec Merge topic 'cuda-arch-off-vs' into release-3.23 9fe41ecf36 VS: Fix CUDA CodeGeneration field for CMAKE_CUDA_ARCHITECTURES=OFF Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !7261 16 May 2022, 13:24:52 UTC
9fe41ec VS: Fix CUDA CodeGeneration field for CMAKE_CUDA_ARCHITECTURES=OFF If we add no CUDA architecture flags, write an empty `CodeGeneration` field to tell the CUDA Toolkit's VS integration not to add its default flags. We already use this approach for `CMAKE_CUDA_ARCHITECTURES=all` so that the `-arch=all` flag can be added via `AdditionalOptions`. Fixes: #23490 13 May 2022, 15:34:51 UTC
c1d980f Merge topic 'ccmake-delete-cache' into release-3.23 2defe9ff95 ccmake: Fix crash when deleting all cache entries e1c85e29f4 ccmake: Move Initialization of Fields Inline Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7257 13 May 2022, 12:45:50 UTC
f8a148f Merge branch 'release-3.22' into release-3.23 13 May 2022, 12:43:22 UTC
165208c Merge topic 'FindPkgConfig-LIBRARY_PATH' into release-3.23 11c8da94d4 FindPkgConfig: Fix preservation of ENV{PKG_CONFIG_ALLOW_SYSTEM_LIBS} Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7258 13 May 2022, 12:42:48 UTC
a0a1166 Merge topic 'FindPython-3.12' into release-3.23 ca2877c039 FindPython: add support for Python 3.12 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7255 13 May 2022, 12:41:55 UTC
384c752 Merge topic 'ci-msvc-19.32' into release-3.23 cc93d2af08 gitlab-ci: Update Windows builds to MSVC 19.32 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7259 13 May 2022, 12:40:45 UTC
cc93d2a gitlab-ci: Update Windows builds to MSVC 19.32 toolset 12 May 2022, 21:47:44 UTC
2defe9f ccmake: Fix crash when deleting all cache entries Prevents crash when deleting all cache entries. Additionally, if advanced entries are hidden, no longer show the first advanced entry when deleting all visible entries. Fixes: #23499 12 May 2022, 20:43:15 UTC
e1c85e2 ccmake: Move Initialization of Fields Inline Move initialization of simple fields in cmCursesMainForm inline. 12 May 2022, 20:40:58 UTC
d478dda Merge branch 'FindPkgConfig-LIBRARY_PATH' into release-3.22 Merge-request: !7258 12 May 2022, 17:34:21 UTC
11c8da9 FindPkgConfig: Fix preservation of ENV{PKG_CONFIG_ALLOW_SYSTEM_LIBS} Fix the ENV save/restore added by commit 36979f5b43 (FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_LIBRARY_PATH in environment, 2021-07-13, v3.22.0-rc1~407^2) to unset the variable if it was originally not set. While at it, clarify the value to which we temporarily set it. The `pkg-config` and `pkgconf` tools only check that the variable is set, and do not care about the value. Set it to a more true-looking value. Issue: #22148 12 May 2022, 17:18:24 UTC
ca2877c FindPython: add support for Python 3.12 12 May 2022, 14:55:11 UTC
2019bf5 Merge topic 'doc-package-compatibility-mode' into release-3.23 a82163839a CMakePackageConfigHelpers: Fix note about version files supporting ranges Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7254 12 May 2022, 13:28:15 UTC
a821638 CMakePackageConfigHelpers: Fix note about version files supporting ranges In commit 55c3b6a77e (CMakePackageConfigHelpers: Relax restrictions on version range, 2019-05-30, v3.20.0-rc1~295^2~1) the documentation for write_basic_package_version_file documented the support of version ranges by the generated version files, however the note wrongly specifies a COMPATIBILITY_MODE argument, instead of COMPATIBILITY. 11 May 2022, 18:00:38 UTC
cc20701 Merge topic 'Java-version-handling' into release-3.23 93e18a4eb6 FindJava, FindJNI: ensure correct handling of versions on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7241 06 May 2022, 12:57:24 UTC
93e18a4 FindJava, FindJNI: ensure correct handling of versions on Windows * versions are sorted in correct order * EXACT keyword is taken into account Fixes: #23479 05 May 2022, 09:14:52 UTC
6ce2e0b Merge topic 'FindPython-fix-typo-error' into release-3.23 fff8d5b212 FindPython: fix typo error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7233 04 May 2022, 15:07:09 UTC
28957f7 Merge topic 'avoid-remove-empty-path' into release-3.23 71ded12a75 cmGeneratedFileStream: Do not remove empty path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7223 03 May 2022, 15:25:08 UTC
4a215d2 Merge topic 'restore-CPACK_PACKAGEMAKER_CHOICES' into release-3.23 d099136add productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7220 03 May 2022, 15:24:10 UTC
fff8d5b FindPython: fix typo error Fixes: #23476 03 May 2022, 08:46:13 UTC
71ded12 cmGeneratedFileStream: Do not remove empty path If `Close()` is called when a file was never opened, we have no temporary file path. Do not try to remove it. Some implementations of `unlink()` crash on an empty path (though the documented behavior is to fail with `ENOENT`). Fixes: #23414 29 April 2022, 15:56:59 UTC
d099136 productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variable In 2a8df7e7db (productbuild: Don't write rootVolumeOnly attribute if writing domains, 2022-03-21), the variable holding the main contents of the distribution.dist XML file was renamed from CPACK_PACKAGEMAKER_CHOICES to CPACK_APPLE_PKG_INSTALLER_CONTENT. This reflected the fact that the PackageMaker generator is deprecated. The new variable also includes more details than the old one held. Some projects were relying on the old variable name, so we need to still set that to the same contents as it would have previously provided. Neither of these variables were previously documented, but the older variable was mentioned in enough semi-official places that it essentially became semi-supported. Document both variables and highlight that the older one is deprecated. Fixes: #23467 29 April 2022, 14:28:05 UTC
a8c8842 Merge topic 'doc-cmake.org-tutorial-archive' into release-3.23 4cb616fed6 Tutorial: Provide a source archive when published on cmake.org 37fb70591e Utilities/Sphinx: Add variables listing pre-sphinx commands eb7d913a21 Utilities/Sphinx: Clarify names of variables listing post-sphinx commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7215 29 April 2022, 13:26:16 UTC
back to top