352ea99 | Brad King | 23 February 2022, 14:22:31 UTC | CMake 3.23.0-rc2 | 23 February 2022, 14:22:31 UTC |
bc0d7c1 | Brad King | 23 February 2022, 14:00:30 UTC | Merge topic 'update-expat' into release-3.23 07f9ce4f8c Merge branch 'upstream-expat' into update-expat 4c031b9417 expat 2022-02-20 (65a21f2b) 9d035ba28d expat: Update script to get Expat 2.4.6 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7015 | 23 February 2022, 14:00:36 UTC |
07f9ce4 | Brad King | 22 February 2022, 22:11:37 UTC | Merge branch 'upstream-expat' into update-expat # By Expat Upstream * upstream-expat: expat 2022-02-20 (65a21f2b) | 22 February 2022, 22:11:37 UTC |
4c031b9 | Expat Upstream | 20 February 2022, 17:01:38 UTC | expat 2022-02-20 (65a21f2b) Code extracted from: https://github.com/libexpat/libexpat.git at commit 65a21f2b2a306d29b44e70264aca948aa0454219 (R_2_4_6). | 22 February 2022, 22:11:37 UTC |
9d035ba | Brad King | 22 February 2022, 22:11:28 UTC | expat: Update script to get Expat 2.4.6 | 22 February 2022, 22:11:28 UTC |
2e963c4 | Brad King | 22 February 2022, 17:56:44 UTC | Merge topic 'cuda-archs' into release-3.23 f75299b803 CUDA: Restore support for non-"all" CUDA_ARCHITECTURES with nvcc 11.5+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7007 | 22 February 2022, 17:56:50 UTC |
e6a364c | Brad King | 22 February 2022, 17:55:48 UTC | Merge topic 'CheckTypeSize-doc' into release-3.23 65e4d29e35 CheckTypeSize: Modernize and clarify documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7006 | 22 February 2022, 17:55:54 UTC |
f75299b | Brad King | 18 February 2022, 17:39:59 UTC | CUDA: Restore support for non-"all" CUDA_ARCHITECTURES with nvcc 11.5+ Since commit 8f64df0a7c (CUDA: Generic all and all-major support, 2021-12-19, v3.23.0-rc1~23^2), setting `CUDA_ARCHITECTURES` to a value other than `all` or `all-major` is ignored with NVCC 11.5+. Fix the logic to return early only when actually using an "all" value. Fixes: #23243 | 18 February 2022, 17:54:12 UTC |
65e4d29 | Brad King | 18 February 2022, 16:33:06 UTC | CheckTypeSize: Modernize and clarify documentation Spell out the list of result variables as a definition list rather than in prose. Fixes: #23247 | 18 February 2022, 16:33:06 UTC |
a1cb448 | Brad King | 18 February 2022, 14:01:14 UTC | Merge topic 'correct_multiple_source_warnings' into release-3.23 7083b19498 cmake: When given multiple source paths use last instead of first Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7001 | 18 February 2022, 14:01:21 UTC |
ae5f868 | Brad King | 18 February 2022, 13:57:25 UTC | Merge topic 'file-set-no-exist' into release-3.23 058b8a0bfb install(): Properly ignore FILE_SETs that don't exist Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7000 | 18 February 2022, 13:57:31 UTC |
a99c738 | Brad King | 18 February 2022, 13:54:27 UTC | Merge branch 'release-3.22' into release-3.23 | 18 February 2022, 13:54:27 UTC |
e9832cc | Brad King | 18 February 2022, 13:52:16 UTC | Merge topic 'test-qt-disable' into release-3.23 5bfff3c750 Tests: Add missing guards on Qt4 and Qt5 tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6998 | 18 February 2022, 13:52:48 UTC |
abc12c4 | Brad King | 18 February 2022, 13:51:43 UTC | Merge topic 'libarchive-openssl-crypto-checks' into release-3.23 483a1c248c libarchive: Fix OpenSSL crypto library checks for build inside CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6997 | 18 February 2022, 13:51:54 UTC |
7083b19 | Robert Maynard | 17 February 2022, 13:46:09 UTC | cmake: When given multiple source paths use last instead of first When given two source paths via `-S` or just directory paths prefer the last one. When the paths are mixed always prefer the last `-S` entry. Fixes: #23238 | 17 February 2022, 21:54:30 UTC |
058b8a0 | Kyle Edwards | 17 February 2022, 19:43:06 UTC | install(): Properly ignore FILE_SETs that don't exist Fixes: #22960 | 17 February 2022, 19:43:06 UTC |
fa9bba4 | Brad King | 17 February 2022, 16:11:20 UTC | Merge branch 'test-qt-disable' into release-3.22 Merge-request: !6998 | 17 February 2022, 16:11:20 UTC |
5bfff3c | Brad King | 17 February 2022, 15:57:06 UTC | 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 |
9c81f2c | Brad King | 17 February 2022, 13:45:45 UTC | Merge topic 'cmake-empty-cmd-line-arg' into release-3.23 f73457ca2e cmake: Ignore any empty "" command line arguments 67f97f5478 Tests: Add RunCMake helper to run cmake with raw execute_process args Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6980 | 17 February 2022, 13:45:52 UTC |
ed9e7a2 | Brad King | 17 February 2022, 13:43:28 UTC | Merge topic 'test-cuda-sepcomp-ptx' into release-3.23 a7ef59c9c4 Tests: Fix CudaOnly.SeparateCompilationPTX test project name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6991 | 17 February 2022, 13:43:39 UTC |
483a1c2 | Brad King | 17 February 2022, 12:54:39 UTC | libarchive: Fix OpenSSL crypto library checks for build inside CMake libarchive's crypto library checks use its `config.h` inside the `try_compile` project. Since commit ade3b16e63 (libarchive: Use KWIML to get fixed-size integer types, 2020-06-01, v3.18.0-rc1~33^2), that header depends on KWIML inside CMake. Add the include directory for KWIML to the crypto library checks. Otherwise, they always fail due to not finding the KWIML headers, and libarchive decides not to link the crypto library. libarchive has other code besides the hash algorithms that depends on the crypto library if its ENABLE_OPENSSL option is enabled (which in CMake is controlled by CMAKE_USE_OPENSSL). It seems to be missing some conditions to link the crypto library in those cases, and instead relies on at least one of the above-mentioned checks to pass. If they all fail, and we are using system curl, we might not link the crypto library. Fixes: #23234 | 17 February 2022, 13:06:01 UTC |
f73457c | Robert Maynard | 14 February 2022, 15:23:46 UTC | cmake: Ignore any empty "" command line arguments Don't treat empty quote arguments("") as the current working directory but instead ignore them. Fixes #23217 | 16 February 2022, 17:11:33 UTC |
67f97f5 | Brad King | 15 February 2022, 16:28:16 UTC | Tests: Add RunCMake helper to run cmake with raw execute_process args | 16 February 2022, 17:10:19 UTC |
368dc57 | Brad King | 16 February 2022, 14:47:39 UTC | Merge topic 'tll-genex-concat' into release-3.23 c1e812ad4f target_link_libraries: Improve tolerance of unquoted generator expressions 5571a31648 target_link_libraries: Handle keyword arguments in dedicated code path 42590df9f9 target_link_libraries: Remove likely-broken ancient compatibility check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6989 | 16 February 2022, 14:47:45 UTC |
bd575a2 | Brad King | 16 February 2022, 14:43:48 UTC | Merge branch 'release-3.22' into release-3.23 | 16 February 2022, 14:43:48 UTC |
809cb5b | Brad King | 16 February 2022, 14:42:46 UTC | Merge topic 'FindGLUT-link-dirs' into release-3.23 44f7238d5d FindGLUT: Use link directories for libs from pkg-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6985 | 16 February 2022, 14:42:53 UTC |
1f4976d | Brad King | 16 February 2022, 14:41:50 UTC | Merge topic 'FindHDF5-info-binary-exists' into release-3.23 449f343498 FindHDF5: Tolerate failure during compiler interrogation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6983 | 16 February 2022, 14:41:57 UTC |
3195847 | Brad King | 16 February 2022, 14:40:57 UTC | Merge topic 'vs-package-restore-docs' into release-3.23 d92469e572 Help: Clarify how package resolve mode is intended to be used f320a31087 cmake --build: prioritize --resolve-package-references over preset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6984 | 16 February 2022, 14:41:02 UTC |
be87b76 | Brad King | 16 February 2022, 14:38:52 UTC | Merge topic 'doc-vs-instance-version' into release-3.23 e163908a76 Help: Clarify version specification in CMAKE_GENERATOR_INSTANCE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6982 | 16 February 2022, 14:38:59 UTC |
a7ef59c | Brad King | 16 February 2022, 14:20:01 UTC | Tests: Fix CudaOnly.SeparateCompilationPTX test project name Fix the test added by commit 61b9764b03 (CUDA: Allow both CUDA_SEPARABLE_COMPILATION and CUDA_PTX_COMPILATION, 2021-09-17, v3.23.0-rc1~516^2) to have a `project()` name matching what is passed to CTest's `--build-project` option. Otherwise, on VS builds, MSBuild warns: MSBUILD : error MSB1009: Project file does not exist. Other CUDA tests use a matching project name already. | 16 February 2022, 14:21:59 UTC |
c1e812a | Brad King | 15 February 2022, 21:53:15 UTC | target_link_libraries: Improve tolerance of unquoted generator expressions Prior to commit 1d709ea2f5 (cmGeneratorTarget: Propagate backtraces from INTERFACE_LINK_LIBRARIES, 2021-12-15, v3.23.0-rc1~228^2), the value of `INTERFACE_LINK_LIBRARIES` was a single string. If an unquoted generator expression passed to `target_link_libraries` contained `;` and became multiple arguments, they would all accumulate as a single `;`-separated list in the value of `INTERFACE_LINK_LIBRARIES`. Since that commit, each argument to `target_link_libraries` is placed in `INTERFACE_LINK_LIBRARIES` as a separate entry, as has long been the case for `LINK_LIBRARIES`. That behavior change broke projects that were accidentally relying on accumulation in `INTERFACE_LINK_LIBRARIES` to produce complete generator expressions containing `;`. Teach `target_link_libraries` to accumulate consecutive non-keyword arguments into a single entry before placing them in `LINK_LIBRARIES` or `INTERFACE_LINK_LIBRARIES`. For example, treat `a b c` as if they were written as `"a;b;c"`. This restores the previously accidental support for unquoted generator expressions in `INTERFACE_LINK_LIBRARIES`, and also enables it for `LINK_LIBRARIES`. For now, do not drop the `target_link_libraries` documentation that recommends quoting generator expressions. Quoting is still important to populate `LINK_LIBRARIES` in CMake 3.22 and below, and is also good practice to keep generator expressions whole. Fixes: #23203 | 15 February 2022, 22:38:33 UTC |
5571a31 | Brad King | 15 February 2022, 21:49:07 UTC | target_link_libraries: Handle keyword arguments in dedicated code path | 15 February 2022, 22:17:49 UTC |
42590df | Brad King | 15 February 2022, 20:48:22 UTC | target_link_libraries: Remove likely-broken ancient compatibility check Since commit daa6d2bc04 (ENH: updated handling of debug and optimized target link libraries, 2006-11-29, v2.6.0~2471) the ancient `<lib>_LINK_TYPE` compatibility lookup was done using the name of the dependent target for which `target_link_libraries` is called, rather than the name of the library dependency being considered. This code probably does nothing. Remove it. | 15 February 2022, 22:17:49 UTC |
449f343 | Axel Huebl | 14 February 2022, 20:42:58 UTC | FindHDF5: Tolerate failure during compiler interrogation Check that the file that is accessed via `file(STRINGS...)` truly exists. This is not the case in some EMSCRIPTEN/WebASM builds where we want to overwrite the HDF5 find logic manually. The missing check here prevents that one can overwrite the search logic in exotic environments. | 15 February 2022, 15:44:29 UTC |
3596758 | Brad King | 15 February 2022, 15:37:11 UTC | Merge branch 'FindGLUT-link-dirs' into release-3.22 Merge-request: !6985 | 15 February 2022, 15:37:11 UTC |
44f7238 | Silvio Traversaro | 15 February 2022, 13:23:11 UTC | 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 |
d92469e | Carsten Rudolph | 15 February 2022, 09:16:38 UTC | Help: Clarify how package resolve mode is intended to be used Fixes: #23223 | 15 February 2022, 15:20:14 UTC |
f320a31 | Carsten Rudolph | 15 February 2022, 09:25:53 UTC | cmake --build: prioritize --resolve-package-references over preset Fixes: #23224 | 15 February 2022, 15:20:02 UTC |
e163908 | Brad King | 14 February 2022, 17:21:59 UTC | Help: Clarify version specification in CMAKE_GENERATOR_INSTANCE Improve the documentation added by commit ec8d37b3b1 (VS: Support version specification in CMAKE_GENERATOR_INSTANCE, 2021-10-26, v3.23.0-rc1~452^2~1). Fixes: #23225 | 15 February 2022, 15:06:12 UTC |
e5a5f3b | Brad King | 15 February 2022, 14:52:42 UTC | Merge branch 'release-3.22' into release-3.23 | 15 February 2022, 14:52:42 UTC |
db5b4f4 | Brad King | 15 February 2022, 14:50:02 UTC | Merge topic 'FindMatlab-mcr911' into release-3.23 b8d885ed0d FindMatlab: Fix version detection for MCR >= 9.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6976 | 15 February 2022, 14:50:08 UTC |
fb925e5 | Brad King | 15 February 2022, 14:48:15 UTC | Merge topic 'doc-example-package-components' into release-3.23 5317015e68 Help: use package-specific var for supported component list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6975 | 15 February 2022, 14:48:27 UTC |
9feafb3 | Brad King | 15 February 2022, 14:47:07 UTC | Merge topic 'doc-no-versioned-soname' into release-3.23 3f7e6b3fd4 Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6978 | 15 February 2022, 14:47:34 UTC |
1126586 | Brad King | 15 February 2022, 14:46:30 UTC | Merge topic 'doc-export-command' into release-3.23 19b273b729 Help: Organize and clarify export() command documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6981 | 15 February 2022, 14:46:41 UTC |
19b273b | Brad King | 14 February 2022, 17:12:36 UTC | Help: Organize and clarify export() command documentation Add section headers for each signature, and a synopsis linking to them. Re-order sections to introduce the main `export(TARGETS)` functionality before mentioning the `export(EXPORT)` shorthand, which may be confused with `install(EXPORT)`. Fixes: #23221 | 14 February 2022, 17:16:50 UTC |
3f7e6b3 | Ralf Habacker | 14 February 2022, 14:05:31 UTC | Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAME This variable was added by commit 42f74df6d4 (Add basic Android platform module, 2014-06-06, v3.1.0-rc1~416^2), but was not previously documented. Fixes: #23227 | 14 February 2022, 15:40:48 UTC |
a16cefe | Brad King | 14 February 2022, 15:24:51 UTC | Merge branch 'FindMatlab-mcr911' into release-3.22 Merge-request: !6976 | 14 February 2022, 15:24:51 UTC |
b8d885e | Tom M | 13 February 2022, 16:42:32 UTC | 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 |
5317015 | Connor Imes | 12 February 2022, 15:37:00 UTC | Help: use package-specific var for supported component list Always using `_supported_components` causes conflicts when transitive dependencies also set this variable, e.g., because the developers followed these code samples. An even more general approach could be to set `_${CMAKE_FIND_PACKAGE_NAME}_supported_components` instead, but such a change should then be applied to other variables for consistency. Fixes: #23112 | 14 February 2022, 15:16:52 UTC |
ba1f706 | Brad King | 14 February 2022, 15:00:38 UTC | Merge topic 'doc-debug-find-pkg-var' into release-3.23 8efd4b5378 cmake::GetDebugFindPkgOutput: Use consistent argument name 546922a57b Help: Fix typo and improve docs for --debug-find-pkg|var options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6977 | 14 February 2022, 15:00:44 UTC |
59da862 | Brad King | 14 February 2022, 14:59:39 UTC | Merge topic 'FortranCInterface-macos-arch' into release-3.23 58af150a74 FortranCInterface: Fix mangling detection for x86_64 on arm64 macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6974 | 14 February 2022, 14:59:45 UTC |
2adea60 | Brad King | 14 February 2022, 14:57:48 UTC | Merge topic 'GoogleTest-discovery-fix-escaping' into release-3.23 61929f936f GoogleTest: Fix escaping in test names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6965 | 14 February 2022, 14:58:00 UTC |
d53f3b9 | Brad King | 14 February 2022, 14:49:04 UTC | Merge branch 'release-3.22' into release-3.23 | 14 February 2022, 14:49:04 UTC |
e6e9c8e | Brad King | 14 February 2022, 14:48:10 UTC | Merge branch 'restore-target-export-includes' into release-3.22 Merge-request: !6969 | 14 February 2022, 14:48:10 UTC |
8efd4b5 | Craig Scott | 14 February 2022, 10:08:36 UTC | cmake::GetDebugFindPkgOutput: Use consistent argument name The argument name used in the class declaration didn't match the one used in the implementation file. The one in the header appears to be a cut-n-paste from GetDebugFindOutput(), but the implementation makes it clear that "pkg" better infers what the argument represents than "var". | 14 February 2022, 10:12:44 UTC |
546922a | Craig Scott | 14 February 2022, 09:51:31 UTC | Help: Fix typo and improve docs for --debug-find-pkg|var options Amends d7b18895bc (cmake: Add filtered debug-find options, 2021-12-07) | 14 February 2022, 10:06:06 UTC |
58af150 | Brad King | 11 February 2022, 16:51:59 UTC | FortranCInterface: Fix mangling detection for x86_64 on arm64 macOS Fixes: #23218 | 11 February 2022, 16:56:58 UTC |
847378d | Brad King | 11 February 2022, 14:17:13 UTC | Merge topic 'debug-find' into release-3.23 38de1bef2d find_package: Improve --debug-find-pkg= when using a find module d634d20397 find_package: Avoid printing debug output header multiple times df3e29450a find_package: Mention package name in Config mode debug output 636ca7f25c find_package: Fix find module name in --debug-find output 596e185409 find_package: Improve formatting of --debug-find output 2f43527574 Tests: Improve order of RunCMake.find_package cases a690523fcf cmFindPackageCommand: Drop ComputeIfDebugModeWanted overload Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6973 | 11 February 2022, 14:17:18 UTC |
61929f9 | Evgeniy Shcherbina | 09 February 2022, 08:26:51 UTC | GoogleTest: Fix escaping in test names Due to add_command() being a macro it introduced excessive and nonobvious escaping in different parts of the script. Because of one of such places the resulting script would have an erroneous ${TEST_LIST} if the user data (in test parameters) had a semicolon. To eliminate this non-obvious escaping, add_command() was converted to function. Updated the escaping accordingly. Fixes: #23059 | 11 February 2022, 14:03:40 UTC |
38de1be | Brad King | 10 February 2022, 20:23:07 UTC | find_package: Improve --debug-find-pkg= when using a find module Extend the feature added by commit d7b18895bc (cmake: Add filtered debug-find options, 2021-12-07, v3.23.0-rc1~217^2) to enable debug output for `find_*` calls within a find module or cmake package configuration file. Fixes: #23211 | 10 February 2022, 21:30:10 UTC |
d634d20 | Brad King | 10 February 2022, 17:08:13 UTC | find_package: Avoid printing debug output header multiple times | 10 February 2022, 21:30:10 UTC |
df3e294 | Brad King | 10 February 2022, 19:07:41 UTC | find_package: Mention package name in Config mode debug output Otherwise, if there are no paths considered then the output does not specify the name of the package. | 10 February 2022, 21:30:09 UTC |
636ca7f | Brad King | 10 February 2022, 18:41:23 UTC | find_package: Fix find module name in --debug-find output | 10 February 2022, 21:30:09 UTC |
596e185 | Brad King | 10 February 2022, 19:42:01 UTC | find_package: Improve formatting of --debug-find output Also spell out more complete content in the test's expect output. | 10 February 2022, 21:30:04 UTC |
2f43527 | Brad King | 10 February 2022, 19:18:46 UTC | Tests: Improve order of RunCMake.find_package cases Sort recently added cases among similar-named cases. | 10 February 2022, 20:25:05 UTC |
a690523 | Brad King | 10 February 2022, 17:17:39 UTC | cmFindPackageCommand: Drop ComputeIfDebugModeWanted overload The overload for `--debug-find-pkg` has the same signature as the base class method for `--debug-find-var`. To avoid confusion, drop the overload and inline it its only call site. | 10 February 2022, 20:25:05 UTC |
0a08377 | Brad King | 10 February 2022, 14:13:51 UTC | Merge branch 'release-3.22' into release-3.23 | 10 February 2022, 14:13:51 UTC |
fe5b2e8 | Brad King | 10 February 2022, 14:11:07 UTC | Merge topic 'doc-if-AND-OR' into release-3.23 41adfc6b04 Help: Clarify precedence of AND and OR in 'if' conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6970 | 10 February 2022, 14:11:13 UTC |
5b48017 | Brad King | 10 February 2022, 14:09:01 UTC | Merge topic 'clang-cross-compile-windows-pdb' into release-3.23 641cb1093b Windows/Clang: Support PDB when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !6959 | 10 February 2022, 14:09:09 UTC |
5a65e08 | Brad King | 10 February 2022, 14:07:28 UTC | Merge topic 'restore-target-export-includes' into release-3.23 83d79636bf install(TARGETS): Restore per-export INCLUDES DESTINATION Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6969 | 10 February 2022, 14:07:34 UTC |
fdbc00f | Brad King | 10 February 2022, 13:50:02 UTC | Merge topic 'IntelLLVM-depfile-flags' into release-3.23 1e947fcb83 Merge branch 'backport-IntelLLVM-depfile-flags' into IntelLLVM-depfile-flags a8b6bf9a38 IntelLLVM: Add dependencies on system header files on Windows 94f1bbdd54 Intel: Add dependencies on system header files on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6964 | 10 February 2022, 13:50:08 UTC |
d231d66 | Brad King | 10 February 2022, 13:48:16 UTC | Merge topic 'doc-MSVC_TOOLSET_VERSION-v143' into release-3.23 dca3a032d1 Help: Add MSVC_TOOLSET_VERSION value for v143 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6966 | 10 February 2022, 13:48:21 UTC |
41adfc6 | Brad King | 09 February 2022, 19:16:50 UTC | Help: Clarify precedence of AND and OR in 'if' conditions The wording update in commit b74819e4fe (Help: Format 'if' command documentation, 2013-12-18, v3.0.0-rc1~227^2~1) incorrectly implied that `AND` has higher precedence than `OR`. Although this is common in many languages, it has never been true in CMake's implementation. Revise the wording to clarify the precedence. Add a test case demonstrating the order. Fixes: #23207 | 09 February 2022, 19:24:43 UTC |
83d7963 | Eugene Shalygin | 09 February 2022, 17:09:04 UTC | 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 | Brad King | 09 February 2022, 15:09:55 UTC | Merge branch 'release-3.21' into release-3.22 | 09 February 2022, 15:09:55 UTC |
1a30d3a | Brad King | 09 February 2022, 15:09:51 UTC | Merge branch 'backport-IntelLLVM-depfile-flags' into release-3.22 Merge-request: !6964 | 09 February 2022, 15:09:51 UTC |
be20a94 | Brad King | 09 February 2022, 15:09:28 UTC | Merge branch 'backport-IntelLLVM-depfile-flags' into release-3.21 Merge-request: !6964 | 09 February 2022, 15:09:28 UTC |
1e947fc | Brad King | 09 February 2022, 15:08:52 UTC | Merge branch 'backport-IntelLLVM-depfile-flags' into IntelLLVM-depfile-flags | 09 February 2022, 15:08:52 UTC |
a8b6bf9 | William R. Dieter | 09 February 2022, 06:10:02 UTC | 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 | Brad King | 09 February 2022, 15:01:04 UTC | 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 | Brad King | 09 February 2022, 14:54:32 UTC | Merge branch 'doc-MSVC_TOOLSET_VERSION-v143' into release-3.22 Merge-request: !6966 | 09 February 2022, 14:54:44 UTC |
4423fa2 | Brad King | 09 February 2022, 14:54:18 UTC | Merge branch 'doc-MSVC_TOOLSET_VERSION-v143' into release-3.21 Merge-request: !6966 | 09 February 2022, 14:54:18 UTC |
dca3a03 | Heiko Thiel | 09 February 2022, 14:07:02 UTC | 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 |
641cb10 | Deniz Bahadir | 07 February 2022, 14:33:02 UTC | Windows/Clang: Support PDB when cross-compiling | 08 February 2022, 23:38:09 UTC |
a15cc77 | Brad King | 08 February 2022, 15:43:14 UTC | CMake 3.23.0-rc1 | 08 February 2022, 15:43:14 UTC |
0167dc0 | Brad King | 08 February 2022, 15:41:59 UTC | Merge branch 'release-3.22' into release-3.23 | 08 February 2022, 15:41:59 UTC |
46ef6a5 | Brad King | 08 February 2022, 15:41:06 UTC | Merge topic 'FindGSL-version-regex' into release-3.23 b67ff61c3a FindGSL: Improve version extraction regex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6960 | 08 February 2022, 15:41:17 UTC |
b91c4df | Brad King | 08 February 2022, 15:31:16 UTC | Merge branch 'FindGSL-version-regex' into release-3.22 Merge-request: !6960 | 08 February 2022, 15:31:16 UTC |
b67ff61 | مهدي شينون (Mehdi Chinoune) | 17 December 2021, 08:27:46 UTC | 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 |
6e32db4 | Brad King | 08 February 2022, 13:39:26 UTC | Merge topic 'dotnet_sdk' into release-3.23 5cdd774d51 VS: Handle build target correct for .NET SDK style projects with Any CPU 309191052c VS: Set Visual Studio versions read out from solution file f7791698cb VS: Allow setting output directory in .NET SDK style projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6944 | 08 February 2022, 13:39:34 UTC |
5bf6e57 | Brad King | 08 February 2022, 13:35:12 UTC | Merge topic 'GoogleTest-discover-type-params' into release-3.23 073dd1bd81 GoogleTest: Change format for typed tests f28f738bd2 GoogleTest: Fix type param tests for suites with many cases Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6958 | 08 February 2022, 13:35:18 UTC |
073dd1b | Evgeniy Shcherbina | 07 February 2022, 07:35:21 UTC | GoogleTest: Change format for typed tests Before it would output a typed test as follows: Suit/Type.Case And now it would be: Suit.Case<Type> In case of NO_PRETTY_TYPES it would simply use the type number instead of its text representation: Suit.Case<0> The change is introduced to make sure CTest outputs tests in a similar fashion which is "*Suit.Case*" and angle brackets "<>" emphasize that we are dealing with a typed (template) kind. | 07 February 2022, 17:53:17 UTC |
f28f738 | Evgeniy Shcherbina | 04 February 2022, 10:03:30 UTC | GoogleTest: Fix type param tests for suites with many cases When there were many cases (two digits or more) the "prettier" would fail to recognize the pretty part leaving the test name unprocessed. The fix made sure the processing would work correctly, irrespective of the case number. Before the fix, for the following input: TypedSuite/1. # TypeParam = int case TypedSuite/10. # TypeParam = char case The output would be: TypedSuite/int.case TypedSuite/10. # TypeParam = char.case Now the output will be: TypedSuite/int.case TypedSuite/char.case | 07 February 2022, 17:53:16 UTC |
860dbec | Brad King | 07 February 2022, 16:49:20 UTC | Merge topic 'doc-DESTDIR' into release-3.23 a9b8c9d33e Help: Clarify roles of DESTDIR and CMAKE_INSTALL_PREFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6955 | 07 February 2022, 16:49:26 UTC |
5cdd774 | Florian Schweiger | 02 February 2022, 17:23:35 UTC | VS: Handle build target correct for .NET SDK style projects with Any CPU * Extend Visual Studio solution parser for reading build target * Map solution build target to project build target (especially for Any CPU) * Use C++ <optional> template instead of pointer return value for cmSlnData::GetProjectByGUID | 07 February 2022, 12:08:37 UTC |
3091910 | Florian Schweiger | 07 February 2022, 12:07:40 UTC | VS: Set Visual Studio versions read out from solution file | 07 February 2022, 12:07:40 UTC |
f779169 | Florian Schweiger | 02 February 2022, 16:58:49 UTC | VS: Allow setting output directory in .NET SDK style projects | 07 February 2022, 11:03:03 UTC |
a9b8c9d | Brad King | 04 February 2022, 20:33:11 UTC | Help: Clarify roles of DESTDIR and CMAKE_INSTALL_PREFIX | 04 February 2022, 20:33:11 UTC |
5c9bf43 | Brad King | 04 February 2022, 13:21:25 UTC | Merge branch 'release-3.22' into release-3.23 | 04 February 2022, 13:21:25 UTC |
a2b5ef3 | Brad King | 04 February 2022, 13:20:15 UTC | Merge topic 'default-extensions' into release-3.23 4ef6e27cb9 CompilerId: Fix default extensions check for Clang targeting MSVC ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6949 | 04 February 2022, 13:20:21 UTC |