- Jul 20, 2021
-
-
9cebdbec AUTOUIC: Fix cyclic dependency between generated UI headers and timestamp Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6359
-
7b5fa0f7 Help: Make policy CMP0126 wording more accurate c4bc250f Help: Explain policy CMP0125 in more detail 6d5f74fc Help: Clarify wording of CMP0124 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6360
-
8d1944c6 Help: Expand details for file(COPY_FILE) c8ea8861 Help: Re-order file() sub-commands in Filesystem section b5a96716 Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for 8be7694d Help: Fix trivial typo Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6361
-
- Jul 19, 2021
-
-
Craig Scott authored
-
Craig Scott authored
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.
-
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 1265c65b (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
-
aa874dc6 CMakePresets.json: Fix expansion issue with empty binaryDir Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6358
-
3ddd7f35 enable_language: Fix test for working compiler with CMP0126 NEW behavior Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6355
-
1aba3a83 libuv: Fix building with mingw toolchains for ARM/AArch64 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6354
-
0bb3d457 TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage 32ff836e TestDriver: suppress deprecated header lints for time.h Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6352
-
85e74031 Help/ctest_test: add a comment to also update `ctest_memcheck` 731cfd45 Help/ctest_memcheck: mention `ctest_test` arguments Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6351
-
Since these commands share a common argument parser, the documentation should be kept synchronized.
-
0c7f918f VS: Update Visual Studio 17 2022 generator for Preview 2 1ac1436b VS: Fix `/sourceDependencies` flag table entries for v143 919fc7fd VS: Remove broken EnableASAN entry from flag table for v143 3f19847b VS: Remove empty ExternalWarningLevel entry from flag table for v143 ccb6083c VS: Remove empty LanguageStandard entries from flag table for v143 c167de7e VS: Remove empty ConformanceMode entry from flag table for v143 993d706a VS: Populate `/JMC-` flag table entry for v143 a070d87e 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
-
- Jul 18, 2021
-
-
Craig Scott authored
-
Craig Scott authored
-
- Jul 17, 2021
-
-
Craig Scott authored
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.
-
Craig Scott authored
-
Craig Scott authored
-
- Jul 16, 2021
-
-
Kyle Edwards authored
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
-
- Jul 15, 2021
-
-
Brad King authored
In particular, update to toolset `v143`. Fixes: #22339
-
Brad King authored
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 887e9df0 (VS: Update v142 CL flag table for VS 16.10, 2021-06-04, v3.21.0-rc1~77^2).
-
Brad King authored
-
Brad King authored
-
Brad King authored
-
Brad King authored
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`.
-
Brad King authored
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.
-
Brad King authored
-
Brad King authored
-
Brad King authored
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
-
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>
-
79e139e3 ci: use CMake 3.21.0 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6349
-