summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-3.25' into release-3.26Brad King2023-02-070-0/+0
|\
| * Merge branch 'android-ndk-legacy-toolchain' into release-3.25Brad King2023-02-062-1/+3
| |\ | | | | | | | | | Merge-request: !8170
* | \ Merge topic 'android-ndk-legacy-toolchain' into release-3.26Brad King2023-02-072-1/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | cb0b9452e8 Android: Provide CMAKE_ANDROID_NDK_VERSION with NDK legacy toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8170
| * | Android: Provide CMAKE_ANDROID_NDK_VERSION with NDK legacy toolchain fileBrad King2023-02-062-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable has been provided since commit 746906242d (Android: Detect NDK version number, 2021-02-26, v3.20.0-rc3~1^2~3) when using CMake's NDK support or the modern NDK toolchain file. Since commit 005e2cdfb0 (Android: Do not use gold for ndk >= r22, 2021-02-26, v3.20.0-rc3~1^2) we need the value in our compiler/platform information files, so provide it when using the NDK legacy toolchain file too. Revert commit 1c86e397fe (Android/Clang: Tolerate undefined CMAKE_ANDROID_NDK_VERSION, 2022-09-16, v3.25.0-rc1~118^2) since the variable should now always be defined. Issue: #21772 Fixes: #24386
* | Merge topic 'cxxmodules-proper-mangling' into release-3.26Brad King2023-02-076-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | 3f1e005067 Tests/RunCMake/CXXModules: declare `forwarding` as `extern "C++"` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8159
| * | Tests/RunCMake/CXXModules: declare `forwarding` as `extern "C++"`Ben Boeckel2023-02-036-0/+12
| | | | | | | | | | | | It is not part of any module, so it needs to be declared as such.
* | | Merge topic 'FindCUDAToolkit-nvrtc-builtins' into release-3.26Brad King2023-02-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9688a8ebc2 FindCUDAToolkit: Fix `nvrtc_builtins_static` library name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8162
| * | | FindCUDAToolkit: Fix `nvrtc_builtins_static` library namePaul Taylor2023-02-061-1/+1
| |/ / | | | | | | | | | | | | | | | Update the change from commit 2a94c762ed (FindCUDAToolkit: Add support for CUDA::nvrtc_static, 2023-01-20, v3.26.0-rc1~55^2). The lib is named `libnvrtc-builtins_static.a`, not `libnvrtc_builtins_static.a`.
* | | Merge topic 'docexe' into release-3.26Brad King2023-02-071-34/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1e95f765d5 Help: Clarify interaction of execute_process *_FILE and *_VARIABLE options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8165
| * | | Help: Clarify interaction of execute_process *_FILE and *_VARIABLE optionsscivision2023-02-061-34/+40
| |/ / | | | | | | | | | | | | | | | | | | These parameters are so important that it's worthwhile to be more explicit about their interaction. Fixes: #24392
* | | Merge topic 'docfix' into release-3.26Brad King2023-02-075-24/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3ece40602 Help: cmake (1): remove -E server as not available b19036d8b3 Help: CheckSource{Compiles,Runs}: fix typo and clarify Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8164
| * | | Help: cmake (1): remove -E server as not availablescivision2023-02-061-4/+0
| | | | | | | | | | | | | | | | ... since CMake 3.20
| * | | Help: CheckSource{Compiles,Runs}: fix typo and clarifyscivision2023-02-064-20/+62
| |/ /
* | | Merge topic 'ci-docker-layers' into release-3.26Brad King2023-02-074-22/+20
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 354fdf2116 ci: Reduce intermediate docker layers and final image size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8145
| * | ci: Reduce intermediate docker layers and final image sizeAlex Turbov2023-02-064-22/+20
|/ / | | | | | | | | Instead of `COPY` to get tar files, execute `RUN` w/ `--mount`. Note that this requires the docker "buildkit" feature to be enabled.
* | CMake 3.26.0-rc1v3.26.0-rc1Brad King2023-02-021-1/+1
| |
* | Merge topic 'modules-lang-specific-target-linked-dirs' into release-3.26Brad King2023-02-029-14/+41
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13810dee17 cmDependsFortran: require that dependency info files work eed295fd8a cmGlobalNinjaGenerator: require that dependency info files work 837f7c113a cmCommonTargetGenerator: classify linked target directories by language d19648a928 cmGeneratorTarget: add a method to query if Fortran sources exist 245a89d8b6 cmMakefileTargetGenerator: make "target linked info" variable Fortran-specific aeb1b2ae3d cmMakefileTargetGenerator: simplify string streaming Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8146
| * | cmDependsFortran: require that dependency info files workBen Boeckel2023-02-012-6/+12
| | | | | | | | | | | | | | | Now that only targets expected to have information are listed, all `DependInfo.cmake` files should exist.
| * | cmGlobalNinjaGenerator: require that dependency info files workBen Boeckel2023-02-011-1/+6
| | | | | | | | | | | | | | | Now that only targets expected to have information are listed, all `<LANG>Modules.json` files should exist.
| * | cmCommonTargetGenerator: classify linked target directories by languageBen Boeckel2023-02-014-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These directories are used to direct collators for Fortran and C++ modules to consume dependent module information to properly collate. However, the consumption of these files merely checks for existence of the file, not whether they are actually needed anymore. The problem arises when a target has Fortran or C++ modules at point A, a build occurs populating this file, and then the target is updated to no longer have potential modules. The `DependInfo.make` (for `Makefiles`) or `<LANG>DependInfo.json` (for `Ninja`) files still exist as they are never guaranteed to be cleaned up. This can introduce stale information to the build which may cause a false-positive compilation if a module file happens to still exist and gets found this way. Instead, query the `linked-target-dirs` using the language in question and only add the directory if it contains potential sources for modules coming from the language in question.
| * | cmGeneratorTarget: add a method to query if Fortran sources existBen Boeckel2023-02-012-0/+11
| | |
| * | cmMakefileTargetGenerator: make "target linked info" variable Fortran-specificBen Boeckel2023-02-012-2/+2
| | | | | | | | | | | | This variable is Fortran-specific, so clarify that through its name.
| * | cmMakefileTargetGenerator: simplify string streamingBen Boeckel2023-02-011-2/+2
| | |
* | | Begin 3.26 release versioningBrad King2023-02-011-3/+3
| | |
* | | Help: Drop development topic notes to prepare releaseBrad King2023-02-012-9/+0
| | | | | | | | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | | Merge topic 'doc-3.26-relnotes'Brad King2023-02-0132-175/+192
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 385435cf78 Help: Organize and revise 3.26 release notes 4c63f031c1 Help: Consolidate 3.26 release notes bc1ba6d56b Help: Document experimental feature gate affecting CXX_SCAN_FOR_MODULES 71f9c1943d FindImageMagick: Fix documentation syntax in usage example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8148
| * | | Help: Organize and revise 3.26 release notesBrad King2023-02-011-62/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add section headers similar to the 3.25 release notes and move each individual bullet into an appropriate section. Revise a few bullets. Add a bullet for `FindImageMagick` that was accidentally left out when its changes were made.
| * | | Help: Consolidate 3.26 release notesBrad King2023-02-0127-160/+119
| | | | | | | | | | | | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.26.rst`.
| * | | Help: Document experimental feature gate affecting CXX_SCAN_FOR_MODULESBrad King2023-02-014-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | Also drop the release note for `CXX_SCAN_FOR_MODULES`, as the rest of the C++ modules support has not yet been mentioned in release notes (since it is still experimental).
| * | | FindImageMagick: Fix documentation syntax in usage exampleBrad King2023-02-011-10/+4
|/ / /
* | | Merge topic 'configure-log'Brad King2023-02-0112-14/+114
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5252c88569 try_compile: Record propagated CMake variables in configure log 0a48d8fe5c ConfigureLog: De-duplicate event backtrace and check key generation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8140
| * | | try_compile: Record propagated CMake variables in configure logBrad King2023-02-019-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These provide more detailed information about how the test project was configured. Issue: #23200
| * | | ConfigureLog: De-duplicate event backtrace and check key generationBrad King2023-02-015-14/+10
|/ / / | | | | | | | | | All event kinds have these fields, so centralize their implementation.
* | | Merge topic 'update-kwsys'Brad King2023-02-012-4/+50
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11d59c9ed6 Merge branch 'upstream-KWSys' into update-kwsys 187389d9e1 KWSys 2023-02-01 (cafea4c8) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8147
| * \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2023-02-012-4/+50
| |\ \ \ |/ / / / | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2023-02-01 (cafea4c8)
| * | | KWSys 2023-02-01 (cafea4c8)KWSys Upstream2023-02-012-4/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit cafea4c84a581703c4bed5c725c421611c4bf358 (master). Upstream Shortlog ----------------- Brad King (1): 5df8c0a1 RegularExpression: Extend max paren groups from 10 to 32
* | | | Merge topic 'xcode-header-search'Brad King2023-02-011-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8527f42b96 Xcode: Explicitly disable deprecated user include path feature Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8143
| * | | | Xcode: Explicitly disable deprecated user include path featureBrad King2023-01-311-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `ALWAYS_SEARCH_USER_PATHS` feature is documented [1] to search the paths in `USER_HEADER_SEARCH_PATHS` before `HEADER_SEARCH_PATHS`. The behavior has been long discouraged and was deprecated by Xcode 8.3. Furthermore, Xcode explicitly disables this setting when creating new projects. We can do that too since we do not generate any user header search paths anyway. Previously we always set `USE_HEADERMAP` to `NO` to prevent Xcode's warning about an ancient "header map" feature deprecation. However, this somehow breaks Xcode 14's "Build Documentation" feature. Setting `ALWAYS_SEARCH_USER_PATHS` to `NO` seems to prevent the header map warning too, so drop `USE_HEADERMAP` to fix the documentation feature. [1] https://developer.apple.com/documentation/xcode/build-settings-reference Fixes: #24379
* | | | Merge topic 'doc-ipo'Brad King2023-02-014-9/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7c60ab6b0 Help: mark the directory properties INTERPROCEDURAL_OPTIMIZATION as deprecated 6ed026592e Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8141
| * | | | Help: mark the directory properties INTERPROCEDURAL_OPTIMIZATION as deprecatedAlexander Neundorf2023-01-313-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | These properties actually never existed, so move the documentation to "Deprecated" and refer to the target properties.
| * | | | Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target propertyAlexander Neundorf2023-01-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation now mentions the per-config target property. Fixes: #24285
* | | | | Merge topic '_hm_swift_threads_pthread'Brad King2023-02-011-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7963aa9ee FindThreads: Filter -pthread out for compatibility with Swift linker Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8142
| * | | | | FindThreads: Filter -pthread out for compatibility with Swift linkerHarry Mallon2023-01-311-1/+1
| | | | | |
* | | | | | Merge topic 'cmTarget-refactorings'Brad King2023-02-011-389/+335
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33f629184f cmTarget: simplify `CheckLinkLibraryPattern` 22b9ce73e7 cmTarget: refactor INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE usage requirements 332d2f8f52 cmTarget: refactor INTERFACE_LINK_LIBRARIES_DIRECT usage requirements 15eec07500 cmTarget: refactor INTERFACE_LINK_LIBRARIES usage requirements e80689d101 cmTarget: refactor LINK_LIBRARIES usage requirements 4f009d2121 cmTarget: refactor LINK_DIRECTORIES usage requirements 99e783e735 cmTarget: refactor LINK_OPTIONS usage requirements fd295dd263 cmTarget: refactor SOURCES usage requirements ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8127
| * | | | | | cmTarget: simplify `CheckLinkLibraryPattern`Ben Boeckel2023-01-311-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that usage properties have more of a representation, the function can just take the requirement directly.
| * | | | | | cmTarget: refactor INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE usage requirementsBen Boeckel2023-01-311-27/+9
| | | | | | |
| * | | | | | cmTarget: refactor INTERFACE_LINK_LIBRARIES_DIRECT usage requirementsBen Boeckel2023-01-311-42/+42
| | | | | | |
| * | | | | | cmTarget: refactor INTERFACE_LINK_LIBRARIES usage requirementsBen Boeckel2023-01-311-28/+9
| | | | | | |
| * | | | | | cmTarget: refactor LINK_LIBRARIES usage requirementsBen Boeckel2023-01-311-25/+9
| | | | | | |
| * | | | | | cmTarget: refactor LINK_DIRECTORIES usage requirementsBen Boeckel2023-01-311-35/+14
| | | | | | |