https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
91ccfa3 CMake 3.23.5 01 November 2022, 13:36:33 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
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
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
96172ba Merge branch 'try_compile-CMP0128' into release-3.23 Merge-request: !7803 18 October 2022, 18:25:26 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
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
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
34a6da3 CMake 3.23.4 04 October 2022, 17:26:33 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
5d80d7c Merge branch 'findCUDAToolkit_declare_deps_for_targets_once' into release-3.23 Merge-request: !7633 06 September 2022, 13:14:57 UTC
f0918fe FindCUDAToolkit: Correctly state cusolver and cublas dependencies Fixes #23920 02 September 2022, 16:24:40 UTC
e2d03ce Merge branch 'FindGTest-gmock-needs-gtest' into release-3.23 Merge-request: !7523 29 July 2022, 18:07:08 UTC
1aa95e1 FindGTest: Create the gmock targets only when GTest has been found When we introduced the `GTest::gmock` and `GTest::gmock_main` targets in commit 50bf457a0d (FindGTest: Add target for gmock library, 2021-10-17, v3.23.0-rc1~321^2) we failed to handle the case where GTest isn't found. Don't construct gmock targets that depend on non-existent gtest targets when gtest failed to be found. 29 July 2022, 18:05:55 UTC
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
back to top