https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
31c5700 CMake 3.21.2 25 August 2021, 14:17:05 UTC
af71bdb 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 VS: Update Visual Studio 17 2022 generator for Preview 3.1 Issue: #22339 25 August 2021, 13:47:30 UTC
e4302d8 Merge branch 'release-3.20' into release-3.21 25 August 2021, 13:14:15 UTC
eae5533 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 Merge branch 'GNUInstallDirs-variable-named-0' into release-3.20 Merge-request: !6474 24 August 2021, 14:02:58 UTC
5a4847a 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Android: Fix NDK toolchain dir on arm64 mac 18 August 2021, 18:09:33 UTC
3de5096 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 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 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 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 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 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 Help: cmake_path: add missing parameter for cmake_path(`CONVERT` ... [NORMALIZE]) was missing in top summary 06 August 2021, 15:55:53 UTC
86633cc 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 Merge branch 'release-3.20' into release-3.21 06 August 2021, 14:53:28 UTC
ea8fc62 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 NVHPC-C: Add support for C17 05 August 2021, 20:19:23 UTC
f5dbc27 NVHPC-CXX: Add support for C++20 05 August 2021, 20:19:12 UTC
93eb4a7 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 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 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 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 Merge branch 'macos-10.4' into release-3.20 Merge-request: !6426 02 August 2021, 20:14:39 UTC
1af23c4 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 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 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 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 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 Help: get_filename_component: fix version info for cmake_path Fixes: #22505 02 August 2021, 09:12:46 UTC
28ce8a9 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 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 add_custom_command(DEPFILE) independent from CMAKE_DEPENDS_USE_COMPILER Fixes: #22486 01 August 2021, 13:24:16 UTC
ca371d3 Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE 31 July 2021, 07:08:42 UTC
03ddaf1 Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM 31 July 2021, 01:14:26 UTC
53aabe9 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 NVHPC: Support 21.07 change to '-MD' where it behaves like gcc 29 July 2021, 14:43:54 UTC
516ac34 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 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 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 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 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 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 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 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 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 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 CMake 3.21.1 27 July 2021, 13:29:13 UTC
675c130 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Help: Add cross-references between test output size ctest variables 26 July 2021, 11:08:45 UTC
cdde9e5 Help: Improve wording and cross-referencing for ctest JUnit output 25 July 2021, 11:37:29 UTC
f6e5743 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 Tests: Clean up Ninja Multi-Config test from cb777dd 23 July 2021, 17:22:59 UTC
4bda033 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 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 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 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 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 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 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 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 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 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 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 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 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 cmGeneratorExpressionNode: Factor out local variable for global generator 20 July 2021, 18:52:01 UTC
c7a8c9c 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 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 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
back to top