31c5700 | Brad King | 25 August 2021, 14:17:05 UTC | CMake 3.21.2 | 25 August 2021, 14:17:05 UTC |
af71bdb | Brad King | 25 August 2021, 13:59:34 UTC | Merge topic 'vs2022' into release-3.21 c8ec137da7 VS: Update Visual Studio 17 2022 generator for Preview 3.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6480 | 25 August 2021, 13:59:46 UTC |
c8ec137 | Brad King | 19 August 2021, 19:19:04 UTC | VS: Update Visual Studio 17 2022 generator for Preview 3.1 Issue: #22339 | 25 August 2021, 13:47:30 UTC |
e4302d8 | Brad King | 25 August 2021, 13:14:15 UTC | Merge branch 'release-3.20' into release-3.21 | 25 August 2021, 13:14:15 UTC |
eae5533 | Brad King | 25 August 2021, 13:12:05 UTC | Merge topic 'GNUInstallDirs-variable-named-0' into release-3.21 49a5dbcaff GNUInstallDirs: avoid unwanted variable dereference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6474 | 25 August 2021, 13:12:22 UTC |
fd64b84 | Brad King | 24 August 2021, 14:02:58 UTC | Merge branch 'GNUInstallDirs-variable-named-0' into release-3.20 Merge-request: !6474 | 24 August 2021, 14:02:58 UTC |
5a4847a | Brad King | 24 August 2021, 13:57:53 UTC | Merge topic 'vs-toolset-version' into release-3.21 25c5ebba7e VS: Add special case for '-T version=14.29.16.11' under VS 16.11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6469 | 24 August 2021, 13:58:08 UTC |
b2e2f5c | Brad King | 24 August 2021, 13:56:56 UTC | Merge topic 'revert-autouic-header-depends' into release-3.21 d2a6e160aa AUTOUIC: Revert "Fix generating of dependency rules for UI header files" Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6465 | 24 August 2021, 13:57:08 UTC |
1dd9c96 | Brad King | 24 August 2021, 13:54:36 UTC | Merge topic 'FindMPI-framework-not-a-compile-flag' into release-3.21 2b2a6a7170 FindMPI: do not detect `-framework` as a compile flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !6467 | 24 August 2021, 13:54:57 UTC |
49a5dbc | Ben Boeckel | 22 August 2021, 16:35:56 UTC | GNUInstallDirs: avoid unwanted variable dereference In some situations, it seems that the variable `0` is defined. In the case found, it was set to `1`. This makes the detection of the missing third argument bogus and unnecessarily triggers a warning. This oversight was introduced in 229b5ee994 (GNUInstallDirs: Add dir argument to GNUInstallDirs_get_absolute_install_dir, 2020-10-31) prior to CMake 3.20's release cycle. | 22 August 2021, 16:42:48 UTC |
25c5ebb | Brad King | 27 May 2021, 20:50:55 UTC | VS: Add special case for '-T version=14.29.16.11' under VS 16.11 Extend the table of special cases from commit 58a50a3a0a (VS: Fix '-T version=14.28' under VS 16.9, 2021-03-11, v3.19.7~1^2~1) and updated by commit a60141feaa (VS: Add special case for '-T version=14.29.16.10' under VS 16.10, 2021-05-27, v3.20.4~11^2). Add a special case for the name VS 17 will use for VS 16.11's default toolset, so that it can be used with VS 16.11 too. Issue: #21922 | 19 August 2021, 18:57:30 UTC |
2b2a6a7 | Ben Boeckel | 19 August 2021, 17:09:39 UTC | FindMPI: do not detect `-framework` as a compile flag MPICH 3.4.2 now reports `-framework OpenCL` as one of its compilation flag. The compile flag extraction is seeing it as a generic `-f` flag and misses its argument. This ends up with a compile option of `-framework` which eats the next flag (and may be very important). It does not seem that passing `-framework` as a link flag is necessary at this time, so that is being actively ignored for now. Fixes: #22555 | 19 August 2021, 17:09:39 UTC |
d2a6e16 | Brad King | 19 August 2021, 16:22:47 UTC | AUTOUIC: Revert "Fix generating of dependency rules for UI header files" Revert commit e5ec0e52f4 (AUTOUIC: Fix generating of dependency rules for UI header files, 2021-07-22, v3.21.1~8^2) because it caused regressions. For example, changing one C++ source can now cause many others to rebuild. Revert the change pending further investigation. Fixes: #22531 Issue: #16776 | 19 August 2021, 16:23:16 UTC |
30dd9b3 | Brad King | 19 August 2021, 14:27:14 UTC | Merge topic 'FindPkgConfig-restore-legacy-behavior' into release-3.21 17e4934dbf FindPkgConfig: Restore legacy behavior when CMP0126 is set to NEW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6461 | 19 August 2021, 14:27:23 UTC |
daeb4f0 | Brad King | 19 August 2021, 14:25:53 UTC | Merge topic 'binutils-clang-fallback-ld' into release-3.21 788b7afff2 FindBinUtils: Fall back to ld for Clang without lld Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6457 | 19 August 2021, 14:26:17 UTC |
a7daf30 | Brad King | 19 August 2021, 14:24:58 UTC | Merge topic 'CheckLanguage-CMP0126' into release-3.21 89ed11ae6f CheckLanguage: Avoid CMP0126 warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6462 | 19 August 2021, 14:25:15 UTC |
7f69056 | Brad King | 19 August 2021, 14:23:19 UTC | Merge topic 'android-macos-arm64' into release-3.21 164643fc39 Android: Fix NDK toolchain dir on arm64 mac Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6449 | 19 August 2021, 14:23:31 UTC |
89ed11a | Brad King | 18 August 2021, 19:24:30 UTC | CheckLanguage: Avoid CMP0126 warning The macro's implementation converts a normal variable into a cache variable intentionally, so both are set. Explicitly set CMP0126 to NEW to avoid a warning in trace mode. This won't affect the module behavior because the code path does not activate if a normal variable is already defined anyway. Fixes: #22548 | 18 August 2021, 19:25:49 UTC |
17e4934 | Marc Chevrier | 14 August 2021, 14:48:22 UTC | FindPkgConfig: Restore legacy behavior when CMP0126 is set to NEW Module behavior must be independent from `CMP0126` policy. Fixes: #22526 | 18 August 2021, 18:51:50 UTC |
788b7af | Thomas Bernard | 16 August 2021, 21:48:41 UTC | FindBinUtils: Fall back to ld for Clang without lld If `lld` is not available, Clang can still use `ld`. Fixes: #22500 | 18 August 2021, 18:31:21 UTC |
164643f | WangBin | 12 August 2021, 03:14:22 UTC | Android: Fix NDK toolchain dir on arm64 mac | 18 August 2021, 18:09:33 UTC |
3de5096 | Brad King | 11 August 2021, 13:13:54 UTC | Merge topic 'vs-flags' into release-3.21 3f9ef3703a VS: Fix /reference and /headerUnit flag table entries for v142 and v143 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6445 | 11 August 2021, 13:14:25 UTC |
3f9ef37 | Brad King | 10 August 2021, 14:37:57 UTC | VS: Fix /reference and /headerUnit flag table entries for v142 and v143 These flags accept values in following arguments, not immediately appended. Fixes: #22530 | 10 August 2021, 14:37:57 UTC |
81aef41 | Brad King | 10 August 2021, 13:22:37 UTC | Merge topic 'binutils-no-cmake-paths' into release-3.21 fc1f733cc7 BinUtils: Avoid searching CMAKE_PREFIX_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6434 | 10 August 2021, 13:22:52 UTC |
fc1f733 | Cristian Adam | 07 August 2021, 12:12:22 UTC | BinUtils: Avoid searching CMAKE_PREFIX_PATH Our `find_program` calls specify `HINTS` to look in the toolchain's directory first, and then in `PATH`. `CMAKE_PREFIX_PATH` may be specified by the user to help find packages for project dependencies, but this should not override the binutils. Fixes: #22512 | 09 August 2021, 13:59:29 UTC |
c949772 | Brad King | 09 August 2021, 13:37:38 UTC | Merge topic 'help_cmake_path' into release-3.21 bb19af546b Help: cmake_path: add missing parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6431 | 09 August 2021, 13:37:58 UTC |
b5c4b70 | Brad King | 09 August 2021, 13:36:40 UTC | Merge topic 'nvhpc_support_new_c_and_c++_standards' into release-3.21 9ac426e460 NVHPC-C: Add support for C17 f5dbc27c27 NVHPC-CXX: Add support for C++20 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !6430 | 09 August 2021, 13:36:58 UTC |
bb19af5 | Michael Hirsch | 06 August 2021, 07:57:19 UTC | Help: cmake_path: add missing parameter for cmake_path(`CONVERT` ... [NORMALIZE]) was missing in top summary | 06 August 2021, 15:55:53 UTC |
86633cc | Brad King | 06 August 2021, 14:55:12 UTC | Merge topic 'ninja-lwyu-ar' into release-3.21 93eb4a7bd1 Ninja: Revert accidental LINK_WHAT_YOU_USE impl for static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6418 | 06 August 2021, 14:55:48 UTC |
f21ed57 | Brad King | 06 August 2021, 14:53:28 UTC | Merge branch 'release-3.20' into release-3.21 | 06 August 2021, 14:53:28 UTC |
ea8fc62 | Brad King | 06 August 2021, 14:47:24 UTC | Merge topic 'macos-10.4' into release-3.21 1af23c4de2 macOS: Restore support for Mac OS X 10.4 (Tiger) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6426 | 06 August 2021, 14:48:20 UTC |
9ac426e | Robert Maynard | 05 August 2021, 20:19:23 UTC | NVHPC-C: Add support for C17 | 05 August 2021, 20:19:23 UTC |
f5dbc27 | Robert Maynard | 05 August 2021, 13:11:40 UTC | NVHPC-CXX: Add support for C++20 | 05 August 2021, 20:19:12 UTC |
93eb4a7 | Đoàn Trần Công Danh | 31 July 2021, 07:17:35 UTC | Ninja: Revert accidental LINK_WHAT_YOU_USE impl for static libraries In commit d7159f9591, (Ninja: Fix LINK_WHAT_YOU_USE link flag placement, 2021-06-24), we fixed usage of -Wl,--no-as-needed to override -Wl,--as-needed from LDFLAGS. However, that change also passes -Wl,--no-as-needed to `ar`, which is incorrect flag for `ar`. Let's check the target type before passing down the flags. Fixes: #22487 | 03 August 2021, 15:21:26 UTC |
fbf5a36 | Brad King | 03 August 2021, 15:00:27 UTC | Merge topic 'cpack-rpm-pre-semicolon' into release-3.21 3cdf23985f CPackRPM: avoid a spurious `;` in the `%pre` and other sections with scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6415 | 03 August 2021, 15:01:08 UTC |
54be23d | Brad King | 03 August 2021, 14:58:50 UTC | Merge topic 'CC-DEPFILE-independent-from-CMAKE_DEPENDS_USE_COMPILER' into release-3.21 213fec4908 add_custom_command(DEPFILE) independent from CMAKE_DEPENDS_USE_COMPILER Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6421 | 03 August 2021, 14:59:38 UTC |
aa1426d | Brad King | 03 August 2021, 14:57:19 UTC | Merge topic 'help-get_filename_path-fix-version-changed' into release-3.21 8b28fe5670 Help: get_filename_component: fix version info for cmake_path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6423 | 03 August 2021, 14:57:44 UTC |
91ba893 | Brad King | 02 August 2021, 20:14:39 UTC | Merge branch 'macos-10.4' into release-3.20 Merge-request: !6426 | 02 August 2021, 20:14:39 UTC |
1af23c4 | Evan Miller | 02 August 2021, 19:38:02 UTC | macOS: Restore support for Mac OS X 10.4 (Tiger) Since commit 4aed96e230 (Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too, 2021-04-06, v3.20.1~5^2) we always enable support for linking with `-rpath`. The intention of the change was to enable using the flag on iOS, tvOS and watchOS by avoiding a Darwin-specific version check. However, removing the check broke support for OS X 10.4 because the flag is not supported on that version. Restore a form of the check that disables the flag on OS X < 10.5 while still allowing it for the other Apple platforms. Since no one is doing iOS/tvOS/etc development on 10.4, this change should have no unintended side effects. Fixes: #22490 | 02 August 2021, 20:12:14 UTC |
3cdf239 | Artur Samarin | 30 July 2021, 16:38:56 UTC | CPackRPM: avoid a spurious `;` in the `%pre` and other sections with scripts This was accidentally added by commit 34c8a23044 (CPackRPM: add scriplets tags only if scripts exist, 2021-04-01, v3.21.0-rc1~387^2). Fixes: #22501 | 02 August 2021, 19:04:22 UTC |
e9b8d6f | Brad King | 02 August 2021, 18:06:58 UTC | Merge topic 'vs-iface-include-dirs' into release-3.21 53aabe9817 VS: Fix assertion failure on INCLUDE_DIRECTORIES in INTERFACE libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6411 | 02 August 2021, 18:07:13 UTC |
d14a1ae | Brad King | 02 August 2021, 18:05:16 UTC | Merge topic 'nvhpc-MD-flag' into release-3.21 7ce718376c NVHPC: Support 21.07 change to '-MD' where it behaves like gcc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6408 | 02 August 2021, 18:05:34 UTC |
00535ba | Brad King | 02 August 2021, 18:03:42 UTC | Merge topic 'autogen-ui-header-depends' into release-3.21 283e8d8d04 AUTOUIC: Add test for cyclic dependency between UI headers and timestamp Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !6404 | 02 August 2021, 18:04:08 UTC |
8b28fe5 | Marc Chevrier | 02 August 2021, 09:12:46 UTC | Help: get_filename_component: fix version info for cmake_path Fixes: #22505 | 02 August 2021, 09:12:46 UTC |
28ce8a9 | Craig Scott | 02 August 2021, 08:55:26 UTC | Merge topic 'doc-dmg-filesystem' into release-3.21 03ddaf1763 Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6416 | 02 August 2021, 08:56:23 UTC |
6fb63e5 | Craig Scott | 02 August 2021, 08:54:27 UTC | Merge topic 'doc-presets-toolchain-file' into release-3.21 ca371d3a14 Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6417 | 02 August 2021, 08:54:49 UTC |
213fec4 | Marc Chevrier | 01 August 2021, 09:46:20 UTC | add_custom_command(DEPFILE) independent from CMAKE_DEPENDS_USE_COMPILER Fixes: #22486 | 01 August 2021, 13:24:16 UTC |
ca371d3 | Craig Scott | 31 July 2021, 07:08:42 UTC | Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE | 31 July 2021, 07:08:42 UTC |
03ddaf1 | Craig Scott | 31 July 2021, 01:14:26 UTC | Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM | 31 July 2021, 01:14:26 UTC |
53aabe9 | Brad King | 29 July 2021, 15:21:13 UTC | VS: Fix assertion failure on INCLUDE_DIRECTORIES in INTERFACE libraries Since commit 4391913133 (Add INTERFACE libraries to generated buildsystem if they have SOURCES, 2020-07-20, v3.19.0-rc1~346^2~1), the VS generator may process INTERFACE libraries. Avoid code paths in the generator that process include directories because they should not be used by INTERFACE libraries since they do not compile anything. Fixes: #22494 | 29 July 2021, 15:38:58 UTC |
7ce7183 | Robert Maynard | 28 July 2021, 17:47:19 UTC | NVHPC: Support 21.07 change to '-MD' where it behaves like gcc | 29 July 2021, 14:43:54 UTC |
516ac34 | Brad King | 29 July 2021, 12:46:35 UTC | Merge topic 'haiku-platform' into release-3.21 a1261ce917 Platform/Haiku: Remove the include-once behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6401 | 29 July 2021, 12:46:47 UTC |
0a959bb | Brad King | 29 July 2021, 12:45:27 UTC | Merge topic 'cuda_separable_clang_make' into release-3.21 3975678fcc CUDA/Clang: Simplify --register-link-binaries logic 0b1cea66cd CUDA/Clang: Fix separable compilation in non-root directories with Makefiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6400 | 29 July 2021, 12:45:40 UTC |
5f1afff | Brad King | 29 July 2021, 12:44:13 UTC | Merge topic 'ctest-test-changing-labels' into release-3.21 26170ea306 CTest: Reset multi-options to persistent multi-options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6403 | 29 July 2021, 12:44:27 UTC |
a1261ce | Jessica Hamilton | 28 July 2021, 09:48:03 UTC | Platform/Haiku: Remove the include-once behavior The behavior was added by commit 7ebc1cb2ff (Haiku: Several fixes to platform module, 2013-10-05, v3.0.0-rc1~541^2~3), but was not explained in its commit message. No other platform modules do this. The include-once behavior results in incorrect variables set in some larger projects, e.g. .NET Core, particularly when cross-compiling, `CMAKE_DL_LIBS` being one of these. Remove it. | 29 July 2021, 12:42:46 UTC |
3975678 | root | 27 July 2021, 20:38:36 UTC | CUDA/Clang: Simplify --register-link-binaries logic Move the logic for appending cubin afterwards, so the check can simply be empty(). With the Makefile generator the option is now at the front instead of being intermixed with the actual bins. | 29 July 2021, 10:19:37 UTC |
0b1cea6 | root | 27 July 2021, 19:58:03 UTC | CUDA/Clang: Fix separable compilation in non-root directories with Makefiles Seems the relative paths were wrong basically all around such that only compiling files in the top-level directory would work. I've modified CudaOnly.SeparateCompilation to cover this. Fixes #22482. | 29 July 2021, 10:19:37 UTC |
283e8d8 | Alexey Edelev | 28 July 2021, 14:32:27 UTC | AUTOUIC: Add test for cyclic dependency between UI headers and timestamp Follow up test for the commit 9cebdbec. | 28 July 2021, 16:43:18 UTC |
26170ea | Kyle Edwards | 28 July 2021, 13:43:04 UTC | CTest: Reset multi-options to persistent multi-options 44ad3f0b added multi-options to CTest, but didn't reset them, causing ctest_test() to fail if it was run multiple times with different label arguments. Reset the multi-options. Fixes: #22485 | 28 July 2021, 13:58:28 UTC |
b880867 | Brad King | 28 July 2021, 13:14:27 UTC | Merge topic 'cmake-presets-v2-inherit-v3-optional' into release-3.21 3e42bf3e05 CMakePresets: Check presets with their own file version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6398 | 28 July 2021, 13:14:39 UTC |
3e42bf3 | Kyle Edwards | 27 July 2021, 15:45:57 UTC | CMakePresets: Check presets with their own file version 06e6981 added support for optional binaryDir and generator, but use the dependent preset's file version instead of the current preset's file version. Check presets with their own file version instead of their dependent's file version. Fixes: #22428 | 27 July 2021, 15:45:57 UTC |
f7cf69e | Brad King | 27 July 2021, 13:29:13 UTC | CMake 3.21.1 | 27 July 2021, 13:29:13 UTC |
675c130 | Brad King | 27 July 2021, 13:11:05 UTC | Merge topic 'FindXCTest-xcode-12.5' into release-3.21 0b5301a778 FindXCTest: Fix output directory for test bundle with Xcode 12.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6379 | 27 July 2021, 13:11:32 UTC |
f90e100 | Brad King | 27 July 2021, 13:10:13 UTC | Merge topic 'disable-exec-info' into release-3.21 aa4c30182b Add option to explicitly avoid using execinfo for backtraces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6386 | 27 July 2021, 13:10:31 UTC |
f90d995 | Brad King | 27 July 2021, 13:09:20 UTC | Merge topic 'vs-flag-FS' into release-3.21 937f454fb9 VS: Remove C++ module CompileAs flag table entries for v142 and v143 8fb349a80e VS: Remove cl /FS entry from flag table for v142 and v143 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Niels Dekker <niels_dekker_address_until_2024@xs4all.nl> Merge-request: !6390 | 27 July 2021, 13:09:31 UTC |
a5f655b | Brad King | 27 July 2021, 13:08:14 UTC | Merge topic 'test-compile-options-none' into release-3.21 91968ca668 Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6385 | 27 July 2021, 13:08:34 UTC |
0b5301a | Yauheni Khnykin | 22 July 2021, 08:40:50 UTC | FindXCTest: Fix output directory for test bundle with Xcode 12.5 The fix from commit eafe740ead (FindXCTest: Fix output directory for test bundle with new build system, 2021-02-09, v3.19.5~5^2) is not necessary with Xcode 12.5, which seems to have changed/fixed the behaviour again. Fixes: #22462 | 26 July 2021, 17:31:10 UTC |
aa4c301 | Đoàn Trần Công Danh | 18 July 2021, 09:32:38 UTC | Add option to explicitly avoid using execinfo for backtraces backtrace(3) from libexecinfo in musl will run into crash [1]. Provide an option to disable it explicitly even if libexecinfo is present. 1: https://www.openwall.com/lists/musl/2021/07/17/1 | 26 July 2021, 16:14:02 UTC |
0615aef | Brad King | 26 July 2021, 16:10:01 UTC | Merge topic 'update-kwsys' into release-3.21 4977184128 Merge branch 'upstream-KWSys' into update-kwsys 7fc3f7001a KWSys 2021-07-26 (d5fd6ca2) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6391 | 26 July 2021, 16:10:23 UTC |
937f454 | Brad King | 26 July 2021, 14:46:14 UTC | VS: Remove C++ module CompileAs flag table entries for v142 and v143 The `CompileAs` entry in a `.vcxproj` file with values: * `CompileAsCppModule` for `-interface` * `CompileAsCppModuleInternalPartition` for `-internalPartition` * `CompileAsHeaderUnit` for `-exportHeader` does not cause the corresponding flag to be added to the command line. Drop the flag table entries so that the flags go to `AdditionalOptions`. Fixes: #22477 | 26 July 2021, 14:49:26 UTC |
8fb349a | Brad King | 26 July 2021, 13:44:55 UTC | VS: Remove cl /FS entry from flag table for v142 and v143 The `ForceSynchronousPDBWrites` entry in a `.vcxproj` file does not actually cause the `/FS` flag to be added to the command line. Fixes: #22476 | 26 July 2021, 14:45:09 UTC |
4977184 | Brad King | 26 July 2021, 14:17:18 UTC | Merge branch 'upstream-KWSys' into update-kwsys # By KWSys Upstream * upstream-KWSys: KWSys 2021-07-26 (d5fd6ca2) | 26 July 2021, 14:17:18 UTC |
7fc3f70 | KWSys Upstream | 26 July 2021, 14:16:56 UTC | KWSys 2021-07-26 (d5fd6ca2) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit d5fd6ca2ba5b4ca04d7ac346ceb87f7d2b0ad8aa (master). Upstream Shortlog ----------------- Dženan Zukić (1): 7079df74 SystemTools: Fix GetOperatingSystemNameAndVersion empty string return Đoàn Trần Công Danh (1): 4e69b791 SystemInformation: Add option to explicitly avoid using execinfo | 26 July 2021, 14:17:18 UTC |
91968ca | Đoàn Trần Công Danh | 18 July 2021, 09:49:41 UTC | Tests/CompileOptions: allow CMAKE_BUILD_TYPE=None In the same spirit of commit ce1cadd35a, (Tests/ConfigSources: fix for non main stream CMAKE_BUILD_TYPE, 2021-04-01). Allow distributions' check to pass seemlessly. Issue: #22470 | 26 July 2021, 13:50:26 UTC |
0079f24 | Brad King | 26 July 2021, 13:39:43 UTC | Merge topic 'doc-custom-command-depfiles' into release-3.21 f6e5743d0e Help: Clarify and correct wording around DEPFILE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6387 | 26 July 2021, 13:39:55 UTC |
00a3889 | Brad King | 26 July 2021, 13:36:41 UTC | Merge topic 'ninja-multi-test-fix' into release-3.21 08131e83bc Tests: Clean up Ninja Multi-Config test from cb777dd Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6383 | 26 July 2021, 13:36:49 UTC |
98d813b | Brad King | 26 July 2021, 13:34:23 UTC | Merge topic 'autouic-header-depends' into release-3.21 e5ec0e52f4 AUTOUIC: Fix generating of dependency rules for UI header files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6380 | 26 July 2021, 13:34:51 UTC |
2f7c4a7 | Brad King | 26 July 2021, 13:33:42 UTC | Merge topic 'autogen-deps' into release-3.21 4bda03370d AutoGen: Fix needless compilation of mocs_compilation.cpp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6381 | 26 July 2021, 13:33:56 UTC |
9d9d527 | Craig Scott | 26 July 2021, 11:47:48 UTC | Merge topic 'doc-ctest-output' into release-3.21 ba6d1947b6 Help: Add cross-references between test output size ctest variables cdde9e5a10 Help: Improve wording and cross-referencing for ctest JUnit output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6389 | 26 July 2021, 11:48:02 UTC |
ba6d194 | Craig Scott | 25 July 2021, 11:37:59 UTC | Help: Add cross-references between test output size ctest variables | 26 July 2021, 11:08:45 UTC |
cdde9e5 | Craig Scott | 25 July 2021, 11:31:48 UTC | Help: Improve wording and cross-referencing for ctest JUnit output | 25 July 2021, 11:37:29 UTC |
f6e5743 | Craig Scott | 24 July 2021, 05:08:21 UTC | Help: Clarify and correct wording around DEPFILE option The previous wording contradicted itself regarding whether Visual Studio generators were supported, and about when generator expressions could be used. Restructure the paragraphs and max it clearer what support was added in which CMake versions. | 24 July 2021, 05:08:21 UTC |
08131e8 | Kyle Edwards | 23 July 2021, 17:22:59 UTC | Tests: Clean up Ninja Multi-Config test from cb777dd | 23 July 2021, 17:22:59 UTC |
4bda033 | Joerg Bornemann | 30 June 2021, 10:18:21 UTC | AutoGen: Fix needless compilation of mocs_compilation.cpp For an AUTOMOC'ed target foo, when depfiles are used, there are the following dependencies: foo_autogen -> foo_autogen/timestamp foo_autogen/mocs_compilation.cpp -> foo_autogen/timestamp The first is used to trigger AUTOGEN. The second erroneously triggers a recompilation of mocs_compilation.cpp when any source file of target foo is touched. Remove the latter dependency and replace it with an order-only dependency from foo_autogen/mocs_compilation.cpp to foo_autogen_timestamp_deps. That is achieved by making mocs_compilation.cpp or its per-configuration variants byproduct(s) of the timestamp file. Fixes: #22338 | 23 July 2021, 13:47:28 UTC |
c8f13bc | Brad King | 23 July 2021, 13:39:13 UTC | Merge topic 'gnu_c23' into release-3.21 d61bc4241d GNU: Correct C23 flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6376 | 23 July 2021, 13:40:35 UTC |
e06c60f | Brad King | 23 July 2021, 13:38:31 UTC | Merge topic 'nmc-target-objects' into release-3.21 cb777dd81e Ninja Multi-Config: Restore TARGET_OBJECTS support in cross-configs 83c8272280 cmGeneratorExpressionNode: Factor out local variable for global generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6371 | 23 July 2021, 13:39:25 UTC |
8ea0691 | Brad King | 23 July 2021, 13:37:55 UTC | Merge topic 'enable_language-CMP0126' into release-3.21 078ba4b2a4 Swift: Update test case to try CMP0126 NEW behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6375 | 23 July 2021, 13:38:04 UTC |
e5ec0e5 | Alexey Edelev | 22 July 2021, 10:13:48 UTC | AUTOUIC: Fix generating of dependency rules for UI header files We could not rely on .ui files when generating the ninja rules for the generated UI header files. .ui files might be added to the target sources but never processed by AUTOUIC afterward, since UI header files are never included in a source code. Instead of adding dependency rules based on the .ui files, this approach scans non-generated source files for includes of the UI header files, as AUTOUIC does. This gives the consistent set of UI header files at configure time, that could be used to generate byproducts rules for the AUTOUIC. Also, the path to the generated UI header file depends not on the .ui file location but on the include line is used in source files. Fixes: #16776 | 23 July 2021, 13:37:31 UTC |
41e9953 | Brad King | 23 July 2021, 13:27:20 UTC | Merge topic 'iar-binutils' into release-3.21 5b9bfe738c IAR: Moved search logic to BinUtils. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6372 | 23 July 2021, 13:27:28 UTC |
5b9bfe7 | Jean-Marc Hengen | 19 July 2021, 21:14:29 UTC | IAR: Moved search logic to BinUtils. The search logic for the IAR linker, librarian and related tools is moved from `Modules/Compiler/IAR-FindBinUtils.cmake` to `Modules/CMakeFindBinUtils.cmake` by introducing an new elseif block for the IAR toolchain. The search logic was refactored to omit repeating itself. Fixes: #22425 | 23 July 2021, 12:34:26 UTC |
d61bc42 | Raul Tambre | 21 July 2021, 17:23:30 UTC | GNU: Correct C23 flags Non-final forms aren't supported yet, unlike C++23. Seems I might've gotten confused due to that when I added these. Fixes #22453. | 21 July 2021, 17:25:02 UTC |
cb777dd | Brad King | 20 July 2021, 18:51:06 UTC | Ninja Multi-Config: Restore TARGET_OBJECTS support in cross-configs Since commit 2ae72ef74b (Xcode: Enable multi-arch TARGET_OBJECTS genex in [INTERFACE_]LINK_LIBRARIES, 2021-05-26, v3.21.0-rc1~126^2) the TARGET_OBJECTS genex, when referenced for linking, is now evaluated with EvaluateForBuildsystem enabled. This causes the object file paths to be computed with a buildsystem-specific placeholder for the configuration. This is normally fine because the placeholder will be evaluated by the native buildsystem tool using the proper configuration. However, the Ninja Multi-Config generator's `${CONFIGURATION}` placeholder may not have the correct value for cross-config object files. Switch back to using the per-config location of each object file for this generator. Fixes: #22436 | 21 July 2021, 15:46:15 UTC |
078ba4b | Brad King | 21 July 2021, 14:44:15 UTC | Swift: Update test case to try CMP0126 NEW behavior Extend the `SwiftOnly` test to cover the fix in commit 3ddd7f3576 (enable_language: Fix test for working compiler with CMP0126 NEW behavior, 2021-07-15), as that commit did for the `CSharpOnly` test. Fixes: #22451 | 21 July 2021, 15:37:45 UTC |
e98bfa4 | Brad King | 21 July 2021, 15:33:57 UTC | Merge topic 'message-color' into release-3.21 c7a8c9c811 cmMessenger: Revert to non-color messages on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6369 | 21 July 2021, 15:34:04 UTC |
6e04e06 | Brad King | 21 July 2021, 15:32:11 UTC | Merge topic 'CMakeDependentOption-revert-parens' into release-3.21 d777ca12f6 CMakeDependentOption: Revert "Allow parentheses in the depends string" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6368 | 21 July 2021, 15:32:48 UTC |
797aa4c | Brad King | 21 July 2021, 15:31:16 UTC | Merge topic 'toolchain-CMP0126' into release-3.21 144be54dd3 try_compile: Propagate CMP0126 to the generated test project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6366 | 21 July 2021, 15:31:29 UTC |
83c8272 | Brad King | 20 July 2021, 18:50:13 UTC | cmGeneratorExpressionNode: Factor out local variable for global generator | 20 July 2021, 18:52:01 UTC |
c7a8c9c | Brad King | 20 July 2021, 16:56:29 UTC | cmMessenger: Revert to non-color messages on Windows Since commit 0a0a0f8a74 (cmMessenger: Color messages to terminal by type, 2021-05-18, v3.21.0-rc1~146^2) the message output no longer goes through our custom streambuf on Windows that converts output encoding. This can cause messages to be printed with the wrong encoding in a Windows Console. It also causes messages to have a mix of LF and CRLF newlines because `stderr` converts LF to CRLF but our custom streambuf does not. Revert to using just `cerr` for messages on Windows. Another approach will be needed to achieve color output on Windows later. Fixes: #22444 | 20 July 2021, 17:30:11 UTC |
d777ca1 | Brad King | 20 July 2021, 16:11:47 UTC | CMakeDependentOption: Revert "Allow parentheses in the depends string" Revert commit 0665d9092e (CMakeDependentOption: Allow parentheses in the depends string, 2021-06-13, v3.21.0-rc1~32^2). It broke existing use cases with parentheses in regular expressions. Also add a test for this. Fixes: #22447 | 20 July 2021, 16:18:53 UTC |
31ecd37 | Brad King | 20 July 2021, 15:55:25 UTC | Merge topic 'iar-exe-suffix' into release-3.21 09bc0785ee Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly 05a3bafe65 Compiler/IAR: Avoid clobbering CMAKE_EXECUTABLE_SUFFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6357 | 20 July 2021, 15:56:01 UTC |