summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'modules-modern-foreach'Brad King2023-11-209-14/+14
|\ | | | | | | | | | | | | | | ec2ad53d18 Modules: refactor compiler find to use modern foreach Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8986
| * Modules: refactor compiler find to use modern foreachMichael Hirsch2023-11-199-14/+14
| |
* | Merge topic 'ci-fedora-39'Brad King2023-11-2028-29/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cdd741ebf9 Merge branch 'backport-ci-fedora-39' into ci-fedora-39 9283b20659 ci: Suppress CPack/RPM tests pending fix for Fedora 39 18145e8745 ci: Update FindMPI test environment for mpich on Fedora 39 a8be80ccf2 ci: Drop now-unnecessary Clang rules for CXXModules tests 99238b23e9 ci: use Fedora 39 images and environments 57eadec617 ci: update Linux image to Fedora 39 653262162c clang-tidy module: Update to build against LLVM/Clang 17 2cf9a65835 clang-tidy: ignore warnings new in version 17 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8983
| * \ Merge branch 'backport-ci-fedora-39' into ci-fedora-39Brad King2023-11-1728-29/+29
| |\ \ | | |/ | |/|
| | * codespell: Fix typosBrad King2023-11-1728-29/+29
| | |
| | * Merge topic 'FindOpenMP-5.1-and-5.2' into release-3.28Brad King2023-11-141-0/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2859be7575 FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Markus Mützel <markus.muetzel@gmx.de> Merge-request: !8965
* | | \ Merge topic 'cpack-wix-installscope'Brad King2023-11-192-0/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60661f6770 CPack/WiX: Make InstallScope configurable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8954
| * | | | CPack/WiX: Make InstallScope configurableMax Gaukler2023-11-162-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new `CPACK_WIX_INSTALL_SCOPE` variable to set the `InstallScope` when using the default WiX template. Set the default to the bug-free value `perMachine`. Fixes: #20962
* | | | | Merge topic 'swift-compilation-mode'Brad King2023-11-191-17/+29
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f80101b73 Tests: Update Swift tests to use CMP0157 NEW behavior c1d787e473 Swift: Add abstraction for compilation mode c39384f540 Tests: Simplify RunCMake.Swift conditions to enable use of Swift Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8918
| * | | | Swift: Add abstraction for compilation modeEvan Wilde2023-11-171-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `CMAKE_Swift_COMPILATION_MODE` variable and corresponding `Swift_COMPILATION_MODE` target property to control the compilation mode. Select among `wholemodule`, `singlefile`, and `incremental`. Add policy CMP0157 to remove the default `-wmo` flags in favor of the abstract setting. Issue: #25366
* | | | | Merge topic 'UseSWIG-csharp-dllimport'Brad King2023-11-171-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 342b1b8a69 UseSWIG: ensure generated CSharp source code is portable. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8973
| * | | | | UseSWIG: ensure generated CSharp source code is portable.Marc Chevrier2023-11-141-1/+1
| |/ / / / | | | | | | | | | | | | | | | Fixes: #25405
* | | | | Merge topic 'FetchContent-find_package-args'Brad King2023-11-171-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42dbdf8914 FetchContent: Fix syntax to forward FIND_PACKAGE_ARGS arguments correctly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8967
| * | | | | FetchContent: Fix syntax to forward FIND_PACKAGE_ARGS arguments correctlyAdam Šulc2023-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Previously we incorrectly mixed list operations with string operations.
* | | | | | Merge topic 'install-export-xcframework'Brad King2023-11-162-0/+128
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37bc3400cd CMakePackageConfigHelpers: Add generate_apple_platform_selection_file() 256bb0cc40 install(EXPORT): Add ability to point to .xcframework file a90968e044 cmExportBuildFileGenerator: Add structs for target exports Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8969
| * | | | | | CMakePackageConfigHelpers: Add generate_apple_platform_selection_file()Kyle Edwards2023-11-152-0/+128
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Issue: #25262
* | | | | | Merge topic 'doc-find_package-advice'Brad King2023-11-151-0/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d007d304ff Help: FetchContent FIND_PACKAGE_ARGS REQUIRED usually inappropriate 6341267780 Help: Note ways CMAKE_..._FIND_PACKAGE_... vars can break projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8951
| * | | | | Help: FetchContent FIND_PACKAGE_ARGS REQUIRED usually inappropriateCraig Scott2023-11-071-0/+6
| | | | | |
* | | | | | Merge topic 'export-find_dependency-calls'Brad King2023-11-141-0/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ad8fc5a63 FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAME c6e6861e63 install(EXPORT): Export find_dependency() calls 2837f592ab cmExportFileGenerator: Add function to set required CMake version e62a3b8625 Help/export: Add signature directives Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8957
| * | | | | | FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAMEKyle Edwards2023-11-131-0/+23
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'FindBLAS-LAPACK-OpenBLAS-mingw'Brad King2023-11-142-2/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ce94ae0b7 Find{BLAS,LAPACK}: Fix OpenBLAS ILP64 support with MSYS2 packages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8968
| * | | | | | Find{BLAS,LAPACK}: Fix OpenBLAS ILP64 support with MSYS2 packagesMartin Köhler2023-11-132-2/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Typically, ILP64 BLAS libraries are suffixed with `64`, but the MSYS2 package provides the ILP64 version of OpenBLAS with a `_64` suffix.
* | | | | | Merge topic 'FindOpenMP-5.1-and-5.2'Brad King2023-11-141-0/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 2859be7575 FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Markus Mützel <markus.muetzel@gmx.de> Merge-request: !8965
| * | | | FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2Christoph Reiter2023-11-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | llvm 17 now defaults to openmp 5.1; see LLVM commit `0c6f2f629cc0`. It makes FindOpenMP set OPENMP_FOUND and OpenMP_C_SPEC_DATE, but not OpenMP_C_VERSION, because it doesn't know the version mapping. Add the spec date to the version mapping for 5.1 and 5.2 to make things work again.
* | | | | Merge topic 'link-deduplicate-libs'Brad King2023-11-135-0/+9
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b99c42e57 Link step: Enable to configure deduplication of libraries 07501c1678 Link Step: Introduce EntriesProcessing class Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8946
| * | | | Link step: Enable to configure deduplication of librariesMarc Chevrier2023-11-095-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some platforms, Apple or Windows for instance, do not require to duplicate static libraries to resolve mutual dependencies. Moreover, Xcode version 15 emits a warning if a library is duplicated. On Windows, enable a better control of libraries order. Fixes: #20722, #25297
* | | | | Merge topic 'find_cudatoolkit_cufile_name'Brad King2023-11-091-4/+4
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | b38a8e77cb FindCUDAToolkit: Search for cufile library name being lowercase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8955
| * | | FindCUDAToolkit: Search for cufile library name being lowercaseRobert Maynard2023-11-081-4/+4
| | | | | | | | | | | | | | | | Fixes #25398
* | | | CUDA: Support CMAKE_TRY_COMPILE_TARGET_TYPE of STATIC_LIBRARYRobert Maynard2023-11-071-0/+1
| | | |
* | | | Merge topic 'CMakeDetermineFortranCompiler-typo'Brad King2023-11-071-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | e82a8ab197 CMakeDetermineFortranCompiler: Fix typo in comment (CC -> FC) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8945
| * | | CMakeDetermineFortranCompiler: Fix typo in comment (CC -> FC)Sylwester Arabas2023-11-061-1/+1
| | | |
* | | | Merge topic 'FetchContent-GHS'Craig Scott2023-11-052-0/+17
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 6a81104413 FetchContent: Pass GHS Variables to subbuild Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8930
| * | | FetchContent: Pass GHS Variables to subbuildWilliam Sciaroni2023-11-042-0/+17
| | | | | | | | | | | | | | | | Fixes: #24244
* | | | CMakeFindPackageMode: Link to cmake --find-package documentation權少2023-11-031-4/+3
| | | |
* | | | Merge topic 'cuda-vs'Brad King2023-11-023-22/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0feefceb3 Merge branch 'backport-cuda-vs' into cuda-vs 79f3f29e50 CUDA: Parse NVCC implicit compile/link information in Visual Studio generators 27e64a8498 CMakeNVCCParseImplicitInfo: Recognize link.exe line in CUDA VS integration 677992d85a CMakeParseImplicitLinkInfo: Log exclusion of MSVC link /implib: flag 045399a461 CMakeParseImplicitLinkInfo: Ignore MSVC link /implib: flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8938
| * \ \ \ Merge branch 'backport-cuda-vs' into cuda-vsBrad King2023-11-012-20/+4
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | CUDA: Parse NVCC implicit compile/link information in Visual Studio generatorsBrad King2023-11-011-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit deff0e638d (CUDA: Factor out helper to parse NVCC implicit compiler and linker flags, 2023-09-15, v3.28.0-rc1~63^2~6) incorrectly dropped detection of the default CUDA architecture and the CUDA toolkit include directories from the code path used for Visual Studio generators. However, CMakeNVCCParseImplicitInfo is now general enough that we no longer need a VS-specific code path. Fixes: #25378
| | * | | CMakeNVCCParseImplicitInfo: Recognize link.exe line in CUDA VS integrationBrad King2023-11-011-0/+3
| | | | |
| | * | | CMakeParseImplicitLinkInfo: Ignore MSVC link /implib: flagBrad King2023-11-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The flag specifies the import library for the linked binary. It is not a linked library.
| | * | | Merge topic 'revert-GetPrerequisites-linux-x86' into release-3.28Brad King2023-11-011-1/+1
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 139df0bc2f GetPrerequisites: Revert "Ignore relative paths printed by ldd" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8933
| | * | | Merge topic 'FindFreeType-config-windows' into release-3.28Brad King2023-10-311-2/+32
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0117446c97 FindFreeType: also set `FREETYPE_FOUND` 2cf2d4f7df FindFreeType: insert Freetype's location to the start 1cfc708eea FindFreeType: handle config-specific `LOCATION` settings as well ae9890cd36 FindFreeType: consider `IMPLIB`-using platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8920
| * | | | | CMakeParseImplicitLinkInfo: Log exclusion of MSVC link /implib: flagBrad King2023-11-011-2/+3
| | | | | |
* | | | | | Merge topic 'Genex-LINK_LIBRARY-updates'Brad King2023-11-021-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b8ceaef85 Genex LINK_LIBRARY: fix some definitions for Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8936
| * | | | | | Genex LINK_LIBRARY: fix some definitions for Apple platformsMarc Chevrier2023-11-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some declarations were inconsistent. For example, "LINKER:-force_load <LIBRARY>" was translated to "-Xlinker -force_load /path/to/library". The correct translation should be "-Xlinker -force_load -Xlinker /path/to/library" because the library is an argument to the -force_load option.
* | | | | | | Merge topic 'findwxwidgets-lexilla'Brad King2023-11-021-27/+55
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90b77e3783 FindwxWidgets: link with lexilla f8831a0c9e FindwxWidgets: Convert include and library paths to cmake-style d76242ed9f FindwxWidgets: Prevent searching libraries multiple times 55072adf16 FindwxWidgets: Improve linking with scintilla c5e3d12213 FindwxWidgets: Move wx-config specific checks inside UNIX find-style 625023cace FindwxWidgets: Include hotfix number 35d90784e9 FindwxWidgets: use IN_LIST Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8927
| * | | | | | FindwxWidgets: link with lexillaMaarten Bent2023-11-011-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In wxWidgets 3.3 (development version) the Scintilla library has been split into two components: Scintilla and Lexilla.
| * | | | | | FindwxWidgets: Convert include and library paths to cmake-styleMaarten Bent2023-11-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes DBG_MSG errors when a path uses \ instead of /.
| * | | | | | FindwxWidgets: Prevent searching libraries multiple timesMaarten Bent2023-11-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user has specified common libraries, remove the duplicates.
| * | | | | | FindwxWidgets: Improve linking with scintillaMaarten Bent2023-11-011-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat scintilla like any other common lib. Only add it when the stc component is specified. Add imm32 to the list of required libraries when stc is used. Fixes: #23519
| * | | | | | FindwxWidgets: Move wx-config specific checks inside UNIX find-styleMaarten Bent2023-11-011-20/+20
| | | | | | |