summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cxxmodules-clang-resource-dir' into release-3.29Brad King2024-02-223-0/+31
|\ | | | | | | | | | | | | a3ada1a241 Clang: detect -resource-dir for clang-scan-deps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9274
| * Clang: detect -resource-dir for clang-scan-depsBen Boeckel2024-02-213-0/+31
| | | | | | | | | | | | | | | | When cross-compiling, `clang-scan-deps` needs help to find the correct location of core headers such as `stddef.h`. Always determine this path and pass it when available. Fixes: #25590
* | Merge topic 'doc-install-relative-paths' into release-3.29Brad King2024-02-161-5/+15
|\ \ | | | | | | | | | | | | | | | | | | af293ff7c3 Help: Explicitly discourage absolute install destinations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9261
| * | Help: Explicitly discourage absolute install destinationsRobert Maynard2024-02-161-5/+15
| | | | | | | | | | | | | | | Document some of the problems caused by absolute install destinations. Encourage use of relative paths.
* | | IPO: Support duplicate object names in large archivesRuslan Baratov2024-02-155-10/+10
|/ / | | | | | | | | | | | | | | | | Apply the fix from commit 1ec6485c6a (Support duplicate object names in large archives, 2014-04-16, v3.1.0-rc1~629^2) to the IPO-specific archiving rules. Use "quick append" instead of "replace". Fixes: #25675 Issue: #14874
* | Merge topic 'clang-windows-make-depends' into release-3.29Brad King2024-02-132-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 492f456c1c Clang: Fix typo to enable compiler-generated Makefile dependencies on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9245
| * | Clang: Fix typo to enable compiler-generated Makefile dependencies on WindowsBrad King2024-02-122-2/+2
| | | | | | | | | | | | | | | Fix a typo from commit 2c71d051fa (Makefiles Generators: use compiler for dependencies generation, 2020-10-18, v3.20.0-rc1~392^2).
* | | Merge topic 'mingw-objc-objcxx' into release-3.29Brad King2024-02-136-0/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a4e8f03ef MinGW: Add support for OBJC and OBJCXX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !9244
| * | | MinGW: Add support for OBJC and OBJCXXمهدي شينون (Mehdi Chinoune)2024-02-136-0/+42
| |/ /
* | | FindCUDAToolkit: Fix cuda driver dependenciesRobert Maynard2024-02-121-3/+1
|/ / | | | | | | Fixes: #25665
* | Merge topic 'ticlang-compilers' into release-3.29Brad King2024-02-1213-1/+124
|\ \ | | | | | | | | | | | | | | | | | | | | | 4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline 9ba0a54554 TIClang: Add support for TI Clang-based compilers, including tiarmclang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9228
| * | TIClang: Add support for TI Clang-based compilers, including tiarmclangAlan Phipps2024-02-0913-1/+124
| | | | | | | | | | | | | | | | | | | | | | | | Add TIClang compiler ID and support in compiler modules. Update documentation. Add rudimentary RunCMake test for TIClang to test basic functionality. Fixes: #24619
* | | Merge branch 'backport-3.28-visionOS' into visionOSBrad King2024-02-091-3/+3
|\ \ \ | |/ / |/| / | |/
| * visionOS: Update deployment-target flag for Xcode 15.1 betaBrad King2024-02-091-3/+3
| | | | | | | | | | | | | | | | Use the same flags Xcode adds for `XROS_DEPLOYMENT_TARGET`. They are `-target arm64-apple-xros1.0` and `-target arm64-apple-xros1.0-simulator`, where `1.0` is the deployment target version. Fixes: #25188
| * Merge topic 'FindCUDAToolkit-cudart-deps' into release-3.28Brad King2024-02-091-8/+5
| |\ | | | | | | | | | | | | | | | | | | 4a3cafec4f FindCUDAToolkit: Fix cudart dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9236
| * \ Merge topic 'findmatlab-registry-lookup-without-versionxml' into release-3.28Brad King2024-02-081-12/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9226
* | \ \ Merge topic 'FindOpenMP-clang-windows' into release-3.29Brad King2024-02-091-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3adeb3b470 ci: Enable FindOpenMP tests in LLVM/Clang nightly CI jobs on Windows 3019af64c2 FindOpenMP: Add support for GNU-like Clang targeting MSVC ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9235
| * | | | FindOpenMP: Add support for GNU-like Clang targeting MSVC ABIMarkus Mützel2024-02-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the code path from commit ceb5ee4a7b (FindOpenMP: Add support for Clang on Windows, 2020-02-05, v3.17.0-rc1~10^2) with the GNU-like frontend too.
* | | | | Merge topic 'FindCUDAToolkit-cudart-deps' into release-3.29Brad King2024-02-091-8/+5
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | 4a3cafec4f FindCUDAToolkit: Fix cudart dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9236
| * | | FindCUDAToolkit: Fix cudart dependenciesRobert Maynard2024-02-081-8/+5
| | | | | | | | | | | | | | | | Fixes: #25665
* | | | Merge topic 'fphsa-version-message' into release-3.29Brad King2024-02-081-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2fc22a3dec FPHSA: Fix empty version message in exact match Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9227
| * | | | FPHSA: Fix empty version message in exact matchNiklas Weissner2024-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `find_package_check_version()` would use variable `_FOUND_VERSION` set by `find_package_handle_standard_args()` in a single branch when doing exact matching, causing empty version messages if it was instead called directly. This was missed in commit 6bfc442fde (FPHSA: add support of version range, 2020-09-22, v3.19.0-rc1~122^2~1) when the version check was moved into its own function.
* | | | | Merge topic 'FindVulkan-glslang-14' into release-3.29Brad King2024-02-081-15/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49ebf18dd0 FindVulkan: Update detection for glslang 14.0.0 9cefa2f08d Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations b832767940 Tests/FindVulkan: Update for glslang 12.3+ output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9225
| * | | | | FindVulkan: Update detection for glslang 14.0.0Juan Ramos2024-02-071-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow `oglcompiler`, `osdependent`, `machineindependent`, and `genericcodegen` to be optional static library components. Fixes: #25583
* | | | | | Merge topic 'findmatlab-registry-lookup-without-versionxml' into release-3.29Brad King2024-02-081-12/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9226
| * | | | | FindMatlab: Revert undocumented and now-unnecessary full version lookupHermann von Kleist2024-02-071-12/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially revert commit dc9d9589e4 (FindMatlab:WIN32: return full Matlab version when found via registry, 2023-09-14, v3.28.0-rc1~82^2~2). It changed `matlab_extract_all_installed_versions_from_registry` behavior to query `VersionInfo.xml` for version information. However, the function documentation states that it only uses the registry. It's also not needed since commit c608adc236 (FindMatlab: Fix major.minor version lookups in Windows Registry, 2024-01-11, v3.28.2~13^2~1), which added the same lookup to `matlab_get_all_valid_matlab_roots_from_registry`.
* | | | | Merge topic 'clang-cl-showIncludes' into release-3.29Brad King2024-02-081-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | 0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18 a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9229
| * | | Ninja: Update showIncludes prefix detection for clang-cl 18Martin Storsjö2024-02-071-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit LLVM/Clang commit `5523fefb01c2` ([clang][lex] Use preferred path separator in includer-relative lookup, 2023-09-08), part of the upcoming 18.x release, the output format of the showIncludes flag has changed, where it now prints paths with double backslashes: Note: including file: .\\foo.h Previously, we expected to see the path name in the form "./foo.h". Extend the regex to match a path name starting with `.\`, in addition to the existing matched patterns.
| * | Merge topic 'revert-FindFreetype-use-config' into release-3.28Brad King2024-01-261-98/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5725ae619 FindFreetype: Revert use of upstream freetype cmake package Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9187
| * \ \ Merge topic 'find-matlab-docs-mcr-version-mapping' into release-3.28Brad King2024-01-261-1/+11
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9184
* | \ \ \ Merge topic 'binutils-objcopy' into release-3.29Brad King2024-02-071-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 053c2b3646 BinUtils: Avoid llvm-objcopy versions older than Clang 9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9219
| * | | | | BinUtils: Avoid llvm-objcopy versions older than Clang 9Arkadiusz Skalski2024-02-061-2/+2
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Prior to version 9.0, llvm-objcopy is missing the `--only-keep-debug` option, which makes it incompatible with the GNU objcopy.
* | | | | Merge topic 'findopengl-glu-include-dir'Brad King2024-02-061-1/+29
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aebebf72df FindOpenGL: Add support for a separate GLU include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9216
| * | | | FindOpenGL: Add support for a separate GLU include directoryJordan Williams2024-02-051-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a OPENGL_GLU_INCLUDE_DIR cache variable for `GL/glu.h` and attach it as an include directory to the `OpenGL::GLU` target. Also add a `OPENGL_INCLUDE_DIRS` result variable to list all include directories. Account for the GLU header when deciding whether GLU is found. Fixes: #25627
* | | | | Help: Document CMAKE_SYSTEM_NAME possible valuesPeter Kokot2024-02-051-24/+0
| | | | | | | | | | | | | | | | | | | | Fixes: #21489
* | | | | Merge topic 'GoogleTest-test-launcher'Brad King2024-02-021-4/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f875c479f5 GoogleTest: Honor TEST_LAUNCHER in gtest_discover_tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9174
| * | | | | GoogleTest: Honor TEST_LAUNCHER in gtest_discover_testsRalf Habacker2024-01-311-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We run test executables to discover tests. Use the same launchers that are used to run the tests. We already handle `CROSSCOMPILING_EMULATOR`. Update the logic to account for the `TEST_LAUNCHER` property added by commit 1ec0372ed4 (add_test: Optionally use a launcher for tests running in-project targets, 2023-11-11), and for the `CROSSCOMPILING_EMULATOR` behavior change in commit ca5a300d7f (add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling, 2023-11-02). Fixes: #25603 Co-authored-by: Brad King <brad.king@kitware.com> Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
* | | | | | Merge topic 'FindOpenACC'Brad King2024-02-021-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30962830dc FindOpenACC: Add support for the Clang Compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9212
| * | | | | FindOpenACC: Add support for the Clang CompilerAaron Jarmusch2024-02-011-0/+1
| | | | | |
* | | | | | Merge topic 'cuda-clang-windows'Brad King2024-02-011-13/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 899c8d7b21 CUDA/Clang: Fail early when mixing clang++ with cl on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9209
| * | | | | | CUDA/Clang: Fail early when mixing clang++ with cl on WindowsBrad King2024-01-311-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 88c740462c (CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend, 2024-01-17) we updated the message for the existing check to mention CUDA, but neglected to update the check itself. Issue: #25648
* | | | | | | Merge topic 'cross-compiling-init'Brad King2024-02-011-8/+4
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79ce5ef4e0 CMakeDetermineSystem: Simplify cross-compiling logging decision 0b181cec03 CMakeDetermineSystem: Clarify comment when CMAKE_SYSTEM_NAME is already set Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9206
| * | | | | | CMakeDetermineSystem: Simplify cross-compiling logging decisionPavel Ferencz2024-01-301-4/+1
| | | | | | |
| * | | | | | CMakeDetermineSystem: Clarify comment when CMAKE_SYSTEM_NAME is already setBrad King2024-01-301-4/+3
| | | | | | |
* | | | | | | Merge topic 'env-cmake-install-prefix'Brad King2024-01-311-9/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06af18b9db cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9200
| * | | | | | | cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variableSilvio Traversaro2024-01-301-9/+16
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #25023
* | | | | | | Merge topic 'FindICU-include-dir-advanced'Brad King2024-01-301-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 005e50f5b0 FindICU: Mark ICU_INCLUDE_DIR as advanced variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9199
| * | | | | | FindICU: Mark ICU_INCLUDE_DIR as advanced variablePeter Kokot2024-01-291-0/+1
| | | | | | |
* | | | | | | Merge topic 'productbuild-domains-policy'Brad King2024-01-291-0/+19
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 339ae33e55 CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161) 4e7f2397e4 CPack: Clear temporary variable after it is no longer needed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9197
| * | | | | | | CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161)Craig Scott2024-01-281-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23351