summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'configure-log'Brad King2023-01-182-0/+29
|\ | | | | | | | | | | | | | | 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
| * message: Add CONFIGURE_LOG mode to record a message in the configure logBrad King2023-01-182-0/+29
| | | | | | | | | | | | | | Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)` that records messages in the configure log. Issue: #23200
* | clang-format.bash: Use generic clang-format attributeBrad King2023-01-182-2/+2
| | | | | | | | | | | | | | Specify the clang-format version in the attribute value instead of its name. Issue: #24315
* | Merge topic 'add_visbility_flags_to_device_link_line'Brad King2023-01-181-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 0c56bdf91e CUDA: device linking obeys CMAKE_CUDA_VISIBILITY_PRESET setting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8065
| * | CUDA: device linking obeys CMAKE_CUDA_VISIBILITY_PRESET settingRobert Maynard2023-01-161-1/+1
| | | | | | | | | | | | Fixes #24272
* | | Merge topic 'less-conversions'Brad King2023-01-1826-99/+104
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | cmValue: Use operator* explicitly to convert to std::string; avoid extra callVitaly Stakhovsky2023-01-1626-99/+104
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-181-1/+1
| |_|/ |/| |
* | | Merge topic 'configure-log'Brad King2023-01-177-21/+68
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | try_compile: Record stack of in-progess checks in configure logBrad King2023-01-165-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | try_compile: Add a NO_LOG option to skip recording in the configure logBrad King2023-01-164-4/+7
| | | |
| * | | try_compile: Add optional LOG_DESCRIPTION to record in configure logBrad King2023-01-162-0/+10
| | | | | | | | | | | | | | | | Issue: #23200
| * | | try_compile: Report underlying error when COPY_FILE failsBrad King2023-01-161-12/+24
| | | |
| * | | cmake: Make entire in-progress check stack available internallyBrad King2023-01-161-5/+4
| | | | | | | | | | | | | | | | Represent it as a `vector` so we can iterate over the whole stack.
* | | | Merge topic 'ctest-no-tests-action-env-var'Brad King2023-01-171-0/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | ctest(1): Add CTEST_NO_TESTS_ACTION env varfriendlyanon2023-01-131-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | This environment variable provides a default value for the --no-tests=<action> command line argument.
* | | | | CMake Nightly Date StampKitware Robot2023-01-171-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-01-161-1/+1
| |_|/ / |/| | |
* | | | CMake Nightly Date StampKitware Robot2023-01-151-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-141-1/+1
| |/ / |/| |
* | | Merge topic 'vs-masm-flags'Brad King2023-01-131-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 81f670fa83 VS: Honor compile options for MASM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8068
| * | | VS: Honor compile options for MASMBrad King2023-01-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja and Makefile generators honor `target_compile_options` and friends for MASM `.asm` sources. Teach the VS generator to honor them too for consistency. Fixes: #24289
* | | | Merge topic 'fea/add-copy_directory_if_different'Brad King2023-01-131-3/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1170b5602 cmake: Add -E copy_directory_if_different Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8059
| * | | | cmake: Add -E copy_directory_if_differentRobert Maynard2023-01-121-3/+8
| | | | | | | | | | | | | | | | | | | | Fixes #21584
* | | | | Merge topic 'try_run-cross-compile'Brad King2023-01-131-10/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cd5c8cac5 Merge branch 'backport-try_run-cross-compile' into try_run-cross-compile 0191e8b512 try_run: Do not require unrequested stdout/stderr when cross-compiling 2f85ec0a37 try_run: Avoid crash in keyword-dispatched signature when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8066
| * \ \ \ \ Merge branch 'backport-try_run-cross-compile' into try_run-cross-compileBrad King2023-01-121-6/+8
| |\ \ \ \ \
| | * | | | | try_run: Avoid crash in keyword-dispatched signature when cross-compilingBrad King2023-01-121-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit aa9220d3a0 (try_compile: Add keyword-dispatched signature, 2022-09-02, v3.25.0-rc1~178^2) the `DoNotRunExecutable` code path may be reached with no single source-file argument. Do not assume it exists. Fixes: #24295
| * | | | | | try_run: Do not require unrequested stdout/stderr when cross-compilingBrad King2023-01-121-4/+10
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 048a02d5bb (ConfigureLog: Log try_compile and try_run checks, 2022-11-23) we always capture the stdout/stderr for logging. When cross-compiling, do not require `__TRYRUN_OUTPUT_STD{OUT,ERR}` variables to be populated just for the logging.
* | | | | | CMake Nightly Date StampKitware Robot2023-01-131-1/+1
|/ / / / /
* | | | | Merge topic 'ctest-error-newlines'Brad King2023-01-125-11/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e7a4ad1a1 ctest: Add missing newlines on several error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8047
| * | | | | ctest: Add missing newlines on several error messagesChristian Häggström2023-01-115-11/+12
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this: user@host:~$ ctest --build-and-test foo --build-and-test must have source and binary dir Problem parsing command line arguments within a handleruser@host:~$
* | | | | Merge topic 'string-improve'Brad King2023-01-124-41/+28
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ee984defa CTest: Use std::string arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8046
| * | | | CTest: Use std::string argumentsVitaly Stakhovsky2023-01-034-41/+28
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-01-121-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2023-01-111-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-101-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-091-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-071-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-061-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-051-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-01-041-1/+1
|/ / /
* | | CMake Nightly Date StampKitware Robot2023-01-031-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-01-021-1/+1
| | |
* | | Merge topic 'std-move-on-return-warning'Craig Scott2023-01-011-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ba981bb2ed TryCompileCode(): Prevent warning on return value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8043
| * | | TryCompileCode(): Prevent warning on return valueCraig Scott2022-12-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some newer compilers warn in situations where the returned local variable could be movable, but a C++11 defect meant older compilers may still return a copy when a type conversion is involved. Adding the suggested std::move prevents that warning on that compiler, but creates a new warning on others. Constructing the actual return type explicitly with the suggested std::move on the constructor argument keeps both sets of compilers happy.
* | | | CMake Nightly Date StampKitware Robot2023-01-011-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-12-311-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2022-12-301-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-12-291-1/+1
| | |