summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge topic 'LLVMFlang-Fortran-flags' into release-3.27Brad King2023-08-191-0/+4
| |\ | | | | | | | | | | | | | | | | | | 1140087ade LLVMFlang-Fortran: Add flags for build types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8741
* | \ Merge topic 'doc'Brad King2023-08-221-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d2c30ac063 Help:CheckCXXSymbolExists: refer to CheckSourceCompiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8746
| * | | Help:CheckCXXSymbolExists: refer to CheckSourceCompilesscivision2023-08-211-1/+1
| | | | | | | | | | | | | | | | This was just missed in the earlier MR.
* | | | Merge topic 'ep-svn-trust-cert-non-interactive'Craig Scott2023-08-211-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1509658a0 ExternalProject: Ensure svn --trust-server-cert has dependent options Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8745
| * | | | ExternalProject: Ensure svn --trust-server-cert has dependent optionsCraig Scott2023-08-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the --trust-server-cert option is given to svn without the --non-interactive option, the command fails with an error. Previously, --non-interactive was always added, but b1c2cb0436a (ExternalProject: Make SVN interactive with USES_TERMINAL_{DOWNLOAD,UPDATE}, 2022-05-06) changed the behavior to only add it if the relevant USES_TERMINAL_... option was set to true. Fixes: #25197
* | | | | Merge topic 'imported-cxxmodules'Brad King2023-08-212-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48ee946fdc cmExperimental: recycle the C++ modules API UUID 1a1806a71b gitlab-ci: declare `bmionly` support for modules where possible 457a12f3f9 Tests/RunCMake/CXXModules: add tests which use modules from imported targets 9b9ec70b54 Ninja: generate scanning and build rules for C++20 module synthetic targets 80ef50a191 CXXModules: add a variable for BMI-only compilation 80d6544398 cxxmodules: generate synthetic targets as an initial pass 3dc6676ecc cmSyntheticTargetCache: add a struct for synthetic target caching cb356b540c cmCxxModuleUsageEffects: add a class to capture module usage effects ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8535
| * | | | CXXModules: add a variable for BMI-only compilationBen Boeckel2023-08-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This will be required when dealing with imported targets which contain modules.
* | | | | Merge topic 'LLVMFlang-Fortran-flags'Brad King2023-08-191-0/+4
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 1140087ade LLVMFlang-Fortran: Add flags for build types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8741
| * | | | LLVMFlang-Fortran: Add flags for build typesTarun Prabhu2023-08-191-0/+4
| | | | | | | | | | | | | | | | | | | | Fixes: #25193
* | | | | Merge topic 'vs-props-order'Brad King2023-08-192-4/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | e4fe26201f VS: Remove duplicate import in compiler id vcxproj Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8740
| * | | | VS: Remove duplicate import in compiler id vcxprojBrad King2023-08-182-4/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Since commit d3c4c6d630 (VS: Import default C++ props file before toolset-specific props file, 2023-03-01, v3.27.0-rc1~361^2) we import `Microsoft.Cpp.Default.props` twice. Remove the extra import line, and re-order imports as intended by the original change.
| * | | Merge topic 'clang_c23' into release-3.27Brad King2023-08-161-1/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65288eb92a Clang: use -std=c23 for Clang 18+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8716
| * \ \ \ Merge topic 'FindPython-3.13' into release-3.27Brad King2023-08-163-3/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
| * \ \ \ \ Merge topic 'TAPI-is-Apple-only' into release-3.27Brad King2023-08-151-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
* | \ \ \ \ \ Merge topic 'msvc-llvm-mt'Brad King2023-08-171-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c0f701990 MSVC: Run manifest tool with llvm-mt compatible arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8706
| * | | | | | MSVC: Run manifest tool with llvm-mt compatible argumentsur4t2023-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default use of `llvm-mt` was disabled by commit 73d0d4e4b5 (BinUtils: Avoid llvm-mt because it is missing 'mt' features we use, 2022-03-08, v3.23.0-rc3~7^2). However, it can still be specified explicitly by the user. Due to limitations of LLVM's command line option parser, llvm-mt does not support arbitrary manifest files following a single switch. Issue: #23305
* | | | | | | Merge topic 'ExternalProject-build-jobserver'Brad King2023-08-161-0/+40
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc43398e72 ExternalProject: Enable Make Job Server with Explicit Build Command 99be022428 Tests/RunCMake/Make: simplify GNUMakeJobSeverAware check function Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8667
| * | | | | | | ExternalProject: Enable Make Job Server with Explicit Build CommandChris Mahoney2023-08-151-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces `BUILD_JOB_SERVER_AWARE` option to `ExternalProject_Add` and `JOB_SERVER_AWARE` to `ExternalProject_Add_Step`. When using an explicit `BUILD_COMMAND` or `COMMAND`, the generated commands won't use `$(MAKE)` thus failing to connect to the outer make's job server. These new options enable explicit job server integration. Co-authored-by: Brad King <brad.king@kitware.com> Fixes: #16273
* | | | | | | | Merge topic 'clang_c23'Brad King2023-08-161-1/+4
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65288eb92a Clang: use -std=c23 for Clang 18+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8716
| * | | | | | | Clang: use -std=c23 for Clang 18+Raul Tambre2023-08-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Canonical flag changed in LLVM commit 13629b140801870feff855ca168edf6b34dbef8d.
* | | | | | | | Merge topic 'FindPython-3.13'Brad King2023-08-163-3/+3
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
| * | | | | | FindPython: add support for Python 3.13Vasily Ryabov2023-08-153-3/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Python 3.13.0a0 can be built from main branch of python/cpython though there were no official releases yet.
* | | | | | Merge topic 'TAPI-is-Apple-only'Brad King2023-08-151-1/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
| * | | | | Apple Text Stubs (.tbd): various fixesMarc Chevrier2023-08-111-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ensure tapi lookup is applied only for concerned toolchains * fix typos in tests Fixes: #25182
* | | | | Merge topic 'FindJNI-no-xcode'Brad King2023-08-151-5/+9
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | 597139b853 FindJNI: Restore support for macOS without Xcode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8707
| * | | FindJNI: Restore support for macOS without XcodeBrad King2023-08-111-5/+9
| |/ / | | | | | | | | | | | | | | | | | | Fix logic added by commit efa0e2ddaf (FindJNI: Update for Xcode greater than 12.1 on macOS, 2023-08-06, v3.27.2~5^2) to tolerate missing `xcodebuild`. Fixes: #25181
* | | Merge topic 'nvcc-std-flags'Brad King2023-08-112-62/+71
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2c6fe64876 NVIDIA-CUDA: Factor out helper for NVCC C++ standard flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8705
| * | | NVIDIA-CUDA: Factor out helper for NVCC C++ standard flagsBrad King2023-08-102-62/+71
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | These standard flags will be the same for other C++-derived languages supported by nvcc. Follow the pattern from commit 25439c7d62 (Clang: Refactor CXX standard flags ..., 2020-03-16, v3.18.0-rc1~362^2~4) to factor them into a single macro so we can easily reuse them. Issue: #25143
* | | HIP: Limit compiler id candidates to those supporting HIPBrad King2023-08-101-0/+4
|/ / | | | | | | | | | | Currently we only support using Clang for HIP. Issue: #25143
* | Merge topic 'FindPython-MINGW-support'Brad King2023-08-081-11/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | d6b9af5f91 FindPython: enhance MinGW support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8687
| * | FindPython: enhance MinGW supportMarc Chevrier2023-08-051-11/+54
| | | | | | | | | | | | Ensure python-config script can be used.
* | | Merge topic 'FindJNI-xcode-12.2'Brad King2023-08-081-0/+17
|\ \ \ | | |/ | |/| | | | | | | | | | | | | efa0e2ddaf FindJNI: Update for Xcode greater than 12.1 on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8690
| * | FindJNI: Update for Xcode greater than 12.1 on macOSChristian Oyarzun2023-08-071-0/+17
| | | | | | | | | | | | | | | | | | `JavaVM.framework` was removed from Xcode in version 12.2+. Fixes: #23364
* | | Merge topic 'cxxmodules-try-compile'Brad King2023-08-071-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be53c75852 cmExperimental: recycle the C++ modules API UUID deb1c3cbd5 cmCoreTryCompile: forward module-related binutils variables b768d293c5 cmCoreTryCompile: use the source type context for source files 93993c7ad4 cmArgumentParser: support storing a context value with parsing c9ca5f6326 cmCoreTryCompile: parse `SOURCES_TYPE` argument 07551f35de cmCoreTryCompile: use `target_sources` for `try_compile` targets aad9033b56 cmExperimental: support forwarding associated variables to `try_compile` f6cf433256 cmExperimental: only forward C++ module support to non-ABI checks ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8639
| * | | Modules/Internal/FeatureTesting: mark feature testing as a special testBen Boeckel2023-07-311-0/+1
| | | |
* | | | FindwxWidgets: Fix returning optional componentsRick Budé2023-08-021-1/+2
| |_|/ |/| | | | | | | | Fixes: #25150
* | | Merge topic 'doc_ep'Brad King2023-08-011-862/+893
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c949a8742e ExternalProject: Add option subsection anchors for accessibility from TOC 6828b9df5a Help/dev: Extend documentation guide with another section nesting level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8657
| * | | ExternalProject: Add option subsection anchors for accessibility from TOCscivision2023-07-311-862/+893
| |/ / | | | | | | | | | | | | | | | | | | | | | Use RST subsections for each major step of `ExternalProject_Add()`. This makes finding options easier with less scrolling. For example, finding important Download vs. Test options etc. Fixes: #25129
* | | Merge topic 'FindPython-Debian-workaround'Brad King2023-08-011-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | b02f3872d0 FindPython: Restore Python_SITE* values for versions below 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8672
| * | FindPython: Restore Python_SITE* values for versions below 3.10Marc Chevrier2023-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | Debian based distributions have a buggy sysconfig package. So, rely on distutils.sysconfig if python version is less than 3.10. Fixes: #25135
| * | Merge topic 'FindOpenSSL-trust-root-dir' into release-3.27Brad King2023-07-211-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 791d4fd350 FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-empty Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8643
| * \ \ Merge topic 'FindCUDAToolkit-libnvrtc-builtins' into release-3.27Brad King2023-07-211-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2601d01d1 FindCUDAToolkit: Fix nvrtc_builtins library name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8642
* | | | | CheckLanguage: Document that CMAKE_CUDA_HOST_COMPILER should not be set aloneBrad King2023-07-311-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit 7968d9d442 (Help: Document CMAKE_CUDA_HOST_COMPILER as specific to NVIDIA nvcc, 2020-07-14, v3.19.0-rc1~501^2) with an explicit note in `CheckLanguage`. Issue: #25093
* | | | | CheckLanguage: Modernize documentation formattingBrad King2023-07-311-14/+25
| |_|_|/ |/| | |
* | | | Merge topic 'findcuda_mark_stub_libraries_as_no_rpath'Brad King2023-07-261-8/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0744c02e24 FindCUDAToolkit: targets pointing to stubs now use IMPORTED_IMPLIB Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8649
| * | | | FindCUDAToolkit: targets pointing to stubs now use IMPORTED_IMPLIBRobert Maynard2023-07-241-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | This ensures that we don't add rpath entries to the stubs directory which would cause runtime loading of the wrong libraries.
* | | | | UsePkgConfig: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-5/+5
| | | | |
* | | | | FindwxWindows: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-6/+7
| | | | |
* | | | | FindQt: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-3/+3
| | | | |
* | | | | FindFLTK2: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-2/+2
| | | | |