https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
07d351b CMake 3.22.4 12 April 2022, 13:06:27 UTC
5ac0c54 Merge branch 'xcode-pch' into release-3.22 Merge-request: !7166 12 April 2022, 12:11:58 UTC
476c6a8 PCH: Fix Xcode non-pch language exclusion Fix a regression caused by commit bbcdac4e5d (PCH: Fix all-language precompile header support in Xcode, 2021-08-07, v3.22.0-rc1~140^2). Fixes: #23138 11 April 2022, 18:16:33 UTC
fcf1fcf Tests: Ignore all classes in Xcode internal objc warnings Xcode on Apple Silicon warns not only about AMSupportURL classes but also many more. 11 April 2022, 18:15:52 UTC
8242631 Merge branch 'doc-qhelpgenerator' into release-3.22 Merge-request: !7150 07 April 2022, 14:03:59 UTC
bf69fa3 Utilities/Sphinx: Update qthelp generation to qhelpgenerator `qcollectiongenerator` is deprecated in favor of `qhelpgenerator`. 07 April 2022, 13:37:37 UTC
37904ab Help: Add "Updates" section header in 3.22 release notes This was accidentally left out in commit 1461eff899 (Help: Add missing 3.22.1 section to the release notes, 2022-01-24, v3.22.2~1^2). 07 April 2022, 13:33:03 UTC
8070ff3 Merge branch 'ci-cmake.org-help' into release-3.22 Merge-request: !7146 06 April 2022, 16:55:28 UTC
b691906 gitlab-ci: Build qthelp-format release documentation for cmake.org Previously the qthelp-format release documentation on `cmake.org` was built manually. 06 April 2022, 13:59:14 UTC
1ceec19 gitlab-ci: Add objects.inv to cmake.org html documentation 06 April 2022, 13:24:48 UTC
1ee80fc Merge branch 'ci-cmake.org-help' into release-3.22 Merge-request: !7144 05 April 2022, 21:47:26 UTC
2808281 gitlab-ci: update cmake.org documentation in release package pipeline 05 April 2022, 20:09:55 UTC
ed00a29 gitlab-ci: consolidate jobs for cmake.org/cmake/help/git-{master,stage} docs 05 April 2022, 20:09:55 UTC
5c2e8ce Utilities/Sphinx: Add OpenSearch link to html page headers on cmake.org Reference an OpenSearch description file that sits outside the content of any specific version so we only need to maintain one and so that it can reference the latest version. This was previously added in a custom branch for building the cmake.org reference documentation. 05 April 2022, 20:09:54 UTC
a14905d Utilities/Sphinx: Add option to build outdated version banner for cmake.org This was previously added in a custom branch for building the cmake.org reference documentation. 05 April 2022, 20:09:54 UTC
cca73b5 Utilities/Sphinx: Add undocumented option to build docs for cmake.org 05 April 2022, 20:09:54 UTC
fa136ae Merge branch 'ci-release-manual' into release-3.22 Merge-request: !7143 05 April 2022, 19:16:55 UTC
eb41061 gitlab-ci: start release package pipelines manually A release pipeline is always created by manual execution of a pipeline schedule. Require the initial pipeline jobs to be started manually too so that we can later add separate components to play separately. 05 April 2022, 19:00:17 UTC
3a90800 gitlab-ci: simplify package pipeline job conditions Use the job stage to distinguish upload jobs instead of an explicit variable. 05 April 2022, 19:00:17 UTC
9a1b301 gitlab-ci: add sanity check to upload jobs Ensure that the upload destination is not empty. 05 April 2022, 19:00:17 UTC
95888cd Merge branch 'backport-3.22-ci-package-uploads' into release-3.22 Merge-request: !7142 04 April 2022, 17:39:31 UTC
cb44e0d gitlab-ci: distinguish release and development pipeline schedules Redefine the `CMAKE_CI_PACKAGE` pipeline schedule variable to indicate whether it is for a development version (`dev`) or a release version (`v[0-9]...`). Use this to automatically turn package upload jobs on or off without having to edit the jobs in `.gitlab-ci.yml` for release branches. 04 April 2022, 17:23:37 UTC
3a9a9a3 gitlab-ci: clarify name of package upload job template The template is used to upload both source and binary packages. 04 April 2022, 17:23:35 UTC
345a7e3 Merge branch 'release-3.21' into release-3.22 26 March 2022, 12:36:34 UTC
0906a9b Merge branch 'aix-exe-exports' into release-3.22 Merge-request: !7120 26 March 2022, 12:36:31 UTC
024204f Merge branch 'aix-exe-exports' into release-3.21 Merge-request: !7120 26 March 2022, 12:36:17 UTC
a8dae21 AIX: Fix executable ENABLE_EXPORTS in Makefile generators In commit afcd9fe669 (AIX: Add an option to disable automatic exports from shared libraries, 2020-01-30, v3.17.0-rc1~47^2) the population of the `<AIX_EXPORTS>` rule variable placeholder was accidentally added to the device linking rule rather than the main linking rule. This caused our `ExportImportList` script on AIX, when called for executables with `ENABLE_EXPORTS` set, to be given an `AIX_EXPORTS` file name that does not exist, leading to a warning from the `dump` tool. Move the population of the `<AIX_EXPORTS>` placeholder in the Makefile generators to the main link rule. Issue: #20290 26 March 2022, 12:28:59 UTC
01a4be3 Merge branch 'cpack-nsis-fix-uninstall-quoting' into release-3.22 Merge-request: !7096 21 March 2022, 18:54:53 UTC
5d2ceaa CPack/NSIS: Add support for unquoted (legacy) uninstaller strings 21 March 2022, 18:53:44 UTC
b795c96 CPack/NSIS: Fix uninstall command when run from installer The quoting introduced by commit eb3b3bacdc (CPack/NSIS: Fix uninstall on Windows using "Apps & Features", 2021-09-13, v3.22.0-rc1~136^2) created two errors in the uninstaller call: double quoting of the uninstaller executable, and quotes added to the `_?=` argument which does not support them. Simplify the command. 21 March 2022, 18:53:31 UTC
0abd49e Merge branch 'release-3.21' into release-3.22 21 March 2022, 18:13:56 UTC
2b0f96c Merge branch 'rel-win-docker' into release-3.22 Merge-request: !7087 21 March 2022, 18:13:44 UTC
f71e89a Merge branch 'rel-win-docker' into release-3.21 Merge-request: !7087 21 March 2022, 18:13:31 UTC
a6aa88e Utilities/Release: Add "source" stage to Windows docker spec Revise the spec added by commit ff929badb3 (Utilities/Release: Add docker specs to build and test Windows binaries, 2020-05-05, v3.18.0-rc1~203^2~1) to add a `source` stage that stops just after copying the source tree into the image. This provides more granular control to driving scripts. 18 March 2022, 13:50:55 UTC
c419782 Merge branch 'FindPython-pypy-specify-versions' into release-3.22 Merge-request: !7081 17 March 2022, 14:15:09 UTC
2834cea FindPython: fix various problems using pypy interpreters * add more possible directories for include file search * enhance version detection from library and include files * search for file pypy_decl.h when PyPy.h is not defined 17 March 2022, 13:53:40 UTC
4a4fa6a Merge branch 'release-3.21' into release-3.22 16 March 2022, 14:51:07 UTC
2db936e Merge branch 'binutils-llvm-ar-apple' into release-3.22 Merge-request: !7077 16 March 2022, 14:51:03 UTC
12e03d7 Merge branch 'binutils-llvm-ar-apple' into release-3.21 Merge-request: !7077 16 March 2022, 14:50:43 UTC
fee36b7 BinUtils: Restore llvm-ar fallback on Apple platforms Since commit 29ea94e17c (BinUtils: Avoid llvm-ar on Apple platforms, 2022-03-03, v3.21.6~1^2) we do not consider `llvm-ar` at all on Apple platforms. However, there are existing cross-compiling use cases in which the toolchain has `llvm-ar` but not `ar`. Prior to the re-ordering in commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2), we preferred `ar` and then `llvm-ar`. Restore the original order for Apple. Fixes: #23320 16 March 2022, 14:46:11 UTC
4dd0dec Merge branch 'release-3.21' into release-3.22 11 March 2022, 15:33:42 UTC
7523a1d Merge branch 'AppleClang-cxx20-cxx23-flags' into release-3.22 Merge-request: !7063 11 March 2022, 15:33:16 UTC
bb99538 Merge branch 'AppleClang-cxx20-cxx23-flags' into release-3.21 Merge-request: !7063 11 March 2022, 15:33:02 UTC
683e4e9 AppleClang: Add C++20 and C++23 flags Follow up commit 886e27062b (Clang/MSVC: C++20 final flag, C++23 support, 2021-05-29, v3.20.4~7^2) with support for AppleClang. 11 March 2022, 15:00:21 UTC
dfdcb4f Merge branch 'backport-3.22-ci-msvc-19.31' into release-3.22 Merge-request: !7059 09 March 2022, 17:59:55 UTC
90a9bff Merge branch 'irsl-oneapi-linux' into release-3.22 Merge-request: !7057 09 March 2022, 17:58:09 UTC
3e84a06 IRSL: Add paths for Intel oneAPI compilers on Linux They are stored in a slightly different place with oneAPI than they used to be in PSXE. A similar change was made for Windows by commit 956160bb9a (IRSL: Fix search for Windows redist files with Intel Classic compiler, 2021-09-23, v3.22.0-rc1~88^2), which left a comment about the locations relative to the Classic and oneAPI compilers. Fixes: #23310 09 March 2022, 17:53:37 UTC
e66de43 gitlab-ci: Update Windows builds to MSVC 19.31 toolset 09 March 2022, 15:02:01 UTC
71268ca Merge branch 'release-3.21' into release-3.22 08 March 2022, 16:55:31 UTC
3f737ba Merge branch 'binutils-llvm-mt' into release-3.22 Merge-request: !7054 08 March 2022, 16:55:16 UTC
33ed5b9 Merge branch 'binutils-llvm-mt' into release-3.21 Merge-request: !7054 08 March 2022, 16:54:58 UTC
73d0d4e BinUtils: Avoid llvm-mt because it is missing 'mt' features we use Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we correctly prefer the more-specific name `llvm-mt` over `mt` when using Clang. However, the `llvm-mt` tool does not yet support all the flags we need in the implementation of `vs_link_{exe,dll}`. Prefer plain `mt` for now. Fixes: #23305 08 March 2022, 16:48:30 UTC
5424bf5 Merge branch 'FindMatlab-minver' into release-3.22 Merge-request: !7047 07 March 2022, 15:13:25 UTC
bb2c7b7 FindMatlab: Fix logic error when minimum version is not found Fix logic added by commit 7fdd5128b1 (FindMatlab: Fix version selection if a version is given, 2021-07-02, v3.22.0-rc1~66^2). Ensure that `_list_index` is always initialized to -1, akin to `list(FIND)` not finding a match. Issue: #22377 07 March 2022, 15:12:43 UTC
6e9eaf2 CMake 3.22.3 04 March 2022, 17:06:35 UTC
e7c9304 Merge branch 'release-3.21' into release-3.22 04 March 2022, 16:54:30 UTC
78ae759 CMake 3.21.6 04 March 2022, 15:52:43 UTC
5419cc3 Merge branch 'while-bug-compatibility' into release-3.22 Merge-request: !7041 03 March 2022, 21:54:35 UTC
da2361f while: Restore tolerance of condition error Since commit 880ca66b51 (Fix: `while()` can silently ignore incorrect condition, 2021-08-09, v3.22.0-rc1~238^2~4) we correctly reject the code set(paren "(") while(${paren}) endwhile() However, rejecting it breaks compatibility with projects that used such code accidentally. In CMake 3.21 and below, any error in the condition was ignored because the `false` result exited the loop first. Restore tolerance of the error for now. A policy will be needed to make it an error later. Note that the same condition with `if` was always correctly rejected. Fixes: #22524 Issue: #23296 Co-authored-by: Brad King <brad.king@kitware.com> 03 March 2022, 21:51:34 UTC
47d1977 Tests: Simplify RunCMake.{if,while} unbalanced parenthesis cases 03 March 2022, 21:51:34 UTC
4331f97 Merge branch 'release-3.21' into release-3.22 03 March 2022, 17:58:14 UTC
7edc09b Merge branch 'binutils-llvm-ar-clang-macos' into release-3.22 Merge-request: !7039 03 March 2022, 17:58:00 UTC
e47e5c7 Merge branch 'binutils-llvm-ar-clang-macos' into release-3.21 Merge-request: !7039 03 March 2022, 17:55:33 UTC
29ea94e BinUtils: Avoid llvm-ar on Apple platforms Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we correctly prefer the more-specific name `llvm-ar` over `ar` when using Clang. However, on Apple platforms, `llvm-ar` does not generate a symbol table that the Apple linker accepts. Fall back to `ar` on Apple platforms. Fixes: #23269 03 March 2022, 17:54:10 UTC
371235e Merge branch 'release-3.21' into release-3.22 28 February 2022, 18:09:25 UTC
7a16688 Merge branch 'FindThreads-revert-libc-pthread-flag' into release-3.22 Merge-request: !7025 28 February 2022, 18:09:19 UTC
02b04f1 Merge branch 'FindThreads-revert-libc-pthread-flag' into release-3.21 Merge-request: !7025 28 February 2022, 18:09:00 UTC
c6da90b FindThreads: Revert "Honor THREADS_PREFER_PTHREAD_FLAG when ... in libc" Revert commit 5efb6fb516 (FindThreads: Honor THREADS_PREFER_PTHREAD_FLAG when pthread is found in libc, 2021-11-03, v3.21.5~4^2). The check for the `-pthread` flag can pass on compilers like XL, that interprets it as `-p -t hread` and returns zero. Prior to that commit, we did not use the check in the `CMAKE_HAVE_LIBC_PTHREAD` code path. Now we do, it succeeds, and we incorrectly add the `-pthread` flag for XL. This change was backported to the 3.21 and 3.22 release series long after they initially came out. Since there may be more cases where we now add `-pthread` incorrectly, it is simplest to revert the change in all release series pending further investigation. Fixes: #23270 28 February 2022, 17:53:15 UTC
fa9bba4 Merge branch 'test-qt-disable' into release-3.22 Merge-request: !6998 17 February 2022, 16:11:20 UTC
5bfff3c Tests: Add missing guards on Qt4 and Qt5 tests Add missing `CMake_TEST_Qt{4,5}` conditions on Qt4 an Qt5 tests. Configuring CMake with `-DCMake_TEST_Qt5=OFF` should prevent any attempt to search for Qt5. Fixes: #23239 17 February 2022, 16:00:25 UTC
3596758 Merge branch 'FindGLUT-link-dirs' into release-3.22 Merge-request: !6985 15 February 2022, 15:37:11 UTC
44f7238 FindGLUT: Use link directories for libs from pkg-config Since commit f90d15458a (FindGLUT: Use pkg-config to find flags if available, 2021-06-11, v3.22.0-rc1~469^2), the `GLUT_LIBRARIES` may come from `pkg-config`, in which case they may be `-l` flags instead of absolute paths. Propagate `GLUT_LIBRARY_DIRS` to GLUT::GLUT too. Fixes: #23229 15 February 2022, 15:35:11 UTC
a16cefe Merge branch 'FindMatlab-mcr911' into release-3.22 Merge-request: !6976 14 February 2022, 15:24:51 UTC
b8d885e FindMatlab: Fix version detection for MCR >= 9.10 Recent MCR versions have the following `VersionInfo.xml`: <version>9.11.0.1837725</version> Fix parsing of multiple digits in the version components so that we do not mistake this for version `9.1`. 14 February 2022, 15:23:33 UTC
e6e9c8e Merge branch 'restore-target-export-includes' into release-3.22 Merge-request: !6969 14 February 2022, 14:48:10 UTC
83d7963 install(TARGETS): Restore per-export INCLUDES DESTINATION In commit 55e4753bbb (Refactor cmTargetExport removing InterfaceIncludeDirecories, 2021-07-20, v3.22.0-rc1~337^2~1) the storage of `INCLUDES DESTINATION` was moved into each target. However, a target may be installed in multiple exports, and their `INCLUDES DESTINATION` should not be mixed. Convert the IncludeDirectoriesEntries vector to a map and modify access function to store the directories lists with respect to cmExportTarget object. This fixes error when the same target is exported more than once via different exports and each for consequent export its include directories list grows. Add a test for this case. Fixes: #23183 09 February 2022, 18:31:26 UTC
21d8a86 Merge branch 'release-3.21' into release-3.22 09 February 2022, 15:09:55 UTC
1a30d3a Merge branch 'backport-IntelLLVM-depfile-flags' into release-3.22 Merge-request: !6964 09 February 2022, 15:09:51 UTC
be20a94 Merge branch 'backport-IntelLLVM-depfile-flags' into release-3.21 Merge-request: !6964 09 February 2022, 15:09:28 UTC
a8b6bf9 IntelLLVM: Add dependencies on system header files on Windows In commit a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based compilers, 2020-11-02, v3.20.0-rc1~89^2~20) the IntelLLVM depfile generation flags were taken from `Platform/Windows-Intel-C`. Those flags were added by commit a624a3e1b3 (Ninja: Use deps=gcc for Intel Compiler on Windows, 2019-01-30, v3.14.0-rc1~30^2), which forgot to account for commit 6d74e7870b (Ninja: Add dependencies on system-provided header files, 2016-03-15, v3.6.0-rc1~265^2). The `-QMD` option generates Makefile dependencies. The `-QMMD` option generates Makefile dependencies, but excludes system header files. Part of the BuildDepends test includes a header, cmake_pch.hxx, that includes a second header, zot_pch.hxx. The test builds a pch file for cmake_pch.hxx, touches zot_pch.hxx, then verifes that cmake_pch.hxx.pch is regenerated based on the dependencies. The cmake_pch.hxx contains `#pragma system_header` before it includes zot_pch.hxx. `#pragma system_header` indicates that the portion of the file following the pragma is to be treated as a system header. When `-QMMD` is used to generate dependencies, the `#include` of zot_pch.hxx is ignored because it `-QMMD` says to ignore system headers. Using `-QMD` instead uses all headers when generating dependencies and causes this test to pass. The Clang configuration in Platform/Windows-Clang.cmake also uses the `-MD` option for generating pre-compiled headers, instead of `-MMD`. Signed-off-by: William R. Dieter <william.r.dieter@intel.com> 09 February 2022, 15:07:51 UTC
94f1bbd Intel: Add dependencies on system header files on Windows In commit a624a3e1b3 (Ninja: Use deps=gcc for Intel Compiler on Windows, 2019-01-30, v3.14.0-rc1~30^2) we forgot to account for commit 6d74e7870b (Ninja: Add dependencies on system-provided header files, 2016-03-15, v3.6.0-rc1~265^2). 09 February 2022, 15:07:51 UTC
298bf1e Merge branch 'doc-MSVC_TOOLSET_VERSION-v143' into release-3.22 Merge-request: !6966 09 February 2022, 14:54:44 UTC
4423fa2 Merge branch 'doc-MSVC_TOOLSET_VERSION-v143' into release-3.21 Merge-request: !6966 09 February 2022, 14:54:18 UTC
dca3a03 Help: Add MSVC_TOOLSET_VERSION value for v143 toolset This was accidentally left out of commit f01ea7e391 (MSVC: Fix MSVC_TOOLSET_VERSION for VS 2022 v143 toolset, 2019-04-03, v3.21.3~10^2~1). 09 February 2022, 14:53:11 UTC
b91c4df Merge branch 'FindGSL-version-regex' into release-3.22 Merge-request: !6960 08 February 2022, 15:31:16 UTC
b67ff61 FindGSL: Improve version extraction regex Backport commit 58f2708b90 (FindGSL: Improve version extraction regex, 2021-12-17) to the CMake 3.22 branch. Fixes: #23017 08 February 2022, 15:21:15 UTC
d60647a Merge branch 'default-extensions' into release-3.22 Merge-request: !6949 03 February 2022, 17:52:45 UTC
4ef6e27 CompilerId: Fix default extensions check for Clang targeting MSVC ABI In commit fc3a1cbdd8 (CompilerID: Compiler extensions default detection, 2021-05-29, v3.22.0-rc1~52^2~2), extensions were assumed to be `OFF` for Clang targeting the MSVC ABI. However, the `clang` and `clang++` tools both seem to have extensions enabled by default even when targeting the MSVC ABI. This can be observed with the `RunCMake.CompileFeatures` test. It fails with the GNU-like `clang/clang++` front-end, but removing the above special case makes it pass. The test passes either way with the MSVC-like `clang-cl` front-end. 03 February 2022, 17:06:00 UTC
17f9714 Merge branch 'release-3.21' into release-3.22 01 February 2022, 17:08:05 UTC
6fe5df1 CMake 3.21.5 01 February 2022, 15:54:10 UTC
68ab7b1 Merge branch 'ci-assertions' into release-3.22 Merge-request: !6927 01 February 2022, 15:27:24 UTC
79aa2c5 Merge branch 'release-3.21' into release-3.22 01 February 2022, 14:51:43 UTC
cb66d25 Merge topic 'help-try-compile-result-var' into release-3.22 34d263270e Help: Drop incorrect versionadded for try_compile result variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6923 01 February 2022, 14:50:40 UTC
fc27354 Merge branch 'release-3.20' into release-3.21 31 January 2022, 16:36:57 UTC
d647ca1 Merge branch 'help-try-compile-result-var' into release-3.21 Merge-request: !6923 31 January 2022, 16:36:46 UTC
d6bfce2 Merge branch 'help-try-compile-result-var' into release-3.20 Merge-request: !6923 31 January 2022, 16:35:58 UTC
45feab3 gitlab-ci: enable assertions on fedora34-ninja jobs We should have at least one CI job in merge request pipelines that builds CMake with assertions enabled. We avoid using the `Debug` configuration in order to keep CI artifacts small, so instead use the `Release` configuration without `-DNDEBUG`. 31 January 2022, 16:34:12 UTC
34d2632 Help: Drop incorrect versionadded for try_compile result variable In commit c705279bae (Help: Add `.. versionadded` directives to commands documentation, 2020-11-08, v3.20.0-rc1~508^2) we accidentally added ``versionadded`` markup suggesting that the first argument to `try_compile` was fixed as `RESULT_VAR` prior to CMake 3.14. This was probably due to misinterpreting the change from commit 7975edeac5 (Help: User-provided variable names for try_* commands, 2019-02-24, v3.14.0-rc3~16^2~3). The result variable has never been fixed. Drop the incorrect markup. 31 January 2022, 15:59:56 UTC
7446601 Merge topic 'iar_cmp0057' into release-3.22 cc4da8d13a IAR/CXX: Fix compatibility with CMP0057 OLD Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6921 31 January 2022, 15:31:30 UTC
cc4da8d IAR/CXX: Fix compatibility with CMP0057 OLD Commit a9073db7 (IAR: update language specification detection, 2021-09-23) added usage of the if() IN_LIST operation and forgot to account for it not being available in CMP0057 OLD mode. Push and temporarily enable the policy. Also avoid the unnecessary temporary variable for the list. Fixes #23147. 29 January 2022, 20:55:24 UTC
back to top