https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
451d1c8 CMake 3.24.4 08 March 2023, 14:15:32 UTC
a6373ca Merge branch 'backport-3.24-file-install-macos' into release-3.24 Merge-request: !8293 08 March 2023, 12:44:36 UTC
a5d6548 file(INSTALL): Fix file ownership regression when running as root on macOS Backport KWSys commit `51272e80e` (SystemTools: Avoid macOS copyfile semantic differences as root, 2023-03-07). Fixes: #24577 07 March 2023, 16:36:25 UTC
ab7085d Merge branch 'release-3.23' into release-3.24 03 March 2023, 17:58:40 UTC
c5f0dde Merge branch 'GoogleTest-type-param-suite' into release-3.24 Merge-request: !8282 03 March 2023, 17:58:20 UTC
3abd37f Merge branch 'GoogleTest-type-param-suite' into release-3.23 Merge-request: !8282 03 March 2023, 17:57:59 UTC
9aa9032 GoogleTest: Restore suite name for type-parametrized tests Fix a regression from commit 073dd1bd81 (GoogleTest: Change format for typed tests, 2022-02-07, v3.23.0-rc1~4^2) in the suite name detection. Co-authored-by: Evgeniy Shcherbina <ixsci@pm.me> Fixes: #24563 03 March 2023, 15:38:02 UTC
c0a8ffb Merge branch 'doc-header-only' into release-3.24 Merge-request: !8071 13 January 2023, 15:45:15 UTC
93696d0 Help: Restore cmake-buildsystem(7) header-only library example Since commit 4391913133 (Add INTERFACE libraries to generated buildsystem if they have SOURCES, 2020-07-20, v3.19.0-rc1~346^2~1) the "Eigen" example in the `cmake-buildsystem(7)` manual is supposed to show a header-only library in which the headers are attached as sources to be edited in IDEs. This was accidentally broken by commit 4b25a0d512 (Help/manual: Update header-only library example, 2022-04-22, v3.24.0-rc1~220^2) when updating the example to use a `FILE_SET`. Fixes: #24319 13 January 2023, 15:42:56 UTC
e15253a Merge branch 'release-3.23' into release-3.24 12 January 2023, 15:33:55 UTC
76ab7cb Merge branch 'backport-IntelLLVM-no-icpx-on-Windows' into release-3.24 Merge-request: !8041 12 January 2023, 15:33:50 UTC
878e8d2 Merge branch 'backport-IntelLLVM-no-icpx-on-Windows' into release-3.23 Merge-request: !8041 12 January 2023, 15:33:30 UTC
8834e4d IntelLLVM: Avoid finding not-yet-supported icpx on Windows Intel oneAPI 2023.0 added the `icpx` compiler front-end on Windows. It uses a GNU-like command-line, and is not yet supported by CMake. Avoid finding `icpx` as the CXX compiler on Windows until support is added. Fixes: #24266 Issue: #24314 12 January 2023, 15:23:38 UTC
05dffe6 Merge branch 'fix-cmzlib-crc32-fn-mangling' into release-3.24 Merge-request: !8049 12 January 2023, 14:15:59 UTC
7d92e36 zlib: Fix typo in mangling the crc32() function Fix the mangling of `crc32` by commit 29c578c8fb (zlib: Mangle symbols to avoid conflict with external transitive dependencies, 2022-06-10, v3.24.0-rc1~7^2). Fixes: #24281 11 January 2023, 22:29:04 UTC
33cf876 Merge branch 'test-git-local-defaultBranch' into release-3.24 Merge-request: !8060 11 January 2023, 22:13:40 UTC
baa8597 Tests: Fix CTest.UpdateGIT under repo-local defaultBranch config The default branch detection added by commit 26ec2e2b0c (Tests: Update CTest.UpdateGIT test for custom defaultBranch, 2020-12-02, v3.20.0-rc1~355^2) fails if the test is run inside a Git work tree whose `.git` directory configures a `defaultBranch` that is different from the global or system-wide value. Fix the detection to ignore the locally configured value so that we match the `git init` decision. 11 January 2023, 22:11:34 UTC
bf7ff59 Merge branch 'ci-xcode-14.2' into release-3.24 Merge-request: !8023 16 December 2022, 13:49:05 UTC
85d2ce0 gitlab-ci: update macOS jobs to use Xcode 14.2 15 December 2022, 22:43:58 UTC
9c29d00 Merge branch 'rel-win-sign-digest' into release-3.24 Merge-request: !7970 30 November 2022, 14:58:26 UTC
870f30a Utilities/Release: Use explicit digest for Win7-compatible signature Otherwise `signtool` warns. 30 November 2022, 14:16:22 UTC
0674870 Merge branch 'mingw-windres' into release-3.24 Merge-request: !7964 29 November 2022, 00:10:20 UTC
b47092f MinGW: Fix regression when windres is not found The fix in commit e9755bc7c1 (MinGW: Restore using windres when toolchain-prefixed name is not available, 2022-08-15, v3.24.1~4^2) incorrectly listed two entries in `CMAKE_RC_COMPILER_INIT`, which is only meant to have one value. Revise the logic to support multiple platform-specific names for the Windows Resource Compiler while still only using one name as the fallback when it is not found. Fixes: #24190 Issue: #23841 29 November 2022, 00:09:04 UTC
daa2fc5 Merge branch 'test-FindBoost-python-versions' into release-3.24 Merge-request: !7929 17 November 2022, 13:06:36 UTC
6b1f933 Tests: Update FindBoost.TestPython for Python 3.11 and 3.12 Follow up the python 3.11 and 3.12 support from: * commit 43844c5d82 (FindPython: Add support for Python 3.11, 2021-12-07, v3.22.2~20^2) * commit ca2877c039 (FindPython: add support for Python 3.12, 2022-05-11, v3.23.2~15^2) with an update for the FindBoost test. 16 November 2022, 19:34:07 UTC
8ad8c44 Merge branch 'release-3.23' into release-3.24 14 November 2022, 17:17:21 UTC
3e0ccd6 Merge branch 'compile-msvc-14.34-c++20' into release-3.24 Merge-request: !7910 14 November 2022, 17:16:46 UTC
2ac207f Merge branch 'compile-msvc-14.34-c++20' into release-3.23 Merge-request: !7910 14 November 2022, 17:16:27 UTC
a394c94 cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022 Adding missing narrow string conversion. This backports commit f3c918ef1b (cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022, 2022-10-20, v3.25.0-rc3~31^2) to the CMake 3.23 and 3.24 branches. Fixes: #24162 14 November 2022, 17:07:16 UTC
0325f04 Merge branch 'expat-c-no-extensions' into release-3.24 Merge-request: !7899 10 November 2022, 21:07:14 UTC
019af62 expat: Activate POSIX APIs even without compiler extensions Compile with the preprocessor definitions necessary for the `arc4random` family so it's available even when compiler extensions are not enabled. Similar things are done in cmbzip2, cmcurl, cmlibarchive, cmliblizma and cmlibuv. This issue surfaced on a nightly bot after glibc 2.36 added arc4random functions. cmlibarchive defines the necessary macro, but also relies on `HAVE_ARC4RANDOM_BUF`. cmlibarchive's check with the necessary macro defined was skipped due to cmexpat running the same check before, but without the macros, and it being cached. This extends commit c7c3e39e4f (Utilities: Activate POSIX APIs even without compiler extensions, 2022-06-02, v3.24.0-rc1~34^2) to cover our build of expat too. Issue: #20454 10 November 2022, 21:04:38 UTC
2780c3c Merge branch 'ci-xcode-14.1' into release-3.24 Merge-request: !7863 03 November 2022, 16:02:05 UTC
0d3d687 gitlab-ci: update macOS jobs to use Xcode 14.1 03 November 2022, 15:58:31 UTC
9684a58 Source: Replace uses of sprintf with safer snprintf in CMake 3.24 branch Backport commit d5694e4623 (Source: Replace uses of sprintf with safer snprintf, 2022-06-17, v3.25.0-rc1~587^2) to the CMake 3.24 branch. This is needed to compile without warnings using Xcode 14.1's macOS 13.0 SDK. 03 November 2022, 15:58:31 UTC
eea23d2 Source: Tell Git not to check whitespace in third-party curses form code 03 November 2022, 15:58:30 UTC
c974557 CMake 3.24.3 01 November 2022, 14:55:49 UTC
d697bbd Merge branch 'release-3.23' into release-3.24 01 November 2022, 14:40:34 UTC
91ccfa3 CMake 3.23.5 01 November 2022, 13:36:33 UTC
ae917dc Merge branch 'cpack-trace-argument' into release-3.24 Merge-request: !7824 27 October 2022, 13:25:24 UTC
77e4042 Merge branch 'vswhere-support-x86' into release-3.24 Merge-request: !7832 27 October 2022, 13:25:08 UTC
93a54db Merge branch 'release-3.23' into release-3.24 27 October 2022, 13:25:02 UTC
e677cc4 Merge branch 'ninja-intl-paths' into release-3.24 Merge-request: !7833 27 October 2022, 13:24:46 UTC
cd5826f Merge branch 'ninja-intl-paths' into release-3.23 Merge-request: !7833 27 October 2022, 13:24:29 UTC
a120506 Tests: Add case for ninja with non-ascii chars Issue: #24089 26 October 2022, 19:25:45 UTC
02a04dd Ninja: Restore support for non-ascii paths on Windows with ninja<=1.10 Revert commit bbdb000c55 (GlobalNinjaGenerator: enlarge file stream buffer, 2022-01-25, v3.23.0-rc1~68^2). Somehow `rdbuf()->pubsetbuf()` is resetting our imbued locale and `cm_codecvt` that handles encoding. Fixes: #24089 26 October 2022, 19:24:43 UTC
6eee8c9 VS: Fix crash finding vswhere on 32-bit Windows Since commit f85913fa08 (VS: Add support for enumerating VS instances with vswhere, 2022-04-11, v3.24.0-rc1~282^2), if the COM lookup does not report any VS instances, we fall back to finding vswhere. However, the `getenv` call returns nullptr if the `ProgramFiles(x86)` environment variable is not set. Update the logic to tolerate not-set environment variables. Also check the plain `ProgramFiles` environment variable. Fixes: #24090 26 October 2022, 15:12:46 UTC
85191f6 Merge branch 'release-3.23' into release-3.24 25 October 2022, 14:35:42 UTC
6f2e8ba Merge branch 'try_compile-CMP0128' into release-3.24 Merge-request: !7821 25 October 2022, 14:35:30 UTC
b5ebaa0 CPack: Require no argument for --trace and --trace-expand This was accidentally broken by commit 87c762d435 (CPack: Use cmCommandLineArgument instead of cmsys::CommandLineArguments, 2022-04-18, v3.24.0-rc1~258^2). Fixes: #24085 25 October 2022, 14:11:20 UTC
f58d714 Merge branch 'flang-windows' into release-3.24 Merge-request: !7818 24 October 2022, 16:54:01 UTC
166bc00 LLVMFlang: Add a required line to define linking rules on Windows This was missed in commit d34e5a98b8 (LLVMFlang: Add support for Windows, 2022-09-18, v3.25.0-rc1~102^2). 24 October 2022, 16:53:07 UTC
4f2bb02 Merge branch 'try_compile-CMP0128' into release-3.23 Merge-request: !7821 24 October 2022, 16:30:24 UTC
9028779 Tests: Avoid running C++11 test on GNU < 4.7 The test added in commit 50e90e2828 (try_compile: Honor CMP0128 setting in test project, 2022-10-18, v3.25.0-rc2~4^2) requires that the compiler support C++11 mode, so do not run it on GNU compilers that are too old. 24 October 2022, 16:04:57 UTC
b6ddcbc Merge branch 'release-3.23' into release-3.24 21 October 2022, 14:11:37 UTC
47063db Merge branch 'filesystem-path-c++03-abi' into release-3.24 Merge-request: !7813 20 October 2022, 23:03:52 UTC
199b3e5 Merge branch 'filesystem-path-c++03-abi' into release-3.23 Merge-request: !7813 20 October 2022, 23:03:19 UTC
ee9805c cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17 The `remove_filename` and `replace_extension` methods compute an offset between the whole path in a `std::string` and a part of a path in a `std::string_view`. This is done by subtracting their `.data()` pointers. However, C++17 adds a non-const `.data()` through which modification of the string is allowed. This means the copy-on-write implementation used by the pre-C++11 std::string GNU ABI must reallocate if the string has been copied. Our subtraction then computes an offset between two different allocations, which is undefined behavior. The workaround in commit b3ca4f9ad1 (cm/filesystem: Work around crash when compiled for CYGWIN/MSYS runtime, 2021-04-22, v3.21.0-rc1~271^2~2) avoided the problem by calling the non-const `.data()` to reallocate before constructing the `string_view`. Instead, explicitly call the const `.data()` method on the string, which does not reallocate. Fixes: #22090, #23328 20 October 2022, 22:31:50 UTC
81ebea4 Merge branch 'test-git-protocol-file' into release-3.24 Merge-request: !7812 20 October 2022, 17:47:08 UTC
79ce0f4 Tests: Explicitly allow usage of git file-based protocol in test cases Due to CVE-2022-39253, Git 2.30.6 sets `protocol.file.allow=user` by default. The change has also been backported to other Git versions by distros. This breaks some of our test cases that use the file-based protocol locally to simulate real workflows without requiring network access. In these cases the file protocol is safe, so explicitly enable it in the tests. 20 October 2022, 17:45:01 UTC
589aa44 Merge branch 'release-3.23' into release-3.24 19 October 2022, 13:58:01 UTC
588c9c4 Merge branch 'try_compile-CMP0128' into release-3.24 Merge-request: !7803 18 October 2022, 18:25:52 UTC
96172ba Merge branch 'try_compile-CMP0128' into release-3.23 Merge-request: !7803 18 October 2022, 18:25:26 UTC
263d733 Merge branch 'android-path-suffixes' into release-3.24 Merge-request: !7805 18 October 2022, 18:22:17 UTC
7e5b48a Android: Avoid searching API level directories matching architecture bitness When cross-compiling for Android, the library path suffixes `/<number>/` refer to API level specific platform libraries instead of architecture bitness. Disable path suffix use under NDK to avoid incorrect inclusion of API level specific libraries below the targeted API level. Fixes: #23830 18 October 2022, 18:21:51 UTC
50e90e2 try_compile: Honor CMP0128 setting in test project Some projects pass a raw `-std=` flag to the compiler in the `try_compile` project. If they do not set CMP0128 to NEW, we should not append a `-std=` flag where we did not before the policy was added. Fixes: #24063 18 October 2022, 17:38:00 UTC
9fefa9e Merge branch 'FindJNI-android-api' into release-3.24 Merge-request: !7801 17 October 2022, 19:53:41 UTC
c833df0 FindJNI: replace CMAKE_ANDROID_API by CMAKE_SYSTEM_VERSION In commit 00c4f488f2 (FindJNI: support Android NDK, 2022-03-18, v3.24.0-rc1~325^2) we used `CMAKE_ANDROID_API` to check the Android API level. However, `CMAKE_SYSTEM_VERSION` is the authoritative value. When cross-compiling for Android, an unset `CMAKE_ANDROID_API` can result in failure to locate JNI because the `NativeHelper` component cannot be found. In this case, the component is falsely assumed to be available by default (and thus required) since the comparison against an unset `CMAKE_ANDROID_API` variable evaluates to true. Use `CMAKE_SYSTEM_VERSION` to determine the Android API level instead. Issue: #23830 17 October 2022, 19:51:10 UTC
06294a1 Merge branch 'release-3.23' into release-3.24 17 October 2022, 14:01:52 UTC
7780588 Merge branch 'doc-timestamp-f' into release-3.24 Merge-request: !7796 14 October 2022, 15:33:14 UTC
367f10f Merge branch 'doc-timestamp-f' into release-3.23 Merge-request: !7796 14 October 2022, 15:32:49 UTC
7d25ae7 Help: Add versionadded for string(TIMESTAMP) %f specifier This was accidentally left out of commit c050d6a01e (string(TIMESTAMP): add %f specifier for microseconds, 2022-01-27, v3.23.0-rc1~59^2). 14 October 2022, 15:28:38 UTC
76f13bc Merge branch 'flang-implicit-link-info' into release-3.24 Merge-request: !7781 11 October 2022, 20:17:23 UTC
0301779 LLVMFlang: Add support for mixed-language linking with Fortran Parse implicit link information for this compiler to support mixed-language linking. This was missed by commit 85749766df (LLVMFlang: Add support for LLVM Flang, 2021-07-07, v3.24.0-rc1~86^2). Also activate mixed-language test cases that would have caught this. Issue: #22387 11 October 2022, 19:38:48 UTC
5d24e9e Merge branch 'release-3.23' into release-3.24 11 October 2022, 13:49:59 UTC
eec8a7b Merge branch 'cpack-nsis-uninstaller' into release-3.24 Merge-request: !7774 11 October 2022, 13:49:50 UTC
d82e2d5 Merge branch 'cpack-nsis-uninstaller' into release-3.23 Merge-request: !7774 10 October 2022, 14:43:41 UTC
8721658 CPack/NSIS: Fix installer not waiting for uninstaller to finish In commit b795c96727 (CPack/NSIS: Fix uninstall command when run from installer, 2022-03-21, v3.23.0-rc5~9^2~1) we incorrectly removed the `_?` parameter when calling the uninstaller during installation. This parameter is however essential for ExecWait to actually wait for the uninstaller to finish. Without it, the uninstaller is started in the background and installer and uninstaller run at the same time. See https://nsis.sourceforge.io/Docs/Chapter3.html#installerusageuninstaller Add back the `_?` parameter to fix this regression. Use another approach to solve the problem motivating the original change. Fixes: #24041 10 October 2022, 14:41:45 UTC
db53376 Merge topic 'add_cuda_11.8_new_archs' into release-3.24 7f4cbf6594 CUDA: Add support for the two new architectures in 11.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7761 10 October 2022, 13:50:51 UTC
1aa7351 Merge topic 'Intel-Fortran-warn-errors' into release-3.24 13f3382b1c Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag ab8a0a106e COMPILE_WARNING_AS_ERROR: Fix internal formatting of options table Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7758 10 October 2022, 13:49:45 UTC
7f4cbf6 CUDA: Add support for the two new architectures in 11.8 CUDA 11.8 introduces ada ( 89 ), and hopper ( 90 ). 07 October 2022, 19:58:53 UTC
13f3382 Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag Update the compiler options table added by commit 76a08cd253 (COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors, 2022-04-21, v3.24.0-rc1~173^2) to use the Intel Fortran compilers' dedicated `-warn*` flags. 07 October 2022, 14:05:49 UTC
ab8a0a1 COMPILE_WARNING_AS_ERROR: Fix internal formatting of options table In commit 76a08cd253 (COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors, 2022-04-21, v3.24.0-rc1~173^2) we formatted the options table entries as command-line string fragments. Since they are part of the `CMAKE_${lang}_COMPILE_OPTIONS_*` tables, they should be formatted as `;`-separated lists of compiler options. 07 October 2022, 14:05:21 UTC
b18a860 Merge topic 'ifw-4.4' into release-3.24 e848ce21c9 CPack/IFW: Add support for QtIFW 4.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7750 06 October 2022, 12:41:49 UTC
e848ce2 CPack/IFW: Add support for QtIFW 4.4 Fixes: #24027 05 October 2022, 19:48:08 UTC
8cadea4 Merge branch 'release-3.23' into release-3.24 04 October 2022, 18:23:00 UTC
34a6da3 CMake 3.23.4 04 October 2022, 17:26:33 UTC
a5e2597 Merge topic 'ci-xcode-14.0' into release-3.24 9cdf4c9be4 gitlab-ci: update macOS jobs to use Xcode 14.0 5d2c2b2558 Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0 12c6fec6b4 Xcode: Drop CMAKE_INTDIR= definition in Swift targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7732 03 October 2022, 14:31:26 UTC
9cdf4c9 gitlab-ci: update macOS jobs to use Xcode 14.0 30 September 2022, 17:08:06 UTC
5d2c2b2 Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0 Issue: #24011 30 September 2022, 17:08:05 UTC
12c6fec Xcode: Drop CMAKE_INTDIR= definition in Swift targets Xcode 14.0 warns that Swift doesn't support definition values. Therefore `CMAKE_INTDIR` is not useful to Swift sources. Drop it. 30 September 2022, 17:08:05 UTC
dc2358f Merge topic 'ctest_ninja_full_output' into release-3.24 65260d6c1e ctest: only report make-level errors when no others are found Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7710 27 September 2022, 14:20:29 UTC
65260d6 ctest: only report make-level errors when no others are found In commit ab9ad2a6a0 (ctest: report make-level errors to CDash when using launchers, 2020-09-24, v3.19.0-rc1~84^2~1) we taught CTest to capture and report errors from the build command when using launchers. This had the unintended side effect of reporting a separate build error containing the full build output when the build command returns non-zero. To fix this problem, we now only report build command errors from CTest launchers when no other more specific build errors are found. Fixes: #23991 26 September 2022, 13:40:58 UTC
e7fd69f Merge topic 'flang-windows' into release-3.24 d34e5a98b8 LLVMFlang: Add support for Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7692 23 September 2022, 12:42:20 UTC
dbf9823 Merge branch 'release-3.23' into release-3.24 21 September 2022, 14:45:41 UTC
3e20442 Merge topic 'parse-large-int' into release-3.24 8fc822e13a file: Avoid strange istringstream crash in cmake.org binaries on Alpine Linux 31f158e4c8 cmStringAlgorithms: Add functions to parse strings to long long integers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7698 21 September 2022, 14:12:10 UTC
d34e5a9 LLVMFlang: Add support for Windows 21 September 2022, 11:57:16 UTC
22280bc Merge branch 'parse-large-int' into release-3.23 Merge-request: !7698 20 September 2022, 19:17:16 UTC
8fc822e file: Avoid strange istringstream crash in cmake.org binaries on Alpine Linux Somehow using `istringstream` and `operator >>` to parse an integer crashes on Alpine Linux, at least when compiled with the settings we use for the official `cmake.org` Linux binaries. Since commit fd0c285b12 (file: Fix types of the OFFSET and LIMIT arguments, 2022-01-04, v3.23.0-rc1~133^2), this causes the `file(READ)` command to crash when parsing its `LIMIT` or `OFFSET` argument. Parse the input string with our dedicated helper to avoid the crash. Fixes: #23872 20 September 2022, 16:00:08 UTC
31f158e cmStringAlgorithms: Add functions to parse strings to long long integers 20 September 2022, 16:00:08 UTC
27a05e8 Merge topic 'matlab-r2022b' into release-3.24 edbdfba3f5 FindMatlab: add R2022b 9.13 version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7683 19 September 2022, 14:19:11 UTC
back to top