summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge topic 'cygwin-no-legacy-win32'Brad King2023-01-203-15/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a429e4b9b1 CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8096
| * | | | CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32Brad King2023-01-193-15/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to CMake 2.8.4 (released in 2011), we defined `WIN32` on CYGWIN. That was removed, but an undocumented `CMAKE_LEGACY_CYGWIN_WIN32` compatibility mode was left to help projects transition. Only projects that do not require at least 2.8.4 as their minimum CMake version need the compatibility mode. We've also long warned about projects that do not require at least 2.8.12, so it is now reasonable to remove the legacy compatibility mode.
* | | | Merge topic 'print-configure-generate-time'Brad King2023-01-201-2/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f0c5ec49b cmake: Print configure/generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8083
| * | | | cmake: Print configure/generate timeKyle Edwards2023-01-191-2/+19
| | |_|/ | |/| |
* | | | Merge topic 'update-kwsys'Brad King2023-01-2015-26/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dae189fb09 Merge branch 'upstream-KWSys' into update-kwsys 4ac17cff42 KWSys 2023-01-19 (be3c441e) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8092
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2023-01-1915-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2023-01-19 (be3c441e)
* | | | | CMake Nightly Date StampKitware Robot2023-01-201-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'optimize-target-depends-closure'Brad King2023-01-192-56/+68
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f16af01f4 cmGlobalNinjaGenerator: Optimize target depends closure Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8079
| * | | | cmGlobalNinjaGenerator: Optimize target depends closurePierre Testart2023-01-172-56/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite AppendTargetDependsClosure method to only cache local target outputs, not including outputs from dependencies. Caching all recursive target outputs causes much time to be spent merging sets that have many elements in common (from targets that are included through multiple dependency paths). It is faster to always iterate over all dependencies instead.
* | | | | Merge topic 'optimize-full-name-function'Brad King2023-01-194-91/+94
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | a525f5f1bf cmGeneratorTarget: Cache full name components Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8033
| * | | | cmGeneratorTarget: Cache full name componentsPierre Testart2023-01-184-91/+94
| | | | | | | | | | | | | | | | | | | | | | | | | Cache the result of cmGeneratorTarget::GetFullNameInternalComponents to improve performance.
* | | | | Merge topic 'clang-format-15'Brad King2023-01-1914-51/+56
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33abef7416 Revise C++ coding style using clang-format-15 57221fd56f Empty commit at end of history preceding clang-format-15 style transition 6739d57948 clang-format.bash: update to clang-format-15 9ee57226bc clang-format: Add comments to suppress some formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8086
| * | | | | Revise C++ coding style using clang-format-15Kitware Robot2023-01-1813-51/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315
| * | | | | clang-format: Add comments to suppress some formattingBrad King2023-01-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Preserve manually-formatted blocks.
* | | | | | CMake Nightly Date StampKitware Robot2023-01-191-1/+1
|/ / / / /
* | | | | 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
| | | | | |