summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-ignore-prefix-paths' into release-3.23Brad King2022-03-1511-51/+98
|\ | | | | | | | | | | | | 5cb0a730c9 Help: Clarify behavior of search ignore-related variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7056
| * Help: Clarify behavior of search ignore-related variablesCraig Scott2022-03-1311-51/+98
| | | | | | | | | | | | | | | | | | | | | | Not all the behaviors of CMake variables for ignoring search locations by find_...() commands were fully documented. Add the missing effects, clarify the wording and restructure the way the details are assembled to reduce duplication. Also improve the cross-referencing to ensure all the related variables are more discoverable. Issue: #20878
* | Merge branch 'release-3.22' into release-3.23Brad King2022-03-150-0/+0
|\ \
| * \ Merge branch 'release-3.21' into release-3.22Brad King2022-03-110-0/+0
| |\ \
| | * \ Merge branch 'AppleClang-cxx20-cxx23-flags' into release-3.21Brad King2022-03-111-1/+9
| | |\ \ | | | | | | | | | | | | | | | Merge-request: !7063
| * | \ \ Merge branch 'AppleClang-cxx20-cxx23-flags' into release-3.22Brad King2022-03-111-1/+9
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Merge-request: !7063
* | | | | Merge topic 'AppleClang-cxx20-cxx23-flags' into release-3.23Brad King2022-03-151-1/+9
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 683e4e9cab AppleClang: Add C++20 and C++23 flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7063
| * | | | AppleClang: Add C++20 and C++23 flagsKen Matsui2022-03-111-1/+9
| | |/ / | |/| | | | | | | | | | | | | | Follow up commit 886e27062b (Clang/MSVC: C++20 final flag, C++23 support, 2021-05-29, v3.20.4~7^2) with support for AppleClang.
* | | | Merge topic 'doc-LINK_LIBRARIES_ONLY_TARGETS' into release-3.23Craig Scott2022-03-141-4/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 95cdce829f Help: Fix typo and improve readability for LINK_LIBRARIES_ONLY_TARGETS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7068
| * | | Help: Fix typo and improve readability for LINK_LIBRARIES_ONLY_TARGETSCraig Scott2022-03-131-4/+3
|/ / /
* | | CMake 3.23.0-rc3v3.23.0-rc3Brad King2022-03-101-1/+1
| | |
* | | Merge topic 'cuda-arch-off' into release-3.23Brad King2022-03-105-3/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7024596a26 Tests: Fix testing CMAKE_CUDA_ARCHITECTURES=OFF with Clang 2a79b647fa CUDA: Restore support for CMAKE_CUDA_ARCHITECTURES=OFF Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7058
| * | | Tests: Fix testing CMAKE_CUDA_ARCHITECTURES=OFF with ClangBrad King2022-03-102-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Clang does not automatically choose an architecture supported by the SDK. The `OFF` value is meant for users to provide their own architecture flags, so provide one as part of the test.
| * | | CUDA: Restore support for CMAKE_CUDA_ARCHITECTURES=OFFRobert Maynard2022-03-095-3/+9
| | | | | | | | | | | | | | | | Fixes: #23309
* | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-100-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'backport-3.22-ci-msvc-19.31' into release-3.22Brad King2022-03-091-4/+4
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !7059
| * \ \ \ Merge branch 'irsl-oneapi-linux' into release-3.22Brad King2022-03-091-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7057
* | \ \ \ \ Merge topic 'irsl-oneapi-linux' into release-3.23Brad King2022-03-101-0/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e84a06b3a IRSL: Add paths for Intel oneAPI compilers on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7057
| * | | | | IRSL: Add paths for Intel oneAPI compilers on LinuxAttila Krasznahorkay2022-03-091-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are stored in a slightly different place with oneAPI than they used to be in PSXE. A similar change was made for Windows by commit 956160bb9a (IRSL: Fix search for Windows redist files with Intel Classic compiler, 2021-09-23, v3.22.0-rc1~88^2), which left a comment about the locations relative to the Classic and oneAPI compilers. Fixes: #23310
* | | | | Merge topic 'ci-msvc-19.31' into release-3.23Brad King2022-03-101-4/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2c303f4c7 Merge branch 'backport-3.22-ci-msvc-19.31' into ci-msvc-19.31 e66de43180 gitlab-ci: Update Windows builds to MSVC 19.31 toolset fade5b5b8c gitlab-ci: Update Windows builds to MSVC 19.31 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7059
| * | | | Merge branch 'backport-3.22-ci-msvc-19.31' into ci-msvc-19.31Brad King2022-03-090-0/+0
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | gitlab-ci: Update Windows builds to MSVC 19.31 toolsetBrad King2022-03-091-4/+4
| | | | |
| * | | | gitlab-ci: Update Windows builds to MSVC 19.31 toolsetBrad King2022-03-091-4/+4
| | | | |
* | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-090-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'release-3.21' into release-3.22Brad King2022-03-080-0/+0
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Merge branch 'binutils-llvm-mt' into release-3.21Brad King2022-03-081-1/+2
| | |\ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7054
| * | \ \ \ Merge branch 'binutils-llvm-mt' into release-3.22Brad King2022-03-081-1/+2
| |\ \ \ \ \ | | | |/ / / | | |/| | / | | |_|_|/ | |/| | | Merge-request: !7054
* | | | | Merge topic 'ignore-prefix-path-test-program-path' into release-3.23Brad King2022-03-091-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11ea24e590 Tests: Disable CMAKE_SYSTEM_PROGRAM_PATH in IgnorePrefixPath test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7055
| * | | | | Tests: Disable CMAKE_SYSTEM_PROGRAM_PATH in IgnorePrefixPath testKyle Edwards2022-03-081-0/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some systems set CMAKE_SYSTEM_PROGRAM_PATH, which pollutes the environment for this test. Erase it before executing the test to get a clean environment. Fixes: #23300
* | | | | Merge topic 'binutils-llvm-mt' into release-3.23Brad King2022-03-091-1/+2
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 73d0d4e4b5 BinUtils: Avoid llvm-mt because it is missing 'mt' features we use Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7054
| * | | | BinUtils: Avoid llvm-mt because it is missing 'mt' features we useBrad King2022-03-081-1/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we correctly prefer the more-specific name `llvm-mt` over `mt` when using Clang. However, the `llvm-mt` tool does not yet support all the flags we need in the implementation of `vs_link_{exe,dll}`. Prefer plain `mt` for now. Fixes: #23305
* | | | Merge topic 'iar-cmp0057' into release-3.23Brad King2022-03-091-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd3e23a605 IAR: Fix detection of modern C++ version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7053
| * | | | IAR: Fix detection of modern C++ versionKenneth Soerensen2022-03-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit cc4da8d13a (IAR/CXX: Fix compatibility with CMP0057 OLD, 2022-01-29, v3.23.0-rc1~46^2) broke the detection of C++ version because the `IN_LIST` operator cannot work directly on a list but requires a variable.
* | | | | Merge topic 'doc-file-sets' into release-3.23Brad King2022-03-098-98/+138
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4286b72240 Help: Update install() docs to better reflect preference for file sets ab1b573f41 Help: Reorganise FILE_SETS and related properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7031
| * | | | Help: Update install() docs to better reflect preference for file setsCraig Scott2022-03-081-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, headers would typically be installed as bare files or as whole directories. File sets offer a better abstraction and associate headers with a target, installing them as part of the target. Add notes and update examples to draw the reader's attention to the advantages of file sets for headers.
| * | | | Help: Reorganise FILE_SETS and related propertiesCraig Scott2022-03-057-77/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce duplication and make the docs for target_sources() focus on the functionality rather than the properties it modifies. The properties are a lower level quantity, so put the relevant details for them in the property documentation. The target_sources() command only needs to reference the properties, not reproduce the property documentation. Improve the cross-referencing between the HEADER_... property docs. This helps build the mental picture of how they relate to each other.
* | | | | Merge topic 'cmake-presets-file-dir' into release-3.23Brad King2022-03-0810-1/+65
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f54507c2f6 CMakePresets.json: Add ${fileDir} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !7051
| * | | | | CMakePresets.json: Add ${fileDir} macroKyle Edwards2022-03-0710-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23214
* | | | | | Merge topic 'test-cmp0125' into release-3.23Brad King2022-03-084-56/+56
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eca72dab8b Tests: Make RunCMake.CMP0125 robust to external filesystem content Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7049
| * | | | | Tests: Make RunCMake.CMP0125 robust to external filesystem contentBrad King2022-03-074-56/+56
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the test from commit 08db1341a6 (find_*: ensure consistent behavior for cache variables, 2021-05-03, v3.21.0-rc1~177^2) to avoid searching outside the test directories. Fixes: #23299
* | | | | Merge topic 'doc-lang-std-features' into release-3.23Brad King2022-03-085-0/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbda79f39d Help: Document explicitly that 'cxx_std_##' features may not add a flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: antmak <antmak.pub@gmail.com> Merge-request: !7043
| * | | | | Help: Document explicitly that 'cxx_std_##' features may not add a flagBrad King2022-03-075-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is commonly reported incorrectly as a bug, so call out this behavior explicitly in the documentation.
* | | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-080-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge branch 'FindMatlab-minver' into release-3.22Brad King2022-03-071-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !7047
* | \ \ \ \ \ Merge topic 'FindMatlab-minver' into release-3.23Brad King2022-03-081-0/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | / / / | |_|_|/ / / |/| | | | | | | | | | | | | | | | | bb2c7b7dc0 FindMatlab: Fix logic error when minimum version is not found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7047
| * | | | | FindMatlab: Fix logic error when minimum version is not foundMichael Hirsch2022-03-071-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix logic added by commit 7fdd5128b1 (FindMatlab: Fix version selection if a version is given, 2021-07-02, v3.22.0-rc1~66^2). Ensure that `_list_index` is always initialized to -1, akin to `list(FIND)` not finding a match. Issue: #22377
* | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-041-0/+9
|\ \ \ \ \ | |/ / / /
| * | | | CMake 3.22.3v3.22.3Brad King2022-03-042-1/+10
| | | | |
* | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-041-3/+3
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | |
| * | | Merge branch 'release-3.21' into release-3.22Brad King2022-03-041-3/+3
| |\ \ \ | | | |/ | | |/|