summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | FindMatlab: simplify mexext find logicscivision2023-01-121-19/+3
| |/ / / / | | | | | | | | | | | | | | | This eliminates an explicit for() loop
* | | | | Merge topic 'deprecate-findunixcmds'Brad King2023-01-131-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0847682c47 FindUnixCommands: Deprecate in favor of cmake -E Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8061
| * | | | | FindUnixCommands: Deprecate in favor of cmake -EFeRD (Frank Dana)2023-01-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `${CMAKE_COMMAND} -E` subcommands are cross-platform replacements. Fixes: #24263
* | | | | | Merge topic 'implicit-includes'Brad King2023-01-131-2/+3
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 607bccb4ef Restore implicit include directory extraction for adaptive relative paths Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8067
| * | | | | Restore implicit include directory extraction for adaptive relative pathsBrad King2023-01-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the logic added by commit ef41d49812 (Fix implicit include directory extraction for adaptive relative paths, 2019-04-08, v3.14.2~5^2) to account for the new `try_compile` work directory used for the ABI check since commit 2edf0fc6d7 (Modules: Use new keyword-dispatched try_compile signature, 2022-09-13, v3.25.0-rc1~144^2). Paths relative to the work directory will now have one more `../` in them, so update the test data to match. Fixes: #24279
* | | | | | Merge topic 'IntelLLVM-msvc-no-cxx11'Brad King2023-01-131-2/+2
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 88f9fdcb03 IntelLLVM: Avoid unnecessary -Qstd=c++11 flag on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8069
| * | | | | IntelLLVM: Avoid unnecessary -Qstd=c++11 flag on WindowsBrad King2023-01-121-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IntelLLVM compiler, for compatibility with MSVC on Windows, always runs with support for at least C++14. The `-Qstd=c++11` flag just causes a warning that it is unused. Fixes: #24316
* | | | | Merge topic 'IntelLLVM-no-icpx-on-Windows'Brad King2023-01-131-1/+7
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 870d89627f Help: Clarify compiler id distinction between Intel Classic and IntelLLVM ea4cfb3b53 Merge branch 'backport-IntelLLVM-no-icpx-on-Windows' 8834e4d6a5 IntelLLVM: Avoid finding not-yet-supported icpx on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8041
| * | | Merge branch 'backport-IntelLLVM-no-icpx-on-Windows'Brad King2023-01-121-1/+7
| |\ \ \ | | |/ / | |/| |
| | * | IntelLLVM: Avoid finding not-yet-supported icpx on WindowsMichael Hirsch2023-01-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel oneAPI 2023.0 added the `icpx` compiler front-end on Windows. It uses a GNU-like command-line, and is not yet supported by CMake. Avoid finding `icpx` as the CXX compiler on Windows until support is added. Fixes: #24266 Issue: #24314
* | | | Merge topic 'bug/cuda-toolkit-support-arm64-sbsa'Brad King2023-01-121-19/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 743d4181b4 FindCUDAToolkit: Support cross-compilation to sbsa-linux e60fa80fbe FindCUDAToolkit: Handle CUDA::nvToolsExt not existing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8057
| * | | | FindCUDAToolkit: Support cross-compilation to sbsa-linuxRobert Maynard2023-01-111-18/+21
| | | | | | | | | | | | | | | | | | | | Fixes #24192
| * | | | FindCUDAToolkit: Handle CUDA::nvToolsExt not existingRobert Maynard2023-01-111-1/+1
| | |_|/ | |/| |
* | | | Merge topic 'cuda-12'Brad King2023-01-121-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d90f65b24 CUDA: Update set of architectures supported by CUDA 12 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8031
| * | | | CUDA: Update set of architectures supported by CUDA 12xiny2023-01-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove architectures 35 and 37 for CUDA 12. Architecture 21 is not in CMAKE_CUDA_ARCHITECTURES_ALL_MAJOR so there is no need to remove it.
* | | | | Merge topic 'FindwxWindows-typos'Brad King2023-01-121-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 256262876b FindwxWindows: Fix comment typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8052
| * | | | | FindwxWindows: Fix comment typoslilinjie2023-01-111-1/+1
| | |/ / / | |/| | |
* | | | | Merge topic 'frontend-variant-always'Brad King2023-01-121-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4fcdfa301 Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8036
| * | | | | Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilersRussell Greene2023-01-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `GNU` and `MSVC` compilers obviously use their own front-end command-line style. Also set this for `AppleClang`. Fixes: #24232
* | | | | | Merge topic 'findmatlab_system_include'Brad King2023-01-121-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6683c20f22 FindMatlab: Add SYSTEM include flag for matlab_add_mex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8039
| * | | | | | FindMatlab: Add SYSTEM include flag for matlab_add_mexJorrit Olthuis2023-01-111-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the `SYSTEM` flag for include directories provided by MATLAB, as the the pragmas used are not compatible with GCC and generate a warning. Fixes: #24166
* | | | | | Merge topic 'FindBoost-1.81'Brad King2023-01-121-2/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | a97032c4e7 FindBoost: Add Boost 1.81 support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Christoph GrĂ¼ninger <foss@grueninger.de> Merge-request: !8056
| * | | | FindBoost: Add Boost 1.81 supportleha-bot2023-01-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the list of known versions. There is a new header-only library, Boost.URL. It has no dependencies and has a core header `<boost/url.hpp>`. Run the command cmake -DBOOST_DIR=/path/to/boost_1_81_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.81.0 source tree. They are the same as 1.80's dependencies, so just update the version check for warning about newer versions.
* | | | | Help: Enhance UseSWIG module documentationFeRD (Frank Dana)2022-12-221-15/+47
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add section headings * Add TOC (HTML only) * Move `swig_link_libraries()` to "Deprecated commands" section at end of docs, document as deprecated in favor of `target_link_libraries()` in all cases.
* | | | Merge topic 'doc-SYSTEM'Craig Scott2022-12-191-6/+11
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | | | | dfab263825 Help: Clarify and update SYSTEM-related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8027
| * | Help: Clarify and update SYSTEM-related docsCraig Scott2022-12-171-6/+11
| | |
* | | Merge topic 'FindHDF5-C-with-only-CXX'Brad King2022-12-171-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 14c46fb16a FindHDF5: Find C component with only CXX compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8015
| * | | FindHDF5: Find C component with only CXX compilerChristoph Junghans2022-12-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For CXX-only projects it is sometimes useful to detect the C component even with just a CXX compiler. Fixes: #24241
* | | | ASM_MARMASM: Populate MSVC debug information format abstraction tableBrad King2022-12-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 3166547cf6 (ASM_MARMASM: Add support for Microsoft ARM assembler language, 2022-10-14) we overlooked populating the runtime library selection flags for the Microsoft ARM assembler, needed since commit 0e96a20478 (MSVC: Add abstraction for debug information format, 2022-08-25, v3.25.0-rc1~142^2~1). Its compiler id is `MSVC`, so our generators expect the table to be populated. It only supports `Embedded` debug info. Use empty flags for the other formats. Without this fix, enabling the `ASM_MARMASM` language with policy `CMP0141` set to `NEW` causes an error due to the missing table entries. Issue: #24249
* | | | Merge branch 'backport-masm-debug-format' into masm-debug-formatBrad King2022-12-151-0/+4
|\ \ \ \ | | |/ / | |/| |
| * | | ASM_MASM: Populate MSVC debug information format abstraction tableBrad King2022-12-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 0e96a20478 (MSVC: Add abstraction for debug information format, 2022-08-25, v3.25.0-rc1~142^2~1) we overlooked populating the runtime library selection flags for the Microsoft assembler. Its compiler id is `MSVC`, so our generators expect the table to be populated. It only supports `Embedded` debug info. Use empty flags for the other formats. Without this fix, enabling the `ASM_MASM` language with policy `CMP0141` set to `NEW` causes an error due to the missing table entries. Fixes: #24249
* | | | Merge topic 'find_cudatoolkit_add_nvjitlink'Brad King2022-12-141-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d37d9c098c FindCUDAToolkit: Support the new `nvJitLink` library in CUDA 12 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8014
| * | | | FindCUDAToolkit: Support the new `nvJitLink` library in CUDA 12Robert Maynard2022-12-121-0/+17
| | |/ / | |/| |
* | | | Merge topic 'cuda-nvcc-cuda20'Brad King2022-12-141-0/+12
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | 0aeeb8160c CUDA: Add support for cuda_std_20 for nvcc 12.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8008
| * | CUDA: Add support for cuda_std_20 for nvcc 12.0+Robert Maynard2022-12-131-0/+12
| | | | | | | | | | | | CUDA 12.0 has been released with support for `-std=c++20`.
| * | Merge topic 'CheckSymbolExists-restore-newline' into release-3.25Brad King2022-12-051-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9273b8f421 CheckSymbolExists: Restore newline at end of test source Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Petr Nechaev <petr.nechaev@cogentembedded.com> Merge-request: !7979
* | \ \ Merge topic 'FindOpenSSL-static-z'Brad King2022-12-061-4/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b7804edd0 FindOpenSSL: use extra dependencies from pkg-config as well Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7986
| * | | | FindOpenSSL: use extra dependencies from pkg-config as wellRolf Eike Beer2022-12-051-4/+38
| | | | | | | | | | | | | | | | | | | | This is important if OpenSSL is linked against an external zlib.
* | | | | Merge topic 'cxx-module-map-clang'Brad King2022-12-061-0/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c558cfd1b gitlab-ci: add CI jobs for Clang with C++20 modules abd42e9cfc ci: add a Docker container for clang support of C++20 modules 51093f3002 Clang-FindBinUtils: also find `clang-scan-deps` 0b333de923 ci: add C++ module rules file for Clang 21b9fb1e8c cmCxxModuleMapper: support the `clang` module map format 9c66224668 cmNinjaTargetGenerator: skip setting `depfile` for `none` scantypes 9123a0991f cmNinjaTargetGenerator: use `.clear()` to empty out some strings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !7978
| * | | | | Clang-FindBinUtils: also find `clang-scan-deps`Ben Boeckel2022-12-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | `clang-scan-deps` will be required for C++20 module scanning purposes.
* | | | | | Merge topic 'CheckSymbolExists-restore-newline'Brad King2022-12-051-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | 9273b8f421 CheckSymbolExists: Restore newline at end of test source Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Petr Nechaev <petr.nechaev@cogentembedded.com> Merge-request: !7979
| * | | | CheckSymbolExists: Restore newline at end of test sourceAndrey Vostrikov2022-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit db76876db5 (Modules: Use new SOURCES_FROM_* try_compile (1/2), 2022-09-26, v3.25.0-rc1~74^2~1) accidentally dropped the final newline of the test source, which was previously provided by the input to `configure_file`. The C standard requires a newline at the end of file, so add one explicitly. Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
* | | | | Merge topic 'FetchContent-SYSTEM'Craig Scott2022-12-051-0/+3
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | 4b85141f83 FetchContent: Don't pass SYSTEM through to sub-build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7977
| * | | FetchContent: Don't pass SYSTEM through to sub-buildCraig Scott2022-12-021-0/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | If we don't filter out SYSTEM from the arguments we pass through to ExternalProject_Add(), it gets appended as a list item to whatever arguments precede it because ExternalProject_Add() doesn't recognize it as a keyword. Fixes: #24201
| * | Merge topic 'source-from-var' into release-3.25Brad King2022-11-292-4/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | f6b99c5087 Check*: Restore support for arbitrary result variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7960
| * \ \ Merge topic 'FindRuby-doc-fix' into release-3.25Brad King2022-11-291-3/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d7f40a5c4 FindRuby: Remove documentation for non-existent Ruby_ROOT_DIR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7954
| * \ \ \ Merge topic 'android-no-LINUX' into release-3.25Brad King2022-11-291-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19509249a5 Android: Revert setting LINUX variable on Android target systems Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Nevala <robert.nevala@king.com> Acked-by: n00b42 <github.com@mail.msdigital.de> Merge-request: !7963
| * \ \ \ \ Merge topic 'msvc-cxx-no-optin-experimental-flag' into release-3.25Brad King2022-11-291-1/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12e4bc73cb MSVC: don't opt into dyndep support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7965
| * \ \ \ \ \ Merge topic 'revert-find_library-msvc-libfoo.a' into release-3.25Brad King2022-11-291-2/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 955d6245c1 MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7962
| * \ \ \ \ \ \ Merge topic 'mingw-windres' into release-3.25Brad King2022-11-292-7/+11
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b47092fddb MinGW: Fix regression when windres is not found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7964