summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | cmGlobalGenerator: add unity sources after computing target compile featuresBen Boeckel2024-01-052-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | We need to know which sources will be scanned for C++ module dependencies in order to exclude them from unity builds. The addition of unity sources will not change the set of features.
| * | | Tests/CXXModules: add a test with unity build supportBen Boeckel2024-01-057-0/+68
| |/ / | | | | | | | | | | | | C++ module-using TUs cannot participate in unity builds. Add a test case for this situation.
* | | Merge topic 'makefile-depfile' into release-3.28Brad King2024-01-104-4/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7198f0d149 Makefile: Fix double escaping when DEPFILE is used 5162ff64d4 Makefile: Reduce string copies Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9138
| * | | Makefile: Fix double escaping when DEPFILE is usedOrkun Tokdemir2024-01-094-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit cfd8a5ac1f (Makefiles: Add support of DEPFILE for add_custom_command, 2020-12-04, v3.20.0-rc1~237^2~1) we added a `ConvertToOutputPath` call on a path given to the `depends` field of `WriteMakeRule`. The latter already handles escaping for Makefile syntax. Fixes: #25554
| * | | Makefile: Reduce string copiesOrkun Tokdemir2024-01-081-1/+1
|/ / /
* | | Merge topic 'fix-openbsd' into release-3.28Brad King2024-01-083-7/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1fafe35e81 Source: Restore compilation on OpenBSD Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9085
| * | | Source: Restore compilation on OpenBSDRafael Sadowski2024-01-053-7/+7
|/ / / | | | | | | | | | We cannot use `OpenBSD` as a name, it is defined in `sys/param.h`.
* | | Merge topic 'doc-get-properties-inherited' into release-3.28Brad King2024-01-057-34/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8086badba4 Help: Fix wrong return values for unset inherited properties 1ca5ec67b0 Help: Add missing DIRECTORY keyword to set_tests_properties() signature 34379f005b Help: Use <variable> consistently in property getter commands 29ccc9a4cd Help: Use <xxx> for non-keyword arguments in property command signatures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9131
| * | | Help: Fix wrong return values for unset inherited propertiesCraig Scott2024-01-053-22/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since ff6234509e (Help: Clarify behavior of INHERITED properties, 2018-03-21), the docs for some get_..._property() commands incorrectly describe the behavior for inherited properties. When a property is not set, even in a parent scope, the returned result from the get_..._property() command is the same whether the property is inherited or not. The docs incorrectly stated that an empty string would be returned for inherited properties in such cases.
| * | | Help: Add missing DIRECTORY keyword to set_tests_properties() signatureCraig Scott2024-01-051-0/+1
| | | |
| * | | Help: Use <variable> consistently in property getter commandsCraig Scott2024-01-053-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Property-related commands used a mix of <VAR>, <var>, or <variable> to specify the variable to store the result in. The <VAR> form is particularly confusing, since being uppercase it looks more like a keyword. Use <variable> consistently across all the commands so that the behavior is clear.
| * | | Help: Use <xxx> for non-keyword arguments in property command signaturesCraig Scott2024-01-055-12/+15
| |/ /
* | | Merge topic 'check_language_propagate_hip_platform' into release-3.28Brad King2024-01-054-2/+64
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | ce9c6d0994 HIP: Propagate CMAKE_HIP_PLATFORM from/to the test project in check_language 9ba3fc91e5 HIP: Really forward CMAKE_HIP_HOST_COMPILER in check_language(HIP) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9121
| * | HIP: Propagate CMAKE_HIP_PLATFORM from/to the test project in check_languageGergely Meszaros2024-01-044-1/+63
| | | | | | | | | | | | Fixes: #25541
| * | HIP: Really forward CMAKE_HIP_HOST_COMPILER in check_language(HIP)Gergely Meszaros2024-01-031-1/+1
| | | | | | | | | | | | | | | In commit b3e92775ab (HIP: Add CMAKE_HIP_HOST_COMPILER when compiler is NVCC, 2023-09-25, v3.28.0-rc1~44^2~2) we accidentally left this out.
* | | Merge branch 'release-3.27' into release-3.28Brad King2024-01-040-0/+0
|\ \ \
| * \ \ Merge branch 'HELP-string_LENGTH-link-error' into release-3.27Brad King2024-01-041-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !9113
* | \ \ \ Merge topic 'HELP-string_LENGTH-link-error' into release-3.28Brad King2024-01-041-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 9702a01dc9 Help: string(LENGTH): Fix synopsis link to command description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9113
| * | | | Help: string(LENGTH): Fix synopsis link to command descriptionMarc Chevrier2024-01-031-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | Make the link target explicit to avoid ambiguity with `JSON LENGTH`. Fixes: #25546
* | | | Merge topic 'revert-ExternalProject-download-byproducts' into release-3.28Brad King2024-01-042-15/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | fd3c9876c6 ExternalProject: revert `BYPRODUCTS` for download outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9097
| * | | ExternalProject: revert `BYPRODUCTS` for download outputsBen Boeckel2024-01-032-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode has been reported to not work at all with this when ExternalProject projects share download files. Revert commit 872daff159 (ExternalProject: declare byproducts for the download step, 2023-09-21, v3.28.0-rc1~27^2) pending further investigation. Fixes: #25525
* | | | Merge topic 'cxxmodules-no-compile-commands-modmap' into release-3.28Brad King2024-01-032-10/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73fbad3d93 cmNinjaTargetGenerator: use scan flag for modmap usage in exported commands Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9100
| * | | | cmNinjaTargetGenerator: use scan flag for modmap usage in exported commandsBen Boeckel2023-12-222-10/+10
| |/ / / | | | | | | | | | | | | See: https://discourse.cmake.org/t/how-to-control-the-location-of-the-c-20-binary-module-interface-bmi-output-directory/7968
* | | | Merge topic 'cxxmodules-error-message-improvement' into release-3.28Craig Scott2024-01-031-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4962eba981 cmDyndepCollation: clarify CXX_MODULES-without-BMI error message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Yaraslau <yaraslau.tamashevich@gmail.com> Merge-request: !9103
| * | | | cmDyndepCollation: clarify CXX_MODULES-without-BMI error messageBen Boeckel2023-12-261-1/+2
| | | | | | | | | | | | | | | | | | | | Fixes: #25493
* | | | | Merge topic 'doc-dynamic-resource-spec-file' into release-3.28Craig Scott2024-01-021-20/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9b63f92f27 Help: Update missed text for dynamically generated resource spec files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9117
| * | | | | Help: Update missed text for dynamically generated resource spec filesCraig Scott2024-01-011-20/+28
|/ / / / /
* | | | | Merge topic 'fix-redirect-links' into release-3.28Craig Scott2024-01-012-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a7927d028 Help: update lua.org links to be HTTPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9114
| * | | | | Help: update lua.org links to be HTTPSBen Boeckel2024-01-012-2/+2
| |/ / / / | | | | | | | | | | | | | | | This is now a permanent redirect, so update links accordingly.
* | | | | Merge topic 'doc-toolchains-apple' into release-3.28Craig Scott2024-01-011-4/+6
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 315cf74025 Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains example af2e4379fc Help: Fix typo not accounting for addition of visionOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9112
| * | | | Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains exampleCraig Scott2023-12-301-3/+5
| | | | |
| * | | | Help: Fix typo not accounting for addition of visionOSCraig Scott2023-12-301-1/+1
|/ / / /
* | | | Merge topic 'Ninja-LINK_OPTIONS-with-newlines' into release-3.28Marc Chevrier2023-12-237-1/+36
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 255c2e1430 Ninja: LINK_OPTIONS property should support newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9096
| * | | Ninja: LINK_OPTIONS property should support newlinesMarc Chevrier2023-12-207-1/+36
|/ / / | | | | | | | | | Fixes: #25513
* | | Merge topic 'UsePkgConfig-trailing-whitespace' into release-3.28Brad King2023-12-201-5/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 61436858e4 UsePkgConfig: Restore removal of trailing whitespace from pkg-config output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9094
| * | | UsePkgConfig: Restore removal of trailing whitespace from pkg-config outputJason E. Hale2023-12-191-5/+4
|/ / / | | | | | | | | | | | | | | | Since commit f73a5bfaa9 (UsePkgConfig: Replace exec_program() with execute_process(), 2023-07-24, v3.28.0-rc1~321^2~6), trailing whitespace was introduced into libraries linked, which violates CMP0004.
* | | Merge topic 'Xcode-Check-Imported-Framework' into release-3.28Brad King2023-12-193-5/+45
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | defbfd6f55 Xcode: Restore support for standalone IMPORTED_LOCATION_<CONFIG> Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9082
| * | | Xcode: Restore support for standalone IMPORTED_LOCATION_<CONFIG>Marc Chevrier2023-12-183-5/+45
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 878ae03832 (macOS: IMPORTED framework: Honor SYSTEM target property in all cases, 2023-08-27, v3.28.0-rc1~162^2) we broke support for `IMPORTED_LOCATION_<CONFIG>` without `IMPORTED_CONFIGURATIONS`. Previously it worked if the importing project's configurations match the set of `IMPORTED_LOCATION_<CONFIG>` properties set. Fix that case. Fixes: #25506 Issue: #25515
* | | Merge topic 'FindCUDAToolkit-cupti' into release-3.28Brad King2023-12-159-4/+45
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 04959e0285 Tests: Verify CUDA::cupti existence on a subset of machines 09a3c8b46b CUDAToolkit: Correctly search all include paths from compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9072
| * | | Tests: Verify CUDA::cupti existence on a subset of machinesRobert Maynard2023-12-148-1/+42
| | | | | | | | | | | | | | | | When we know that the cupti library exists explicitly request the CUDA Toolkit test to verify the existence
| * | | CUDAToolkit: Correctly search all include paths from compilerRobert Maynard2023-12-141-3/+3
| | | | | | | | | | | | | | | | | | | | The CUDAToolkit usage of `find_path( PATHS )` was incorrectly quoting a list of paths causing none of them to be used.
* | | | Merge topic 'FindBoost-1.84' into release-3.28Brad King2023-12-151-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 9dc0392df0 FindBoost: Add support for Boost 1.84 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9075
| * | | FindBoost: Add support for Boost 1.84Brad King2023-12-141-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the list of known versions. Run the command cmake -DBOOST_DIR=/path/to/boost_1_84_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.84.0 source tree. They are the same as 1.83's dependencies, so just update the version check for warning about newer versions. Fixes: #25499
* | | CMake 3.28.1v3.28.1Brad King2023-12-142-1/+13
| | |
* | | Merge topic 'FindMatlab-version' into release-3.28Brad King2023-12-141-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0f6e9d0658 FindMatlab: Fix processing of multiple versions from Windows Registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9074
| * | | FindMatlab: Fix processing of multiple versions from Windows RegistryBrad King2023-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix logic from commit fff5c1507e (FindMatlab: refactor: use registry query instead of execute_process, 2023-09-14, v3.28.0-rc1~82^2~7) to work when multiple versions are found in the registry. Issue: #25497
* | | | Merge topic 'FindTIFF-pre-CMP0057' into release-3.28Brad King2023-12-141-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84930e9a4c FindTIFF: Restore support for projects that do not enable CMP0057 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9073
| * | | | FindTIFF: Restore support for projects that do not enable CMP0057Brad King2023-12-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 6a3059e66f (FindTIFF: bridge `tiff-config` into FindTIFF-compatible interface, 2023-09-14, v3.28.0-rc1~87^2) we use the `if(IN_LIST)` test that required CMP0057. Expand the scope over which we enable that policy explicitly. Issue: #25485
* | | | | Merge topic 'FindFreetype-use-config' into release-3.28Brad King2023-12-141-4/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 828df1d9e4 FindFreetype: Fix success message when config module is found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9071
| * | | | FindFreetype: Fix success message when config module is foundBrad King2023-12-141-4/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit d892dedf22 (FindFreetype: always find the config module quietly, 2023-12-13) with a fix to the FPHSA call that reports success. Fixes: #25485