Brad King
e107fd0713
Merge branch 'release-3.25'
2023-01-19 10:40:17 -05:00
Brad King
e2be23a2b3
CMake 3.25.2
2023-01-19 09:32:19 -05:00
Brad King
c3513e59c4
Merge topic 'minor-tutorial-fixes'
...
2e3fcf9399 Tutorial: Fix typos in Step 11 exercise and solution
f04c548877 Tutorial: Fix exercise in Step 10 to match solution provided in Step 11
566e12c976 Tutorial: Fix destination of link from Step 6 to Step 5
bef0b9eb64 Tutorial: Fix exercise in Step 5 to match solution provided in Step 6
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8087
2023-01-19 09:24:56 -05:00
Brad King
53d7d8d4ee
Help/dev: Update source code guide to specify clang-format version 15
2023-01-19 09:13:24 -05:00
Joshua Perrett
2e3fcf9399
Tutorial: Fix typos in Step 11 exercise and solution
2023-01-18 21:43:49 +00:00
Joshua Perrett
f04c548877
Tutorial: Fix exercise in Step 10 to match solution provided in Step 11
...
The solution in Step 11 sets POSITION_INDEPENDENT_CODE to
`${BUILD_SHARED_LIBS}`, rather than simply to "True" in all cases.
2023-01-18 21:43:49 +00:00
Joshua Perrett
566e12c976
Tutorial: Fix destination of link from Step 6 to Step 5
...
The link in Step 6 (to "Testing Support") clearly refers to Exercise 2.
Fix the location to which the link jumps.
2023-01-18 21:43:49 +00:00
Joshua Perrett
bef0b9eb64
Tutorial: Fix exercise in Step 5 to match solution provided in Step 6
...
If you look at the solution for Step 6, you will see `0.0001` rather
than `0.00001` used for the last test case. Fix the typo.
2023-01-18 14:10:42 -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
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
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
ea54cce962
Help: Document format of CMAKE_CONFIGURATION_TYPES list
...
Issue: #24327
2023-01-17 10:24:32 -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
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
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
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
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
96ce3581ab
Help: Clarify backtrace order in cmake-configure-log(7)
2023-01-13 13:21:41 -05:00
Brad King
93696d0f2e
Help: Restore cmake-buildsystem(7) header-only library example
...
Since commit 4391913133 (Add INTERFACE libraries to generated
buildsystem if they have SOURCES, 2020-07-20, v3.19.0-rc1~346^2~1) the
"Eigen" example in the `cmake-buildsystem(7)` manual is supposed to show
a header-only library in which the headers are attached as sources to be
edited in IDEs. This was accidentally broken by commit 4b25a0d512
(Help/manual: Update header-only library example, 2022-04-22,
v3.24.0-rc1~220^2) when updating the example to use a `FILE_SET`.
Fixes : #24319
2023-01-13 10:42:56 -05:00
Brad King
5dddc49e03
Merge topic 'fea/add-copy_directory_if_different'
...
c1170b5602 cmake: Add -E copy_directory_if_different
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8059
2023-01-13 08:54:21 -05:00
Brad King
a547f315dd
Merge topic 'deprecate-findunixcmds'
...
0847682c47 FindUnixCommands: Deprecate in favor of cmake -E
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8061
2023-01-13 08:53:30 -05:00
Brad King
8cf8c24df2
Merge topic 'IntelLLVM-no-icpx-on-Windows'
...
870d89627f Help: Clarify compiler id distinction between Intel Classic and IntelLLVM
ea4cfb3b53 Merge branch 'backport-IntelLLVM-no-icpx-on-Windows'
8834e4d6a5 IntelLLVM: Avoid finding not-yet-supported icpx on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8041
2023-01-13 08:39:41 -05:00
friendlyanon
0661de58d8
ctest(1): Add CTEST_NO_TESTS_ACTION env var
...
This environment variable provides a default value for the
--no-tests=<action> command line argument.
2023-01-13 13:33:39 +01:00
FeRD (Frank Dana)
0847682c47
FindUnixCommands: Deprecate in favor of cmake -E
...
`${CMAKE_COMMAND} -E` subcommands are cross-platform replacements.
Fixes : #24263
2023-01-12 11:34:48 -05:00
Michael Hirsch
870d89627f
Help: Clarify compiler id distinction between Intel Classic and IntelLLVM
2023-01-12 10:24:15 -05:00
Brad King
e4c281e451
Merge topic 'find-module-cleanup'
...
7683f43215 Help: Move FindITK/FindVTK to deprecated list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !8040
2023-01-12 09:31:34 -05:00
Brad King
a46a5aedee
Merge topic 'bug/cuda-toolkit-support-arm64-sbsa'
...
743d4181b4 FindCUDAToolkit: Support cross-compilation to sbsa-linux
e60fa80fbe FindCUDAToolkit: Handle CUDA::nvToolsExt not existing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8057
2023-01-12 09:29:28 -05:00
Brad King
b82b39df93
Merge topic 'tutorial_step5_todo_typo_fix'
...
91f6c808d0 Tutorial: Fix typo in step 5 todo statement
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8058
2023-01-12 09:28:50 -05:00
Brad King
64b7c16b21
Merge topic 'doc-configure_file'
...
b64a69b6c4 Help: Fix typo in configure_file docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8053
2023-01-12 09:27:19 -05:00
Brad King
b09f2f25b7
Merge topic 'frontend-variant-always'
...
e4fcdfa301 Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8036
2023-01-12 09:22:46 -05:00
Robert Maynard
c1170b5602
cmake: Add -E copy_directory_if_different
...
Fixes #21584
2023-01-12 08:39:41 -05:00
Gustaf Borgström
b64a69b6c4
Help: Fix typo in configure_file docs
2023-01-11 16:32:35 -05:00
Russell Greene
e4fcdfa301
Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilers
...
The `GNU` and `MSVC` compilers obviously use their own front-end
command-line style. Also set this for `AppleClang`.
Fixes : #24232
2023-01-11 14:50:40 -05:00
Markus Ferrell
91f6c808d0
Tutorial: Fix typo in step 5 todo statement
2023-01-11 11:55:53 -05:00
Robert Maynard
743d4181b4
FindCUDAToolkit: Support cross-compilation to sbsa-linux
...
Fixes #24192
2023-01-11 11:27:37 -05:00
Alexander Neundorf
0ee32d622c
Help: Mention USE_FOLDERS property in the FOLDER docs
2023-01-07 11:10:11 +11:00
FeRD (Frank Dana)
7683f43215
Help: Move FindITK/FindVTK to deprecated list
...
Both modules have actually been removed entirely, they exist
in the Help directory only as "This module used to exist"
placeholders.
2022-12-21 21:04:50 -05:00
Craig Scott
c1294454e5
Merge topic 'doc-SYSTEM'
...
dfab263825 Help: Clarify and update SYSTEM-related docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8027
2022-12-19 15:57:22 -05:00
Craig Scott
7aed5f74b2
Merge topic 'doc-SYSTEM' into release-3.25
...
dfab263825 Help: Clarify and update SYSTEM-related docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8027
2022-12-19 15:57:21 -05:00
Brad King
c9fe2523e0
Merge topic 'fileapi-configureLog'
...
d811d86fd7 FileAPI: Add "configureLog" object kind
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8029
2022-12-19 13:26:58 -05:00
Marc Chevrier
d36754e163
Merge topic 'doc-updates'
...
22d36aa0f8 Help: string(JSON): avoid duplicate labels
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8028
2022-12-18 08:06:27 -05:00
Brad King
d811d86fd7
FileAPI: Add "configureLog" object kind
...
Provide clients with a way to get a known set of configure log event
versions.
Issue: #23200
2022-12-17 08:52:04 -05:00
Brad King
02599da236
Merge topic 'cxxmodules-clang-update'
...
5dc17d0a7a gitlab-ci: update to new Clang CI image for C++ modules
e84fcbcb0b cxxmodules: support new round of Clang patches
5e35913382 ci: update `llvm` snapshot to newest patch revisions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8019
2022-12-17 08:47:31 -05:00
Brad King
a1b71112d1
Merge topic 'configure-log'
...
6c40e0b25e ConfigureLog: Version individual events instead of the whole log
048a02d5bb ConfigureLog: Log try_compile and try_run checks
746c776caf ConfigureLog: Add infrastructure for structured configure event logging
e8b8d82cbf Tests: Generalize RunCMake expectation component names
8d29a0bda6 cmTryRunCommand: Factor out stdout/stderr capture conditions
fdda4095a3 cmCoreTryCompile: Return more semantic information from compile step
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8017
2022-12-17 08:44:50 -05:00
Marc Chevrier
22d36aa0f8
Help: string(JSON): avoid duplicate labels
2022-12-17 12:42:36 +01:00