Commit Graph

59949 Commits

Author SHA1 Message Date
Alex Turbov
049b017c5d cmDocumentation.cxx: Use anonymous namespace instead of static 2022-11-16 18:37:05 +04:00
Alex Turbov
30bcdafaef cmDocumentation: Remove MSVC 6 workaround 2022-11-16 18:37:05 +04:00
Brad King
e2f12b6c8b Merge branch 'release-3.25' 2022-11-16 08:59:14 -05:00
Brad King
c5a94e730a Merge topic 'qtifw-4.5'
351239b776 CPack/IFW: Add support for QtIFW 4.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7920
2022-11-16 08:59:13 -05:00
Brad King
7621eec766 Merge topic 'qtifw-4.5' into release-3.25
351239b776 CPack/IFW: Add support for QtIFW 4.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7920
2022-11-16 08:59:13 -05:00
Brad King
facd621db2 Merge branch 'release-3.25' 2022-11-16 08:57:04 -05:00
Brad King
b686b58208 Merge topic 'cmp0141-pch-reuse'
94164ea55e CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7914
2022-11-16 08:57:04 -05:00
Brad King
23183a6ad7 Merge topic 'cmp0141-pch-reuse' into release-3.25
94164ea55e CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7914
2022-11-16 08:57:03 -05:00
Kitware Robot
b7ab39bf59 CMake Nightly Date Stamp 2022-11-16 00:01:11 -05:00
Erlend E. Aasland
351239b776 CPack/IFW: Add support for QtIFW 4.5
Fixes: #24164
2022-11-15 16:30:50 -05:00
Brad King
88c4006f05 Merge topic 'ci-continuous'
6cf026ab06 ci: add macos-x86_64-ninja build and test jobs to continuous pipeline

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7915
2022-11-15 10:02:30 -05:00
Brad King
6cf026ab06 ci: add macos-x86_64-ninja build and test jobs to continuous pipeline 2022-11-15 09:21:58 -05:00
Brad King
0ebee2a14b Merge topic 'ci-openmp-macos'
7ef3638454 ci: Enable FindOpenMP tests on macOS Ninja and Makefiles jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7912
2022-11-15 09:14:46 -05:00
Brad King
eda68d229d Merge topic 'cmake-E-copy-t-mode'
8d9069e5b6 cmake -E copy: Add support for -t argument

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7913
2022-11-15 09:14:07 -05:00
Brad King
cf0f704683 Merge topic 'clang-tidy-module-ostringstream-check'
0880114ada clang-tidy: disable ostringstream check
75ab77ee19 clang-tidy module: add test for ostringstream check
04638e7358 clang-tidy module: add check for ostringstream

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7911
2022-11-15 09:12:50 -05:00
Brad King
3379723239 Merge topic 'test-isolate-ctest-env'
e46a9d79fc Tests: Isolate more RunCMake cases from external ctest environment values
3b6c1c1a3b Tests: Factor out RunCMake ctest environment isolation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7909
2022-11-15 09:11:10 -05:00
Brad King
6f9544736a Merge topic 'better_handling_of_build_args'
01611f8258 cmake: --build improve detection of no build dir

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7908
2022-11-15 08:55:19 -05:00
Brad King
5dbc7be0da Merge topic 'legacy'
a44d415ed3 CMakeDetermineSystem: use execute_process() vs. exec_program()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7884
2022-11-15 08:53:50 -05:00
Brad King
82e49021fe Merge topic 'top-level-command-order'
59573bf5b9 project: Warn at top-level if `cmake_minimum_required` wasn't called
23f3dd9f7c RunCMake/project: Ignore exact line number in stderr checks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7902
2022-11-15 08:51:20 -05:00
Brad King
e58936fd6d Merge topic 'lcc-cleanup'
84eebdf18e Tests: Teach CheckSourceTree test to clean up more specific known files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7907
2022-11-15 08:49:41 -05:00
Kyle Edwards
8d9069e5b6 cmake -E copy: Add support for -t argument
Fixes: #23543
2022-11-15 07:47:07 -05:00
Brad King
94164ea55e CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty
Under the policy's NEW behavior, `[CMAKE_]MSVC_DEBUG_INFORMATION_FORMAT`
may be explicitly set to an empty string to tell CMake not to add any
flags for this abstraction.  In this case, fall back to checking the
language-wide flags as we do in the OLD behavior.

This revises commit 183b9a9eca (CMP0141: Fix PCH REUSE_FROM under policy
NEW behavior, 2022-10-31, v3.25.0-rc3~4^2).

Issue: #24106
2022-11-15 06:57:02 -05:00
Kitware Robot
0cb0be5920 CMake Nightly Date Stamp 2022-11-15 00:01:09 -05:00
Brad King
7ef3638454 ci: Enable FindOpenMP tests on macOS Ninja and Makefiles jobs
Since Apple does not distribute the OpenMP header and library
with its AppleClang compiler, download them as part of the jobs.
2022-11-14 14:26:10 -05:00
Kyle Edwards
0880114ada clang-tidy: disable ostringstream check
CMake is not remotely ready for this yet...
2022-11-14 14:03:59 -05:00
Sean Orner
75ab77ee19 clang-tidy module: add test for ostringstream check 2022-11-14 13:51:59 -05:00
Joe Blaauboer
04638e7358 clang-tidy module: add check for ostringstream 2022-11-14 13:51:59 -05:00
Brad King
f8107e7c6b Merge branch 'release-3.25' 2022-11-14 12:53:50 -05:00
Brad King
05dcc98578 Merge branch 'release-3.24' 2022-11-14 12:53:48 -05:00
Brad King
dc034393be Merge branch 'release-3.23' 2022-11-14 12:53:41 -05:00
Brad King
3555265f1d Merge branch 'release-3.24' into release-3.25 2022-11-14 12:17:27 -05:00
Brad King
8ad8c4432f Merge branch 'release-3.23' into release-3.24 2022-11-14 12:17:21 -05:00
Brad King
7f51a044d9 Merge branch 'compile-msvc-14.34-c++20' into release-3.25
Merge-request: !7910
2022-11-14 12:17:02 -05:00
Brad King
3e0ccd6469 Merge branch 'compile-msvc-14.34-c++20' into release-3.24
Merge-request: !7910
2022-11-14 12:16:46 -05:00
Brad King
2ac207f046 Merge branch 'compile-msvc-14.34-c++20' into release-3.23
Merge-request: !7910
2022-11-14 12:16:27 -05:00
Werner, Joerg
a394c9416d cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022
Adding missing narrow string conversion.

This backports commit f3c918ef1b (cmGlobalVisualStudioGenerator: Fix
compiling as C++20 in VS 2022, 2022-10-20, v3.25.0-rc3~31^2) to the
CMake 3.23 and 3.24 branches.

Fixes: #24162
2022-11-14 12:07:16 -05:00
Brad King
e46a9d79fc Tests: Isolate more RunCMake cases from external ctest environment values
Fix a few RunCMake cases that were running `ctest` without isolating it
from external environment values that affect its behavior.

Fixes: #24153
2022-11-14 11:08:45 -05:00
Brad King
3b6c1c1a3b Tests: Factor out RunCMake ctest environment isolation
Some RunCMake tests unset some environment variables that affect ctest's
behavior before running it.  Any test using the RunCTest helper needs to
do this, so do it in the helper itself.

Issue: #24153
2022-11-14 11:05:56 -05:00
Robert Maynard
01611f8258 cmake: --build improve detection of no build dir
Fixes #24157
2022-11-14 10:46:17 -05:00
Brad King
84eebdf18e Tests: Teach CheckSourceTree test to clean up more specific known files
Extend the list of files added by commit 2de1458c3c (Tests: Teach
CheckSourceTree test to clean up some specific known files, 2022-10-13).
2022-11-14 10:35:06 -05:00
Brad King
7a4673965f Merge topic 'nvcc-isystem'
207fd956d8 CUDA: Use consistent -isystem flag style for NVIDIA nvcc

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7904
2022-11-14 10:32:32 -05:00
Brad King
0e2a73fefd Merge topic 'profile-genex'
4d70a94545 Profiling: Profile genex evaluation
09d7f947d6 cmGeneratorExpression: Require cmake instance
553794e987 cmake::CreateProfilingEntry: Refactor to take lambda for args

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: alcroito <alexandru.croitor@qt.io>
Merge-request: !7898
2022-11-14 10:25:01 -05:00
Brad King
4bf832086a Merge topic 'ci-windows-arm64'
09c1b1db07 gitlab-ci: Add windows-arm64 native jobs for Ninja and VS
61ebd7d083 ci: Download cmake on windows-arm64
93a5d89b42 ci: Teach cmake download script on Windows to branch on host architecture
1ccffcf0ea ci: Factor out helper to load python into environment on Windows
781303c0e2 ci: Factor out helper to load qt into environment on Windows
b0d16c7f74 Tests: Fix CTest.UpdateGIT under repo-local defaultBranch config

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !7905
2022-11-14 10:20:32 -05:00
Brad King
e683a428f6 Merge branch 'release-3.25' 2022-11-14 10:18:21 -05:00
Brad King
38c8866dd1 Merge topic 'msvc-19.34-cpp-modules'
0e9782b336 msvc: bless MSVC 19.34 support for C++ modules as experimental

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7745
2022-11-14 10:18:21 -05:00
Brad King
d41243efc9 Merge topic 'msvc-19.34-cpp-modules' into release-3.25
0e9782b336 msvc: bless MSVC 19.34 support for C++ modules as experimental

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7745
2022-11-14 10:18:20 -05:00
Brad King
401bfe46f1 Merge branch 'release-3.25' 2022-11-14 10:15:56 -05:00
Brad King
6495e7e555 Merge topic 'iar-asm-archid'
f9ff6ab2d1 IAR: Fix ASM compiler architecture detection

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7903
2022-11-14 10:15:56 -05:00
Brad King
7e3389ce42 Merge topic 'iar-asm-archid' into release-3.25
f9ff6ab2d1 IAR: Fix ASM compiler architecture detection

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7903
2022-11-14 10:15:55 -05:00
Kitware Robot
f3d2e3f95d CMake Nightly Date Stamp 2022-11-14 00:01:22 -05:00