summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Document warning about multiple source pathsBrad King2022-03-182-0/+13
| | | | | | | | Although passing multiple source paths was never documented, it was not diagnosed by CMake 3.22 and below. In CMake 3.23 we now diagnose extra paths and warn. Document this change and add a release note. Issue: #23334
* Merge branch 'release-3.22' into release-3.23Brad King2022-03-180-0/+0
|\
| * Merge branch 'FindPython-pypy-specify-versions' into release-3.22Brad King2022-03-171-10/+25
| |\ | | | | | | | | | Merge-request: !7081
* | \ Merge topic 'FindPython-pypy-specify-versions' into release-3.23Brad King2022-03-181-10/+25
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 2834cea155 FindPython: fix various problems using pypy interpreters Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7081
| * | FindPython: fix various problems using pypy interpretersMarc Chevrier2022-03-171-10/+25
| |/ | | | | | | | | | | * add more possible directories for include file search * enhance version detection from library and include files * search for file pypy_decl.h when PyPy.h is not defined
* | Merge topic 'always_prefer_last_source_dir' into release-3.23Brad King2022-03-183-24/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | b44ad7992a cmake: Always prefer the last source directory provided Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7084
| * | cmake: Always prefer the last source directory providedRobert Maynard2022-03-173-24/+8
| | | | | | | | | | | | Fixes: #23334
* | | Merge topic 'FindPostgreSQL-doc-versions' into release-3.23Brad King2022-03-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fcc0119af0 FindPostgreSQL: Update known versions in documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7080
| * | | FindPostgreSQL: Update known versions in documentationKai Pastor2022-03-171-1/+1
| | | |
* | | | Merge topic 'doc-src-bld-selection' into release-3.23Brad King2022-03-171-0/+20
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | fea270d3ed Help: Document cmake source and binary dir selection rules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7076
| * | | Help: Document cmake source and binary dir selection rulesRobert Maynard2022-03-171-0/+20
| | | | | | | | | | | | | | | | Co-authored-by: Brad King <brad.king@kitware.com>
* | | | Merge topic 'tll-genex-concat' into release-3.23Brad King2022-03-174-2/+55
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | add64399c5 target_link_libraries: Restore LINK_ONLY for multiple static lib dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7078
| * | | target_link_libraries: Restore LINK_ONLY for multiple static lib dependenciesBrad King2022-03-164-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit c1e812ad4f (target_link_libraries: Improve tolerance of unquoted generator expressions, 2022-02-15, v3.23.0-rc2~11^2) we accumulate consecutive non-keyword arguments to recover an unquoted generator expression as a single entry. When given multiple consecutive non-genex library names, the grouping breaks our logic that expects each entry is either a raw target name or a genex. Revise the logic to only accumulate multiple arguments when they end inside a partial genex. This bug caused `target_link_libraries` to stop wrapping static library private dependencies in `$<LINK_ONLY:...>` for `INTERFACE_LINK_LIBRARIES` when multiple consecutive library names are given. Add a test case covering that behavior. Fixes: #23302
* | | | Merge topic 'doc-list-semicolons' into release-3.23Brad King2022-03-164-13/+56
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8abd714176 Help: Clarify that ENVIRONMENT test properties take ;-separated lists 02cf404ace Help: Add advice for dealing with semicolons in lists c4117d9116 ExternalProject: Document that LIST_SEPARATOR works for CMAKE_ARGS too Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7066
| * | | | Help: Clarify that ENVIRONMENT test properties take ;-separated listsBrad King2022-03-152-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit 79f64cc773 (Help: ENVIRONMENT_MODIFICATION clarify only supports singular values, 2022-02-23) to specifically call out the list format. Issue: #23315
| * | | | Help: Add advice for dealing with semicolons in listsBrad King2022-03-151-0/+42
| | | | | | | | | | | | | | | | | | | | Issue: #23315
| * | | | ExternalProject: Document that LIST_SEPARATOR works for CMAKE_ARGS tooBrad King2022-03-111-5/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | Since `CMAKE_ARGS` is used to construct the default `CONFIGURE_COMMAND` for CMake-based external projects, the `LIST_SEPARATOR` option works for it too.
* | | | Merge topic 'language-header-file-only-doc' into release-3.23Brad King2022-03-161-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83a80e5193 Help: Clarify interaction of LANGUAGE and HEADER_FILE_ONLY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7075
| * | | | Help: Clarify interaction of LANGUAGE and HEADER_FILE_ONLYKyle Edwards2022-03-151-2/+2
| | |/ / | |/| |
* | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-160-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'release-3.21' into release-3.22Brad King2022-03-160-0/+0
| |\ \ \
| | * \ \ Merge branch 'binutils-llvm-ar-apple' into release-3.21Brad King2022-03-161-1/+6
| | |\ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7077
| * | \ \ \ Merge branch 'binutils-llvm-ar-apple' into release-3.22Brad King2022-03-161-1/+6
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | Merge-request: !7077
* | | | | | Merge topic 'binutils-llvm-ar-apple' into release-3.23Brad King2022-03-161-1/+6
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | fee36b7a78 BinUtils: Restore llvm-ar fallback on Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7077
| * | | | BinUtils: Restore llvm-ar fallback on Apple platformsBrad King2022-03-161-1/+6
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 29ea94e17c (BinUtils: Avoid llvm-ar on Apple platforms, 2022-03-03, v3.21.6~1^2) we do not consider `llvm-ar` at all on Apple platforms. However, there are existing cross-compiling use cases in which the toolchain has `llvm-ar` but not `ar`. Prior to the re-ordering in commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2), we preferred `ar` and then `llvm-ar`. Restore the original order for Apple. Fixes: #23320
* | | | 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
| |\ \ \ \ | | | |_|/ | | |/| |