https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
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
e10c776 Merge topic 'iar-host-exe' into release-3.21 1c66012f8e Compiler/IAR: search for both IAR's binaries * and *.exe Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6362 20 July 2021, 15:55:05 UTC
09bc078 Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly Documentation for `CMAKE_EXECUTABLE_SUFFIX_<LANG>`, useful when cross-compiling, is buried in section `CMAKE_EXECUTABLE_SUFFIX`. 20 July 2021, 15:51:19 UTC
05a3baf Compiler/IAR: Avoid clobbering CMAKE_EXECUTABLE_SUFFIX Use `CMAKE_EXECUTABLE_SUFFIX_<LANG>` instead. Fixes: #22426 20 July 2021, 15:51:19 UTC
1c66012 Compiler/IAR: search for both IAR's binaries * and *.exe IAR is available for both Linux and Windows OSes. Moreover, binaries `*.exe` could be called from a Linux box, or vice versa. See also commit 01a4eec446 (IAR: Changes required for Linux, 2019-04-25, v3.15.0-rc1~185^2). Fixes: #22312 20 July 2021, 15:50:09 UTC
91a9044 Merge topic 'enable_language-CMP0126' into release-3.21 f75610d492 CMakeDetermineCompilerId: Fix CMAKE_EXECUTABLE_FORMAT in CMP0126 NEW behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6364 20 July 2021, 15:47:07 UTC
9a2f3d4 Merge topic 'autogen-ui-header-depends' into release-3.21 9cebdbec77 AUTOUIC: Fix cyclic dependency between generated UI headers and timestamp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6359 20 July 2021, 15:46:00 UTC
97db2e6 Merge topic 'doc-policies-3.21' into release-3.21 7b5fa0f7b4 Help: Make policy CMP0126 wording more accurate c4bc250f8c Help: Explain policy CMP0125 in more detail 6d5f74fcd7 Help: Clarify wording of CMP0124 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6360 20 July 2021, 15:44:45 UTC
144be54 try_compile: Propagate CMP0126 to the generated test project Set policy CMP0126 to the value used in the calling project. It may affect toolchain file behavior. 20 July 2021, 13:47:02 UTC
3f3179a Merge topic 'doc-cleanups-3.21' into release-3.21 8d1944c675 Help: Expand details for file(COPY_FILE) c8ea886123 Help: Re-order file() sub-commands in Filesystem section b5a96716eb Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for 8be7694d97 Help: Fix trivial typo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6361 20 July 2021, 11:54:58 UTC
8d1944c Help: Expand details for file(COPY_FILE) 19 July 2021, 22:49:04 UTC
c8ea886 Help: Re-order file() sub-commands in Filesystem section The file(COPY_FILE) sub-command is closely related to the file(COPY) sub-command. Move the former to just before the latter for improved continuity. The file(RENAME) sub-command is also somewhat related to file(COPY_FILE), so it was also moved to keep it just before file(COPY_FILE). The file(MAKE_DIRECTORY) sub-command was also moved to just before the file(REMOVE) and file(REMOVE_RECURSE) sub-commands to keep them together and improve logical flow of operations. 19 July 2021, 22:39:34 UTC
f75610d CMakeDetermineCompilerId: Fix CMAKE_EXECUTABLE_FORMAT in CMP0126 NEW behavior Setting `CMAKE_EXECUTABLE_FORMAT` as a normal variable is unnecessary because setting it as a cache entry already makes the value visible to the calling scope. Fixes: #22433 19 July 2021, 19:28:14 UTC
9cebdbe AUTOUIC: Fix cyclic dependency between generated UI headers and timestamp Once the generated UI headers are created by UIC they also are involved into processing in next run on ninja. Autogen adds `ui_*.h` files to the deps file `ui_*.h` and this cause timestamp start depend on `ui_*.h`. Meanwhile `ui_*.h` depend on timestamp because of the explicit rules added by commit 1265c65b33 (AUTOUIC: Collect ui header files for Ninja generator, 2021-02-18, v3.21.0-rc1~600^2). Avoid adding `ui_*.h` to deps file at second ninja run. Fixes: #16776 19 July 2021, 17:28:16 UTC
4ff651e Merge topic 'cmake-presets-no-binary-dir-no-s' into release-3.21 aa874dc609 CMakePresets.json: Fix expansion issue with empty binaryDir Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6358 19 July 2021, 16:59:01 UTC
095f49e Merge topic 'enable_language-CMP0126' into release-3.21 3ddd7f3576 enable_language: Fix test for working compiler with CMP0126 NEW behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6355 19 July 2021, 16:50:57 UTC
38ad30c Merge topic 'libuv-mingw-arm' into release-3.21 1aba3a8367 libuv: Fix building with mingw toolchains for ARM/AArch64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6354 19 July 2021, 16:48:40 UTC
9484e43 Merge topic 'TestDriver-time.h-lint' into release-3.21 0bb3d457cb TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage 32ff836e2a TestDriver: suppress deprecated header lints for time.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6352 19 July 2021, 16:47:21 UTC
6004b99 Merge topic 'Help-ctest_memcheck-shared-args' into release-3.21 85e740312f Help/ctest_test: add a comment to also update `ctest_memcheck` 731cfd45fd Help/ctest_memcheck: mention `ctest_test` arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6351 19 July 2021, 16:46:13 UTC
85e7403 Help/ctest_test: add a comment to also update `ctest_memcheck` Since these commands share a common argument parser, the documentation should be kept synchronized. 19 July 2021, 16:45:17 UTC
292f336 Merge topic 'vs2022' into release-3.21 0c7f918fb1 VS: Update Visual Studio 17 2022 generator for Preview 2 1ac1436b25 VS: Fix `/sourceDependencies` flag table entries for v143 919fc7fd5f VS: Remove broken EnableASAN entry from flag table for v143 3f19847b28 VS: Remove empty ExternalWarningLevel entry from flag table for v143 ccb6083cbe VS: Remove empty LanguageStandard entries from flag table for v143 c167de7e70 VS: Remove empty ConformanceMode entry from flag table for v143 993d706a17 VS: Populate `/JMC-` flag table entry for v143 a070d87e08 VS: Populate `-Qspectre-` flag table entry for v143 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Egor Pugin <egor.pugin@gmail.com> Merge-request: !6350 19 July 2021, 16:41:19 UTC
b5a9671 Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for 18 July 2021, 06:45:20 UTC
8be7694 Help: Fix trivial typo 18 July 2021, 05:57:06 UTC
7b5fa0f Help: Make policy CMP0126 wording more accurate The OLD behavior only removes a non-cache variable of the same name in specific circumstances. The previous wording implied that it would always occur. Also add a note about the behavior compared to the analogous CMP0077 policy, which affects the option() command in a similar but subtly different way. 17 July 2021, 07:18:22 UTC
c4bc250 Help: Explain policy CMP0125 in more detail 17 July 2021, 06:43:25 UTC
6d5f74f Help: Clarify wording of CMP0124 17 July 2021, 06:43:25 UTC
aa874dc CMakePresets.json: Fix expansion issue with empty binaryDir When resolving binaryDir into a full path from a relative path, we forgot to check if binaryDir is altogether empty, causing empty binaryDir's to resolve to the source directory. Fix this. Fixes: #22434 16 July 2021, 14:25:40 UTC
0c7f918 VS: Update Visual Studio 17 2022 generator for Preview 2 In particular, update to toolset `v143`. Fixes: #22339 15 July 2021, 17:12:55 UTC
1ac1436 VS: Fix `/sourceDependencies` flag table entries for v143 Revise the `/sourceDependencies[:directives]` table entries to properly distinguish the two options (because one is a prefix of the other), and to populate both `Generate*Dependencies` and `*DependenciesFile`. This is the manual update mentioned in commit 887e9df0c7 (VS: Update v142 CL flag table for VS 16.10, 2021-06-04, v3.21.0-rc1~77^2). 15 July 2021, 17:12:55 UTC
919fc7f VS: Remove broken EnableASAN entry from flag table for v143 Apply the change from commit 7fce2d372e (VS: Revert "Add support for ASAN -fsanitize=address flag", 2021-04-26, v3.21.0-rc1~270^2) to the v143 flag table. Issue: #21081 15 July 2021, 17:12:55 UTC
3f19847 VS: Remove empty ExternalWarningLevel entry from flag table for v143 15 July 2021, 17:12:54 UTC
ccb6083 VS: Remove empty LanguageStandard entries from flag table for v143 15 July 2021, 17:12:54 UTC
c167de7 VS: Remove empty ConformanceMode entry from flag table for v143 15 July 2021, 17:12:54 UTC
993d706 VS: Populate `/JMC-` flag table entry for v143 Apply the change from commit 049410c0b6 (VS: Populate `/JMC-` flag table entry for v142, 2019-01-24, v3.14.0-rc1~74^2~6) to the v143 flag table. 15 July 2021, 17:12:54 UTC
a070d87 VS: Populate `-Qspectre-` flag table entry for v143 Apply the change from commit 43aa632f57 (VS: Populate `-Qspectre-` flag table entry for v142, 2019-01-24, v3.14.0-rc1~74^2~7) to the v143 flag table. Sort the longer options before the shorter ones. Remove the default variant with an empty switch. 15 July 2021, 17:12:54 UTC
3322bb7 VS: Populate `/Y-` flag table entry for v143 Apply the change from commit 460a146e2b (VS: Populate `/Y-` flag table entry for v142, 2019-01-24, v3.14.0-rc1~74^2~8) to the v143 flag table. 15 July 2021, 17:12:54 UTC
cccef3c VS: Add `-Zc:inline[-]` flag table entry for v143 Apply the change from commit 0df3790371 (VS: Add `-Zc:inline[-]` flag table entry for v142, 2019-01-24, v3.14.0-rc1~74^2~9) to the v143 flag table. 15 July 2021, 17:12:54 UTC
2d64b01 VS: Fix `/analyze:log` flag mapping for v143 Apply the change from commit fb2e418c64 (VS: Fix `/analyze:log` flag mapping for v142, 2019-01-24, v3.14.0-rc1~74^2~10) to the v143 flag table. 15 July 2021, 17:12:54 UTC
b933584 VS: Remove the /MERGE flag from v143 link flag table Apply the change from commit a9f992434d (VS: Remove the /MERGE flag from FlagTables, 2021-06-08, v3.21.0-rc1~58^2) to the v143 flag table. 15 July 2021, 17:12:54 UTC
d3175a6 VS: Map the link `/debug` flag for v143 Apply the changes from commit 533f95c847 (VS: Map the link `/debug` flag for v142, 2019-01-24, v3.14.0-rc1~74^2~3) to the v143 flag table. 15 July 2021, 17:12:53 UTC
9e10045 VS: Fix `/MANIFESTUAC:` link flag mapping for v143 Apply the changes from commit d2fcc6748a (VS: Fix `/MANIFESTUAC:NO` link flag mapping for v142, 2019-01-24, v3.14.0-rc1~74^2~4) and commit fd45cbf40e (VS: Fix `/MANIFESTUAC:` link flag mapping for v142, 2019-01-24, v3.14.0-rc1~74^2~1) to the v143 flag table. 15 July 2021, 17:12:53 UTC
c152d08 VS: Add v143 flag tables for VS 17.0 Preview 2 Run the commands python3 Source/cmConvertMSBuildXMLToJSON.py -t v143 \ 'c:/.../2022/Preview/MSBuild/Microsoft/VC/v170/1033/cl.xml' python3 Source/cmConvertMSBuildXMLToJSON.py -t v143 \ 'c:/.../2022/Preview/MSBuild/Microsoft/VC/v170/1033/link.xml' To generate `Templates/MSBuild/FlagTables/v143_{CL,Link}.json`. We can re-use `Templates/MSBuild/FlagTables/v14_LIB.json`. 15 July 2021, 17:12:53 UTC
7adfd89 VS: Add CSharp VS 2022 compiler version and flag table v143 While the flag tables for C and C++ were generated from MSBuild `.xml` files, the CSharp flag tables were written by hand. Copy the `v142` flag table to use for the `v143` toolset. 15 July 2021, 17:12:07 UTC
63c1262 VS: Improve v142 CL flag table LanguageStandard ordering 15 July 2021, 17:12:06 UTC
b8d6a21 VS: Recognize CSharp VS 2019 compiler version v142 15 July 2021, 17:11:41 UTC
3ddd7f3 enable_language: Fix test for working compiler with CMP0126 NEW behavior Update the logic that converts a `try_compile` result from a cache entry to a normal variable to tolerate an existing normal variable under CMP0126 NEW behavior. Otherwise the `try_compile` result is ignored because CMake uses the false value of the normal variable, and CMake incorrectly reports that the compiler does not work. This went unnoticed for some languages (e.g. C and CXX) because the check for a working compiler is skipped if ABI detection works. It does affect other languages (e.g. CSharp). Fixes: #22423 15 July 2021, 17:06:18 UTC
1aba3a8 libuv: Fix building with mingw toolchains for ARM/AArch64 This is a backport of f9ad802fa5dd5afe6730f8e00cfdbf98f1d7a969 from the v1.x branch from upstream libuv: mingw: fix building for ARM/AArch64 Don't use x86 inline assembly in these cases, but fall back to __sync_fetch_and_or, similar to _InterlockedOr8 in the MSVC case. This corresponds to what is done in src/unix/atomic-ops.h, where ARM/AArch64 cases end up implementing cmpxchgi with __sync_val_compare_and_swap. PR-URL: https://github.com/libuv/libuv/pull/3236 Reviewed-By: Jameson Nash <vtjnash@gmail.com> 15 July 2021, 14:59:07 UTC
7c6234d Merge topic 'ci-use-3.21.0' into release-3.21 79e139e3d3 ci: use CMake 3.21.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6349 15 July 2021, 14:54:39 UTC
0bb3d45 TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage 14 July 2021, 23:53:54 UTC
32ff836 TestDriver: suppress deprecated header lints for time.h Similar to the other includes, this one should be suppressed as well. 14 July 2021, 20:47:16 UTC
731cfd4 Help/ctest_memcheck: mention `ctest_test` arguments These are handled internally by inheriting `ctest_test`'s argument bindings. Synchronize the documentation. 14 July 2021, 19:23:48 UTC
79e139e ci: use CMake 3.21.0 14 July 2021, 17:25:51 UTC
ff7a2e3 CMake 3.21.0 14 July 2021, 14:10:23 UTC
80ca307 Merge topic 'armlink_armar_detection' into release-3.21 509ef50a06 ARMClang: Fix regression in check for working compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6346 14 July 2021, 14:06:29 UTC
509ef50 ARMClang: Fix regression in check for working compiler Given the compiler to use, `CMakeFindBinUtils.cmake` automatically determines a number of tools including linker (CMAKE_LINKER) and archiver (CMAKE_AR) and stores them in a generated file `CMakeCCompiler.cmake` as non-CACHE entries. The compiler-specific ARMClang.cmake then tries to override CMAKE_LINKER and CMAKE_AR as CACHE entries. Following the introduction of CMP0126, which is set to NEW in the test for a working compiler, setting a CACHE entry does not replace a normal entry of the same name anymore, resulting in a failed test due to wrong linker and archiver. To fix this, set CMAKE_LINKER and CMAKE_AR for ARMClang directly in `CMakeFindBinUtils.cmake` as is done for other compilers. Check for them in `ARMClang.cmake` to safeguard cases when a project explicitly includes `ARMClang.cmake` prior to compiler determination (which some projects do to work around other problems in older CMake versions). 14 July 2021, 13:45:09 UTC
5e75fd6 Merge topic 'doc-cmake-build-signature' into release-3.21 161f1f42d6 Help: Clarify 'cmake --build' signature alternatives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6343 14 July 2021, 13:22:26 UTC
161f1f4 Help: Clarify 'cmake --build' signature alternatives Documentation added by * commit 4f4f2028b8 (Help: Add documentation for buildPresets and testPresets, 2021-01-13, v3.20.0-rc1~51^2~7) * commit 676ecf0d37 (cmake-presets: Add build and test presets, 2020-12-14, v3.20.0-rc1~51^2~6) used square brackets in the `cmake --build` signature to indicate non-optional alternatives, which is not a typical convention. A common convention is to use parentheses instead, but in this case it is probably clearer to list the two signatures separately. Fixes: #22413 13 July 2021, 13:41:26 UTC
00e8292 Merge topic 'file-grd-arch' into release-3.21 b2c03347b0 file(GET_RUNTIME_DEPENDENCIES): Check architecture of dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6339 13 July 2021, 12:18:32 UTC
49e1fda Merge topic 'doc-preset-example-v3' into release-3.21 2114d717a0 Help: Fix preset example cmakeMinimumRequired Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6333 13 July 2021, 12:17:30 UTC
27d248a Merge topic 'cpack-deb-post-ops' into release-3.21 805fa791d1 CPack/DEB: Avoid overriding user-provided `postinst` and `postrm` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6335 13 July 2021, 12:16:26 UTC
0698c15 Merge topic 'FindBLAS-LAPACK-All' into release-3.21 31ac4b9165 ci: Verify that Intel MKL is found when it is the only BLAS/LAPACK 57dcde19da Find{BLAS,LAPACK}: Avoid clobbering results when no vendor is requested Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6336 13 July 2021, 12:15:06 UTC
805fa79 CPack/DEB: Avoid overriding user-provided `postinst` and `postrm` When a user provides `CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA` or `CPACK_DEBIAN_<comp>_PACKAGE_CONTROL_EXTRA` variables in `CMakeLists.txt` and the package contains dynamic libraries, the `CPackDeb.cmake` sets `CPACK_ADD_LDCONFIG_CALL` to `1`. Later it analyzes if defaulted `postinst`/`postrm` should be generated trying to check if the user provides any in `CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA` variable. However, the `foreach` loop uses the invalid variable `PACKAGE_CONTROL_EXTRA` instead, so these files gonna be overridden. Fix the variable name. Fixes: #22410 12 July 2021, 21:04:29 UTC
back to top