summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MSYS/MinGW Makfiles: Select the compiler occurring first in PATHBrad King2022-05-264-28/+10
| | | | | | | | | | | Extend the change from commit e01990999a (Ninja: On Windows, select the compiler occurring first in PATH, 2020-04-17, v3.18.0-rc1~291^2) to apply to the MSYS/MinGW Makefiles generators too. Drop the implied `gcc` and `g++` default compilers. This allows MinGW/Clang environments to work out of the box. Inspired-by: Mehdi Chinoune <mehdi.chinoune@hotmail.com> Fixes: #23542
* Merge topic 'verify-interface-header-sets-list'Brad King2022-05-2611-5/+76
|\ | | | | | | | | | | | | | | aadaac7f6d VERIFY_INTERFACE_HEADER_SETS: Add property for list of header sets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7298
| * VERIFY_INTERFACE_HEADER_SETS: Add property for list of header setsKyle Edwards2022-05-2511-5/+76
| | | | | | | | | | | | | | | | Add a new property, INTERFACE_HEADER_SETS_TO_VERIFY, which contains a list of header sets that should be verified by VERIFY_INTERFACE_HEADER_SETS. Fixes: #23522
* | Merge topic 'automoc-build-dir'Brad King2022-05-262-1/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 76608c60d3 AutoMoc: Take AUTOMOC_BUILD_DIR into account in depfile Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !7291
| * | AutoMoc: Take AUTOMOC_BUILD_DIR into account in depfileJoerg Bornemann2022-05-252-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the Ninja generator and targets that have AUTOMOC_BUILD_DIR set, the AutoMoc target was always out of date. That was because the depfile in the AutoMoc build directory was referencing the wrong timestamp file: target_autogen/timestamp: ...dependencies... instead of automoc_build_dir/timestamp: ...dependencies... Use the relative path of the timestamp file as rule name for the depfile. That path is calculated with AUTOMOC_BUILD_DIR taken into account. Fixes: #23547
* | | Merge topic 'LLVMFlang-compiler'Brad King2022-05-265-1/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 85749766df LLVMFlang: Add support for LLVM Flang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7246
| * | | LLVMFlang: Add support for LLVM FlangTin Huynh2022-05-245-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM Flang (https://github.com/llvm/llvm-project/tree/main/flang) is an LLVM Fortran compiler that shares the same name as Flang (also known as Classic Flang). Classic Flang is in active development and is already identified by CMake as Flang. As such, LLVM Flang will be identified as `LLVMFlang`. Fixes: #22387
* | | | CMake Nightly Date StampKitware Robot2022-05-261-1/+1
| | | |
* | | | Merge branch 'release-3.23'Brad King2022-05-250-0/+0
|\ \ \ \ | |_|_|/ |/| | |
| * | | CMake 3.23.2v3.23.2Brad King2022-05-251-1/+1
| | | |
* | | | Merge topic 'dependency-providers'Brad King2022-05-2550-55/+996
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2aa83fa15b Dependency providers: Add find_package and FetchContent support 8a28368feb FetchContent: Don't discard non-empty SOURCE_DIR and BINARY_DIR 8ce9bb8a0c FetchContent: Don't leak internal variables 74a6ddc339 cmFindPackageCommand: Handle Makefile variable definitions more robustly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !7276
| * | | | Dependency providers: Add find_package and FetchContent supportCraig Scott2022-05-2450-38/+957
| | | | | | | | | | | | | | | Fixes: #22619
| * | | | FetchContent: Don't discard non-empty SOURCE_DIR and BINARY_DIRCraig Scott2022-05-181-3/+9
| | | | |
| * | | | FetchContent: Don't leak internal variablesCraig Scott2022-05-181-3/+11
| | | | |
| * | | | cmFindPackageCommand: Handle Makefile variable definitions more robustlyCraig Scott2022-05-172-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During argument parsing in InitialPass(), Makefile variables were being added for components. Most other such variables were set in the call to SetModuleVariables(), which happens much later. Both sets of variables were then restored to their previous values as part of a call to AppendSuccessInformation(), but that is not an obvious nor robust place to undo those variable changes. InitialPass() also pushes a new item to the package root stack, but the corresponding pop was in AppendSuccessInformation(). Again, this puts a symmetric operation in an asymmetric place. Refactor the code slightly such that Makefile variables are set in one clear location, then restored later in the same function. Also move the package root stack pop into the same function as the push. AppendSuccessInformation() now has one clear responsibility and doesn't perform any unrelated cleanup on behalf of InitialPass().
* | | | | Merge topic 'cpack-component-special-chars'Brad King2022-05-251-8/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11ac6751a8 CPack: Support component names with special characters, too Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7290
| * | | | | CPack: Support component names with special characters, tooDeniz Bahadir2022-05-241-8/+10
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | The macros `cpack_append_variable_set_command` and `cpack_append_string_variable_set_command` became functions, in order to support arguments with special characters (e.g. `:`).
* | | | | Merge topic 'doc-cmake-compiler-is-gnu-deprecation'Brad King2022-05-253-9/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 711031df7c Help: Deprecate the CMAKE_COMPILER_IS_GNU* variables c058fdb92a Help: Remove wrong versionadded for CMAKE_COMPILER_IS_GNU* variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7293
| * | | | | Help: Deprecate the CMAKE_COMPILER_IS_GNU* variablesfriendlyanon2022-05-243-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23526
| * | | | | Help: Remove wrong versionadded for CMAKE_COMPILER_IS_GNU* variablesfriendlyanon2022-05-243-6/+0
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 496ec6036f (Help: Add Sphinx 'versionadded' directives to each top-level document, 2020-07-06, v3.19.0-rc1~558^2) added the versionadded directive to many variables, but it wrongly detected the commit a6d3f5418c (Help: Clarify documentation of CMAKE_COMPILER_IS_GNU{CC,CXX,G77}, 2016-09-14, v3.7.0-rc1~120^2~1) as the origin for these variables. In reality, these variables were introduced in commit f5d95fb078 (Complete rework of makefile generators expect trouble, 2002-11-08, v2.4.0~4935).
* | | | | CMake Nightly Date StampKitware Robot2022-05-251-1/+1
| | | | |
* | | | | Merge branch 'release-3.23'Brad King2022-05-240-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge topic 'doc-hip-genex-versionadded' into release-3.23Brad King2022-05-241-0/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f863cbd93 Help: Document when HIP_COMPILER generator expressions were added Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7289
* | \ \ \ \ Merge topic 'doc-hip-genex-versionadded'Brad King2022-05-241-0/+8
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f863cbd93 Help: Document when HIP_COMPILER generator expressions were added Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7289
| * | | | | Help: Document when HIP_COMPILER generator expressions were addedEisuke Kawashima2022-05-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were added by commit b50bfc8913 (HIP: Add language to CMake, 2020-08-28, v3.21.0-rc1~66^2~4).
* | | | | | Merge branch 'release-3.23'Brad King2022-05-240-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-05-240-0/+0
| |\ \ \ \ \
| * \ \ \ \ \ Merge topic 'backport-update-libarchive' into release-3.23Brad King2022-05-2444-827/+1807
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2fe1d17e6 libarchive: Update build within CMake after changes in 3.5.3 ac5e524763 libarchive: include archive_platform.h first in blake2s sources b93d8b1714 Merge branch 'upstream-LibArchive' into update-libarchive 9fd16c5b5b LibArchive 2022-02-08 (673c1eae) de38c89252 libarchive: Update script to get 3.5.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7294
* | | | | | | Merge branch 'release-3.22'Brad King2022-05-240-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'backport-update-libarchive' into release-3.22Brad King2022-05-2444-827/+1807
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2fe1d17e6 libarchive: Update build within CMake after changes in 3.5.3 ac5e524763 libarchive: include archive_platform.h first in blake2s sources b93d8b1714 Merge branch 'upstream-LibArchive' into update-libarchive 9fd16c5b5b LibArchive 2022-02-08 (673c1eae) de38c89252 libarchive: Update script to get 3.5.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7294
* | | | | | | Merge topic 'update-libarchive'Brad King2022-05-240-0/+0
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1cb9844a6 Merge branch 'backport-update-libarchive' into update-libarchive e2fe1d17e6 libarchive: Update build within CMake after changes in 3.5.3 ac5e524763 libarchive: include archive_platform.h first in blake2s sources b93d8b1714 Merge branch 'upstream-LibArchive' into update-libarchive 9fd16c5b5b LibArchive 2022-02-08 (673c1eae) de38c89252 libarchive: Update script to get 3.5.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7294
| * | | | | | Merge branch 'backport-update-libarchive' into update-libarchiveBrad King2022-05-240-0/+0
| |\ \ \ \ \ \ |/ / / / / / / | | | _ / / / | | | / / / | | | | | | | | | | | | Use the "ours" merge strategy to keep our side, which is already a newer version of libarchive than the update we're backporting to the 3.22 and 3.23 series.
| * | | | | libarchive: Update build within CMake after changes in 3.5.3Brad King2022-05-241-0/+2
| | | | | |
| * | | | | libarchive: include archive_platform.h first in blake2s sourcesBrad King2022-05-242-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the libarchive convention in all other `.c` sources. It ensures that the configured `_WIN32_WINNT` value is defined before including any system headers.
| * | | | | Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2022-05-2440-826/+1800
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-LibArchive: LibArchive 2022-02-08 (673c1eae)
| | * | | | | LibArchive 2022-02-08 (673c1eae)LibArchive Upstream2022-05-2441-830/+1804
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libarchive/libarchive.git at commit 673c1eae896c837081a627807b9d5e990684dbf7 (v3.5.3).
| * | | | | | libarchive: Update script to get 3.5.3Brad King2022-05-241-1/+1
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'findvulkan-moltenvk'Brad King2022-05-243-4/+122
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9b4264cb8 FindVulkan: Add component for `MoltenVK` 10a6bb16bb FindVulkan: Mark test target with `cxx_std_11` to avoid AppleClang warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7286
| * | | | | | FindVulkan: Add component for `MoltenVK`MACHIZAUD Andréa2022-05-223-4/+118
| | | | | | |
| * | | | | | FindVulkan: Mark test target with `cxx_std_11` to avoid AppleClang warningsMACHIZAUD Andréa2022-05-221-0/+4
| | | | | | |
* | | | | | | Merge topic 'gitignore-build'Brad King2022-05-241-0/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c1ab065fe gitignore: Tell Git to ignore build*/ directories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: مهدي شينون (Mehdi Chinoune) <mehdi.chinoune@hotmail.com> Merge-request: !7283
| * | | | | | | gitignore: Tell Git to ignore build*/ directoriesShao-Ce SUN2022-05-231-0/+3
| | | | | | | |
* | | | | | | | Merge topic 'curl-debug-callback'Brad King2022-05-241-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e243b379ca cmFileCommand: Fix signature of CURLOPT_DEBUGFUNCTION callback Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7288
| * | | | | | | | cmFileCommand: Fix signature of CURLOPT_DEBUGFUNCTION callbackBrad King2022-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Curl documents that the callback should return type `int`.
* | | | | | | | | Merge topic 'reduce-policy-eval-scope'Brad King2022-05-241-4/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb19a63499 cmConditionEvaluator: Reduce the scope of the CMP0064 evaluation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7287
| * | | | | | | | | cmConditionEvaluator: Reduce the scope of the CMP0064 evaluationAlex Turbov2022-05-231-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When evaluatig conditions, avoid testing CMP0064 unless it's really needed (Cuz most of the time it doesn't)
* | | | | | | | | | Merge topic 'ci-fedora-36'Brad King2022-05-24121-445/+374
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef6a7921e5 gitlab-ci: use Fedora 36 images and environments 483ff3b903 ci: update Linux image to Fedora 36 13c5153ccd ci: make rvm version comments consistent 6c08dd972c clang-tidy: suppress `google-readability-casting` lint 17b7bbf2a0 clang-tidy: suppress new `readability-identifier-length` lint 16e6e4e7dd cmFileCommand: remove an unnecessary cast b89c085237 clang-tidy: fix `readability-static-definition-in-anonymous-namespace` lints c8c9d7de03 clang-tidy: fix `bugprone-exception-escape` lints ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7271
| * | | | | | | | | gitlab-ci: use Fedora 36 images and environmentsBen Boeckel2022-05-2419-67/+67
| | | | | | | | | |
| * | | | | | | | | ci: update Linux image to Fedora 36Ben Boeckel2022-05-244-3/+3
| | | | | | | | | |
| * | | | | | | | | ci: make rvm version comments consistentBrad King2022-05-242-3/+2
| | | | | | | | | |