summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'minor-tutorial-fixes'Brad King2023-01-195-9/+9
|\ | | | | | | | | | | | | | | | | | | 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
| * Tutorial: Fix typos in Step 11 exercise and solutionJoshua Perrett2023-01-182-5/+5
| |
| * Tutorial: Fix exercise in Step 10 to match solution provided in Step 11Joshua Perrett2023-01-181-1/+1
| | | | | | | | | | The solution in Step 11 sets POSITION_INDEPENDENT_CODE to `${BUILD_SHARED_LIBS}`, rather than simply to "True" in all cases.
| * Tutorial: Fix destination of link from Step 6 to Step 5Joshua Perrett2023-01-181-2/+2
| | | | | | | | | | The link in Step 6 (to "Testing Support") clearly refers to Exercise 2. Fix the location to which the link jumps.
| * Tutorial: Fix exercise in Step 5 to match solution provided in Step 6Joshua Perrett2023-01-181-1/+1
| | | | | | | | | | 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.
* | Merge topic 'FindLibLZMA_quote'Brad King2023-01-191-1/+1
|\ \ | | | | | | | | | | | | | | | | | | b4be607701 FindLibLZMA: Fix failure when no include directories are needed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8088
| * | FindLibLZMA: Fix failure when no include directories are neededEven Rouault2023-01-181-1/+1
| |/ | | | | | | | | Quote the value of `INTERFACE_INCLUDE_DIRECTORIES` to ensure `set_target_properties` gets matching property/value pairs.
* | 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-195-92/+95
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-185-92/+95
| | | | | | | | | | | | | | | | | | | | Cache the result of cmGeneratorTarget::GetFullNameInternalComponents to improve performance.
* | | | Merge topic 'clang-format-15'Brad King2023-01-191-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53d7d8d4ee Help/dev: Update source code guide to specify clang-format version 15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8091
| * | | | Help/dev: Update source code guide to specify clang-format version 15Brad King2023-01-191-1/+1
| | | | |
* | | | | Merge topic 'clang-format-15'Brad King2023-01-1967-143/+157
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1862-136/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Empty commit at end of history preceding clang-format-15 style transitionBrad King2023-01-180-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an empty commit that precedes an automatic application of clang-format-15 to update the C++ style of our entire source tree. This may be helpful to rebase a topic branch that was originally based on a commit preceding the transition. One may first rebase the topic on this commit. Then use one of the following approaches. * Rewrite the topic, including this commit, using `git filter-branch` `--tree-filter` with `clang-format.bash` to update the style in every commit. Rebase the revised topic, excluding the rewrite of this commit, on the style transition commit. OR * Add a `.git/info/grafts` entry to change the parent of the first commit in the topic from this commit to the style transition commit. Rewrite the topic using `git filter-branch --tree-filter` with `clang-format.bash` to update the style in every commit. Then remove the graft, which was resolved by the filter. See `git help filter-branch` and `git help repository-layout` for details.
| * | | | clang-format.bash: update to clang-format-15Brad King2023-01-184-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `.clang-format` configuration needs no changes to make the version 15 format close to what version 6.0 produced before. Issue: #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-1815-1/+178
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1813-1/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)` that records messages in the configure log. Issue: #23200
| * | | Help: Document configure log behavior in try_compile and try_runBrad King2023-01-183-0/+14
| | | |
* | | | Merge topic 'clang-format-attr'Brad King2023-01-1811-19/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48639aa8fc clang-format.bash: Use generic clang-format attribute Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8085
| * | | | clang-format.bash: Use generic clang-format attributeBrad King2023-01-1811-19/+17
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Specify the clang-format version in the attribute value instead of its name. Issue: #24315
* | | | Merge topic 'swift-ios'Brad King2023-01-181-3/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Swift: Add comment about where platform-specific flags should goBrad King2023-01-171-1/+2
| | | | |
| * | | | Swift: Use macOS-style linker flags on iOS, tvOS, and watchOS tooCraig Hutchinson2023-01-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge topic 'doc-CMAKE_CONFIGURATION_TYPES'Brad King2023-01-181-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea54cce962 Help: Document format of CMAKE_CONFIGURATION_TYPES list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8081
| * | | | | Help: Document format of CMAKE_CONFIGURATION_TYPES listBrad King2023-01-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #24327
* | | | | | Merge topic 'doc-DEFINE_SYMBOL-unix'Brad King2023-01-181-1/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22d8ff63f5 Help: add notes for POSIX platforms to the DEFINE_SYMBOL target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8062
| * | | | | | Help: add notes for POSIX platforms to the DEFINE_SYMBOL target propertyRalf Habacker2023-01-171-1/+7
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Fixes #24310
* | | | | | Merge topic 'add_visbility_flags_to_device_link_line'Brad King2023-01-187-14/+33
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-167-14/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #24272
* | | | | | | Merge topic 'docpc'Brad King2023-01-181-3/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93624e4c3d Help:ProcessorCount: recommend cmake_host_system_information Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8077
| * | | | | | | Help:ProcessorCount: recommend cmake_host_system_informationscivision2023-01-161-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #24277
* | | | | | | | Merge topic 'IntelLLVM-c++23'Brad King2023-01-182-6/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | IntelLLVM: Add provisional flags for C23 and C++23scivision2023-01-162-0/+12
| | | | | | | | |
| * | | | | | | | IntelLLVM: Replace -Qstd= with -Qstd: on Windowsscivision2023-01-161-6/+6
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | 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
| | | | | | | | |
* | | | | | | | | Merge topic 'typo-fix'Brad King2023-01-184-6/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99614e06be Source: Fix a few typos Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8078
| * | | | | | | | | Source: Fix a few typosVitaly Stakhovsky2023-01-174-6/+6
| | |_|_|/ / / / / | |/| | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2023-01-181-1/+1
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | Merge branch 'release-3.25'Brad King2023-01-170-0/+0
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | |
| * | | | | | | Merge branch 'backport-FindCUDAToolkit-cuda-12-nvToolsExt' into release-3.25Brad King2023-01-171-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !8076
| | * | | | | | | FindCUDAToolkit: Handle CUDA::nvToolsExt not existingRobert Maynard2023-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #24275
* | | | | | | | | Merge topic 'configure-log'Brad King2023-01-1727-23/+265
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1613-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-169-4/+32
| | | | | | | | | |
| * | | | | | | | | try_compile: Add optional LOG_DESCRIPTION to record in configure logBrad King2023-01-1616-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #23200