summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Modules: Drop redundant check logging to CMakeOutput.log and CMakeError.logBrad King2023-01-1835-260/+31
| | | | | | | | | | `try_compile` and `try_run` now automatically log checks using them to `CMakeConfigureLog.yaml`. Add `LOG_DESCRIPTION` arguments to some `try_compile` calls to replace the description previously written to the old logs. Issue: #23200
* UsewxWidgets: Remove leftover debugging codeBrad King2023-01-181-29/+0
|
* FindQt4: Drop outdated advice to look at CMakeError.log on failureBrad King2023-01-181-1/+1
| | | | The find module does not write information to the log.
* GHS: Drop debugging message from logBrad King2023-01-181-2/+0
|
* CompileFeatures: Warn explicitly when feature detection binary is not foundBrad King2023-01-181-4/+7
| | | | This step is not normally expected to fail, so warn instead of logging it.
* CompilerId: Restore logging of failed identificationsBrad King2023-01-181-2/+4
| | | | | | Changes in commit 9c5bd7fe3a (CompilerId: Output errors from all attempts at detection, 2022-08-16, v3.25.0-rc1~290^2) accidentally stopped logging failed compiler identification build output.
* Merge topic 'swift-ios'Brad King2023-01-181-3/+6
|\ | | | | | | | | | | | | | | 44abf24848 Swift: Add comment about where platform-specific flags should go 9a013c9e9d Swift: Use macOS-style linker flags on iOS, tvOS, and watchOS too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8070
| * Swift: Add comment about where platform-specific flags should goBrad King2023-01-171-1/+2
| |
| * Swift: Use macOS-style linker flags on iOS, tvOS, and watchOS tooCraig Hutchinson2023-01-171-2/+4
| | | | | | | | | | | | Without this, building a shared Swift library with `CMAKE_SYSTEM_NAME=iOS` produces the error `ld: unknown option: -soname`. iOS is an Apple platform, and so should use the `-install_name` option.
* | Merge topic 'docpc'Brad King2023-01-181-3/+9
|\ \ | | | | | | | | | | | | | | | | | | 93624e4c3d Help:ProcessorCount: recommend cmake_host_system_information Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8077
| * | Help:ProcessorCount: recommend cmake_host_system_informationscivision2023-01-161-3/+9
| |/ | | | | | | closes #24277
* | Merge topic 'IntelLLVM-c++23'Brad King2023-01-182-6/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 4331f7b4bf IntelLLVM: Add provisional flags for C23 and C++23 42ca6416af IntelLLVM: Replace -Qstd= with -Qstd: on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8064
| * | IntelLLVM: Add provisional flags for C23 and C++23scivision2023-01-162-0/+12
| | |
| * | IntelLLVM: Replace -Qstd= with -Qstd: on Windowsscivision2023-01-161-6/+6
| |/ | | | | | | | | | | The latter is the documented form [1]. [1] https://www.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compiler-reference/compiler-options/language-options/std-qstd.html
* | Source: Fix a few typosVitaly Stakhovsky2023-01-173-5/+5
|/
* Merge topic 'FindMatlab-macos-rosetta'Brad King2023-01-131-32/+17
|\ | | | | | | | | | | | | | | 1bc9b0f256 FindMatlab: accommodate Matlab running under Rosetta 8dcd14bb87 FindMatlab: simplify mexext find logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8063
| * FindMatlab: accommodate Matlab running under Rosettascivision2023-01-121-13/+14
| | | | | | | | fixes #24312
| * 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
| | |/ / | |/| |