summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FindOpenAL: Fix imported target for macOS frameworknega2023-03-291-12/+10
| | | | | | If a framework is found, specify it through `INTERFACE_LINK_LIBRARIES` because `IMPORTED_LOCATION` requires a file and not a framework directory.
* Merge topic 'lint-genex'Brad King2023-03-2812-15/+108
|\ | | | | | | | | | | | | | | 099934e313 Add generator expression support to static code analysis hooks Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8361
| * Add generator expression support to static code analysis hooksStefan Schober2023-03-2712-15/+108
| | | | | | | | | | | | Teach target properties `<LANG>_CPPCHECK`, `<LANG>_CPPLINT`, `<LANG>_CLANG_TIDY` and `<LANG>_INCLUDE_WHAT_YOU_USE` to accept generator expressions.
* | Merge topic 'gitignore-cleanup'Brad King2023-03-281-17/+20
|\ \ | | | | | | | | | | | | | | | | | | 8b09484588 gitignore: Pin directory exclusions to top-level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8364
| * | gitignore: Pin directory exclusions to top-levelBrad King2023-03-271-17/+20
| | | | | | | | | | | | | | | | | | | | | Previously, new files in test directories named `Build*` on case-insensitive filesystems were being incorrectly ignored. While at it, add more comments justifying some entries.
* | | Merge topic 'FindPython-Windows-ARM'Brad King2023-03-282-26/+89
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9913c28ebb FindPython: Add Windows/ARM support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: David Lechner <david@lechnology.com> Merge-request: !8354
| * | | FindPython: Add Windows/ARM supportMarc Chevrier2023-03-262-26/+89
| | | | | | | | | | | | | | | | Fixes: #24587
* | | | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-windows-casing'Brad King2023-03-283-10/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5922c86ed6 file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on Windows 7dffe99ad8 Tests: Restore CudaOnly.RuntimeControls cudart verification on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !8367
| * | | | file(GET_RUNTIME_DEPENDENCIES): Document case-preserving change on WindowsBrad King2023-03-272-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries, 2023-03-06) we neglected to update associated documentation.
| * | | | Tests: Restore CudaOnly.RuntimeControls cudart verification on WindowsBrad King2023-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries, 2023-03-06) we may find the cudart runtime library with its on-disk casing instead of always lower-case.
* | | | | Merge branch 'release-3.26'Brad King2023-03-280-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge topic 'mingw-slashes' into release-3.26Brad King2023-03-282-5/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a67cd9c39c Ninja: Restore slash style for MinGW tools when extra languages are enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8368
* | \ \ \ \ \ Merge topic 'mingw-slashes'Brad King2023-03-282-5/+7
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a67cd9c39c Ninja: Restore slash style for MinGW tools when extra languages are enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8368
| * | | | | | Ninja: Restore slash style for MinGW tools when extra languages are enabledBrad King2023-03-272-5/+7
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit f3ca199c9b (cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows, 2023-03-18, v3.26.1~2^2~6), we accidentally "unrecognize" MinGW tools on Windows if a language other than C or CXX is enabled. This causes the wrong slash style to be generated in paths in `build.ninja`. Fixes: #24642
* | | | | | CMake Nightly Date StampKitware Robot2023-03-281-1/+1
| | | | | |
* | | | | | Merge topic 'crosscompiling-warn-reset'Brad King2023-03-276-5/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d23636694 Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME set Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8358
| * | | | | | Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME setMartin Storsjö2023-03-246-5/+22
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Also clarify the `CMAKE_CROSSCOMPILING` documentation to state that CMake sets the variable automatically.
* | | | | | Merge topic 'doc-set-no-values'Brad King2023-03-273-12/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 512f64289a Help: Clarify that set(VAR) unsets VAR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8362
| * | | | | | Help: Clarify that set(VAR) unsets VARBrad King2023-03-243-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also call out possible exposure of an existing cache entry of the same name, as we have for the `unset` command since commit 1a0f1a25a4 (Help: Clarify the unset command, 2018-08-17, v3.13.0-rc1~199^2). Issue: #24633
* | | | | | | Merge branch 'release-3.26'Brad King2023-03-270-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'module-depends-static-lib-cycle' into release-3.26Brad King2023-03-2710-3/+42
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01d7860fdb Ninja,Makefile: Restore Fortran module scanning in static library cycle 846baa7c5b cmGlobalGenerator: Factor out helper to check target ordering Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8363
* | \ \ \ \ \ \ Merge topic 'module-depends-static-lib-cycle'Brad King2023-03-2710-3/+42
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | / / / | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01d7860fdb Ninja,Makefile: Restore Fortran module scanning in static library cycle 846baa7c5b cmGlobalGenerator: Factor out helper to check target ordering Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8363
| * | | | | | Ninja,Makefile: Restore Fortran module scanning in static library cycleBrad King2023-03-248-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since * commit eed295fd8a (cmGlobalNinjaGenerator: require that dependency info files work, 2023-02-01, v3.26.0-rc1~1^2~1), and * commit 13810dee17 (cmDependsFortran: require that dependency info files work, 2023-02-01, v3.26.0-rc1~1^2), the Ninja and Makefile generators' module dependency scanning requires that scanning results from from linked targets is available before scanning the current target. In the case of a static library cycle, we cannot expect this information from other static libraries in the cycle. Previously we supported cyclic cases at the cost of silently ignoring missing information. We already compute a global order of targets that respects all `add_dependencies`, but may break `target_link_libraries` dependencies that occur in a static library cycle. Use this order to filter the linked targets so we only expect scanning results to be available from those targets that build before the current target. This approach is sufficient to support module dependency scanning in static library cycles as long as module dependencies do not cross between two libraries in the same cycle. Fixes: #24631
| * | | | | | cmGlobalGenerator: Factor out helper to check target orderingBrad King2023-03-242-2/+12
| |/ / / / /
* | | | | | CMake Nightly Date StampKitware Robot2023-03-271-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-03-261-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-03-251-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'ibmclang-aix-thin-lto'Brad King2023-03-241-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79622d4a3e IBMClang: No thin LTO on AIX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rob Boehne <robb@datalogics.com> Merge-request: !8357
| * | | | | IBMClang: No thin LTO on AIXNicole Rabjohn2023-03-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | AIX does not yet support thin LTO.
* | | | | | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-windows-casing'Brad King2023-03-247-11/+82
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa45594407 file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries 14cfd6a1eb Tests: Add test for file(GET_RUNTIME_DEPENDENCIES) with MixedCase.dll Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8291
| * | | | | file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binariesChristian Heimlich2023-03-236-11/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Windows PE files the `file(GET_RUNTIME_DEPENDENCIES)` command converts the name of all DLLs found during binary scanning to lowercase in order to simplify the syntax requirements of its regex filters; however, this has the side-effect of causing all DLL paths returned via RESOLVED_DEPENDENCIES_VAR to be in lowercase, regardless of their actual casing. Instead, respect the original casing as closely as possible when returning resolved dependencies after all filters have been passed: When evaluating a Windows PE format binary on a non-Windows host the casing of dependencies recorded within the binary are used. When the host is running Windows, the actual casing of the dependencies on-disk are used instead. Fixes: #23091
| * | | | | Tests: Add test for file(GET_RUNTIME_DEPENDENCIES) with MixedCase.dllChristian Heimlich2023-03-232-1/+5
| |/ / / / | | | | | | | | | | | | | | | Issue: #23091
* | | | | CMake Nightly Date StampKitware Robot2023-03-241-1/+1
| |_|_|/ |/| | |
* | | | Merge branch 'release-3.26'Brad King2023-03-231-0/+12
|\ \ \ \ | | |/ / | |/| |
| * | | CMake 3.26.1v3.26.1Brad King2023-03-232-1/+13
| | | |
* | | | Merge topic 'autogen-exe-vars'Brad King2023-03-2310-0/+81
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3d1797508 Autogen: Add CMAKE_AUTO*_EXECUTABLE variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8352
| * | | | Autogen: Add CMAKE_AUTO*_EXECUTABLE variablesOrkun Tokdemir2023-03-2210-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the `CMAKE_AUTOMOC_EXECUTABLE`, `CMAKE_AUTOUIC_EXECUTABLE`, and `CMAKE_AUTORCC_EXECUTABLE` variables to initialize the corresponding `AUTO{MOC,UIC,RCC}_EXECUTABLE` target properties. Fixes: #20071
* | | | | Merge branch 'release-3.26'Brad King2023-03-230-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'FindHDF5-CXX-without-C' into release-3.26Brad King2023-03-231-38/+28
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6bb4975ab FindHDF5: Restore parallel HDF5 detection with only CXX enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8355
* | \ \ \ \ Merge topic 'FindHDF5-CXX-without-C'Brad King2023-03-231-38/+28
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6bb4975ab FindHDF5: Restore parallel HDF5 detection with only CXX enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8355
| * | | | | FindHDF5: Restore parallel HDF5 detection with only CXX enabledBrad King2023-03-221-38/+28
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 14c46fb16a (FindHDF5: Find C component with only CXX compiler, 2022-12-13, v3.26.0-rc1~175^2), if CXX is enabled but C is not, the `_HDF5_test_regular_compiler_C` helper writes a `.cpp` source but the `_HDF5_invoke_compiler` still expects a `.c` source. Refactor the logic to select a name for the source file up front, and use it in both helpers. Fixes: #24627 Issue: #24241
* | | | | CMake Nightly Date StampKitware Robot2023-03-231-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'remove-doxygen.config'Brad King2023-03-221-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ae6aeacb1 Actually remove unused top-level doxygen.config file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8353
| * | | | Actually remove unused top-level doxygen.config fileBrad King2023-03-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | In commit 3ca1a80e53 (Remove unused top-level doxygen.config file, 2023-03-20) we only removed the content, not the file itself.
* | | | | CMake Nightly Date StampKitware Robot2023-03-221-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'ci-clang16-windows'Brad King2023-03-213-13/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be1549d950 ci: Enable C++ modules tests with LLVM/Clang 16.0 on Windows eb93e1ff18 ci: Update LLVM/Clang to 16.0 in nightly CI jobs on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8350
| * | | | ci: Enable C++ modules tests with LLVM/Clang 16.0 on WindowsBrad King2023-03-211-0/+4
| | | | | | | | | | | | | | | | | | | | This works only with the GNU-like front-end and the Ninja generator.
| * | | | ci: Update LLVM/Clang to 16.0 in nightly CI jobs on WindowsBrad King2023-03-212-13/+13
| | | | |
* | | | | Merge topic 'update-curl'Brad King2023-03-2177-1539/+1939
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eca41c0243 curl: Restore build within CMake after update to 8.0.1 e3dc4df9b9 Merge branch 'upstream-curl' into update-curl e8bff971d9 curl 2023-03-20 (b16d1fa8) 4e6c3cd93b curl: Update script to get curl 8.0.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8351
| * | | | | curl: Restore build within CMake after update to 8.0.1Brad King2023-03-201-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore changes from commit 2be5a7de4e (Build: Use imported target `ZLIB::ZLIB` instead of variables, 2022-08-21, v3.25.0-rc1~97^2~10) that were undone by the update to curl 8.0.1. The code was moved.