Brad King
874c2e1198
FindQt4: Drop outdated advice to look at CMakeError.log on failure
...
The find module does not write information to the log.
2023-01-18 16:41:00 -05:00
Brad King
a80465bcad
GHS: Drop debugging message from log
2023-01-18 16:41:00 -05:00
Brad King
9199449687
CompileFeatures: Warn explicitly when feature detection binary is not found
...
This step is not normally expected to fail, so warn instead of logging it.
2023-01-18 16:41:00 -05:00
Brad King
24ccc8c3c9
CompilerId: Restore logging of failed identifications
...
Changes in commit 9c5bd7fe3a (CompilerId: Output errors from all
attempts at detection, 2022-08-16, v3.25.0-rc1~290^2) accidentally
stopped logging failed compiler identification build output.
2023-01-18 16:41:00 -05:00
Brad King
95976514f6
Tests: Avoid using CMake{Output,Error}.log files
...
These log files will soon go away, so avoid using them in tests.
2023-01-18 16:40:19 -05:00
Brad King
20bbd5f3d3
Merge topic 'configure-log'
...
a78cba5197 message: Add CONFIGURE_LOG mode to record a message in the configure log
645671d36f Help: Document configure log behavior in try_compile and try_run
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8080
2023-01-18 12:43:19 -05:00
Brad King
bcf28839f4
Merge topic 'clang-format-attr'
...
48639aa8fc clang-format.bash: Use generic clang-format attribute
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8085
2023-01-18 12:37:26 -05:00
Brad King
48639aa8fc
clang-format.bash: Use generic clang-format attribute
...
Specify the clang-format version in the attribute value instead of its
name.
Issue: #24315
2023-01-18 11:48:49 -05:00
Brad King
a78cba5197
message: Add CONFIGURE_LOG mode to record a message in the configure log
...
Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)`
that records messages in the configure log.
Issue: #23200
2023-01-18 11:37:11 -05:00
Brad King
645671d36f
Help: Document configure log behavior in try_compile and try_run
2023-01-18 11:37:02 -05:00
Brad King
9ce1c87037
Merge topic 'swift-ios'
...
44abf24848 Swift: Add comment about where platform-specific flags should go
9a013c9e9d Swift: Use macOS-style linker flags on iOS, tvOS, and watchOS too
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8070
2023-01-18 10:56:23 -05:00
Brad King
4ad38700c9
Merge topic 'doc-CMAKE_CONFIGURATION_TYPES'
...
ea54cce962 Help: Document format of CMAKE_CONFIGURATION_TYPES list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8081
2023-01-18 10:54:38 -05:00
Brad King
c15ce60486
Merge topic 'doc-DEFINE_SYMBOL-unix'
...
22d8ff63f5 Help: add notes for POSIX platforms to the DEFINE_SYMBOL target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8062
2023-01-18 10:52:59 -05:00
Brad King
3e7f3e2ca9
Merge topic 'add_visbility_flags_to_device_link_line'
...
0c56bdf91e CUDA: device linking obeys CMAKE_CUDA_VISIBILITY_PRESET setting
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8065
2023-01-18 10:52:12 -05:00
Brad King
427538b78e
Merge topic 'docpc'
...
93624e4c3d Help:ProcessorCount: recommend cmake_host_system_information
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8077
2023-01-18 10:48:35 -05:00
Brad King
bdb4a4136b
Merge topic 'IntelLLVM-c++23'
...
4331f7b4bf IntelLLVM: Add provisional flags for C23 and C++23
42ca6416af IntelLLVM: Replace -Qstd= with -Qstd: on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !8064
2023-01-18 10:47:17 -05:00
Brad King
63819be2eb
Merge topic 'less-conversions'
...
b3edfcf46e cmValue: Use operator* explicitly to convert to std::string; avoid extra call
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8075
2023-01-18 10:44:18 -05:00
Brad King
06407ea5c2
Merge topic 'typo-fix'
...
99614e06be Source: Fix a few typos
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8078
2023-01-18 10:43:17 -05:00
Kitware Robot
076848f558
CMake Nightly Date Stamp
2023-01-18 00:01:10 -05:00
Brad King
ea54cce962
Help: Document format of CMAKE_CONFIGURATION_TYPES list
...
Issue: #24327
2023-01-17 10:24:32 -05:00
Brad King
43c4faaf48
Merge branch 'release-3.25'
2023-01-17 10:00:10 -05:00
Brad King
8d1705dbd2
Merge branch 'backport-FindCUDAToolkit-cuda-12-nvToolsExt' into release-3.25
...
Merge-request: !8076
2023-01-17 09:59:31 -05:00
Brad King
45f86b9990
Merge topic 'configure-log'
...
48292c8624 try_compile: Record stack of in-progess checks in configure log
d4bf7d80c6 try_compile: Add a NO_LOG option to skip recording in the configure log
9d9e8450a8 try_compile: Add optional LOG_DESCRIPTION to record in configure log
65ed5c2ca8 try_compile: Report underlying error when COPY_FILE fails
0418efb7ad Tests: Add explicit ConfigureLog case to RunCMake.try_compile
189557bd74 cmake: Make entire in-progress check stack available internally
96ce3581ab Help: Clarify backtrace order in cmake-configure-log(7)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8072
2023-01-17 09:26:50 -05:00
Brad King
44abf24848
Swift: Add comment about where platform-specific flags should go
2023-01-17 09:21:15 -05:00
Craig Hutchinson
9a013c9e9d
Swift: Use macOS-style linker flags on iOS, tvOS, and watchOS too
...
Without this, building a shared Swift library with `CMAKE_SYSTEM_NAME=iOS`
produces the error `ld: unknown option: -soname`. iOS is an Apple platform,
and so should use the `-install_name` option.
2023-01-17 09:20:39 -05:00
Brad King
dd18be5ebf
Merge topic 'ctest-no-tests-action-env-var'
...
0661de58d8 ctest(1): Add CTEST_NO_TESTS_ACTION env var
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8044
2023-01-17 09:18:04 -05:00
Brad King
99c6e032d6
Merge branch 'release-3.25'
2023-01-17 09:17:06 -05:00
Brad King
64100dd5ca
Merge branch 'release-3.24'
2023-01-17 09:17:04 -05:00
Brad King
74da1d1a8f
Merge branch 'release-3.24' into release-3.25
2023-01-17 09:16:54 -05:00
Brad King
f58a820c59
Merge branch 'release-3.25'
2023-01-17 09:16:10 -05:00
Brad King
fbb4886daf
Merge topic 'doc-header-only'
...
93696d0f2e Help: Restore cmake-buildsystem(7) header-only library example
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8071
2023-01-17 09:16:09 -05:00
Brad King
4465e1ea31
Merge topic 'doc-header-only' into release-3.25
...
93696d0f2e Help: Restore cmake-buildsystem(7) header-only library example
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8071
2023-01-17 09:16:08 -05:00
Vitaly Stakhovsky
99614e06be
Source: Fix a few typos
2023-01-17 08:25:04 -05:00
Ralf Habacker
22d8ff63f5
Help: add notes for POSIX platforms to the DEFINE_SYMBOL target property
...
Fixes #24310
2023-01-17 14:23:02 +01:00
Kitware Robot
304f133305
CMake Nightly Date Stamp
2023-01-17 00:01:07 -05:00
Brad King
48292c8624
try_compile: Record stack of in-progess checks in configure log
...
Many `try_compile` and `try_run` calls occur inside check modules
between `message(CHECK_START)` and `message(CHECK_{PASS,FAIL})` pairs.
Add a field to configure log entries to report this context.
Issue: #23200
2023-01-16 17:18:07 -05:00
Brad King
d4bf7d80c6
try_compile: Add a NO_LOG option to skip recording in the configure log
2023-01-16 17:16:12 -05:00
Brad King
9d9e8450a8
try_compile: Add optional LOG_DESCRIPTION to record in configure log
...
Issue: #23200
2023-01-16 16:58:50 -05:00
Brad King
65ed5c2ca8
try_compile: Report underlying error when COPY_FILE fails
2023-01-16 16:58:49 -05:00
Brad King
0418efb7ad
Tests: Add explicit ConfigureLog case to RunCMake.try_compile
2023-01-16 16:58:49 -05:00
Brad King
189557bd74
cmake: Make entire in-progress check stack available internally
...
Represent it as a `vector` so we can iterate over the whole stack.
2023-01-16 16:58:49 -05:00
scivision
93624e4c3d
Help:ProcessorCount: recommend cmake_host_system_information
...
closes #24277
2023-01-16 15:30:06 -05:00
scivision
4331f7b4bf
IntelLLVM: Add provisional flags for C23 and C++23
2023-01-16 15:08:34 -05:00
scivision
42ca6416af
IntelLLVM: Replace -Qstd= with -Qstd: on Windows
...
The latter is the documented form [1].
[1] https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/language-options/std-qstd.html
2023-01-16 15:08:34 -05:00
Robert Maynard
0c56bdf91e
CUDA: device linking obeys CMAKE_CUDA_VISIBILITY_PRESET setting
...
Fixes #24272
2023-01-16 11:27:13 -05:00
Robert Maynard
eb4de10075
FindCUDAToolkit: Handle CUDA::nvToolsExt not existing
...
Fixes #24275
2023-01-16 09:43:43 -05:00
Kitware Robot
87d28dd804
CMake Nightly Date Stamp
2023-01-16 00:01:26 -05:00
Vitaly Stakhovsky
b3edfcf46e
cmValue: Use operator* explicitly to convert to std::string; avoid extra call
2023-01-15 23:39:02 -05:00
Kitware Robot
701badbd20
CMake Nightly Date Stamp
2023-01-15 00:01:05 -05:00
Kitware Robot
6aeafcffe6
CMake Nightly Date Stamp
2023-01-14 00:01:13 -05:00