summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'find_library-per-arch-lib-with-sysroot'Brad King2024-06-241-1/+1
|\ | | | | | | | | | | | | e74fba3d9c find_library: Search per-arch lib directories when compiling with sysroot Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9614
| * find_library: Search per-arch lib directories when compiling with sysrootHarmen Stoppels2024-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | When using Gentoo Prefix on Debian, find_library for libm.so fails, because it needs to locate the lib in $sysroot/usr/lib64/libm.so, i.e. lib64/ not lib/. To fix this, do not disable per-arch lib directories when a sysroot is set. Fixes: #26069
* | Merge topic 'apple-framework-bundle-name'Brad King2024-06-241-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8a06f173d9 Apple: Add CFBundleName to framework Info.plist files 7c1a18655b Tests/RunCMake/Framework: Improve failure messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !9610
| * | Apple: Add CFBundleName to framework Info.plist filesBrad King2024-06-201-0/+2
| | | | | | | | | | | | Fixes: #26046
* | | Merge topic 'link-feature-attributes-stabilization'Brad King2024-06-2414-24/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 576567f028 Link feature attributes: stabilization 5617c34c31 Libraries processing: update configuration wording Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9607
| * | | Link feature attributes: stabilizationMarc Chevrier2024-06-2112-19/+19
| | | | | | | | | | | | | | | | | | | | * enhance OVERRIDE handling * Update wording
| * | | Libraries processing: update configuration wordingMarc Chevrier2024-06-215-5/+5
| | | |
* | | | Merge topic 'masm-static-lib'Brad King2024-06-212-0/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | faadb86474 ASM_MASM: Add support for masm-only static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9612
| * | | ASM_MASM: Add support for masm-only static librariesJeremy Koritzinsky2024-06-202-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Set correct command to create a static library for Microsoft assembly dialects. Fixes: #18889
* | | | Merge topic 'cpackrpm_owner_execute'Brad King2024-06-181-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | f73ad97220 CPack/RPM: Fix debuginfo permissions check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9603
| * | | CPack/RPM: Fix debuginfo permissions checkAdrian DC2024-06-171-1/+1
| | |/ | |/| | | | | | | | | | | | | Replace non-existent 'USER_EXECUTE' with intended 'OWNER_EXECUTE'. Signed-off-by: Adrian DC <radian.dc@gmail.com>
| * | Merge topic 'clang-ansi-color' into release-3.30Brad King2024-06-111-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9592
* | | | visibility: add support for Oracle Developer Studio 12.6Carlo Marcelo Arenas Belón2024-06-122-0/+8
| |_|/ |/| | | | | | | | | | | | | | | | | | | | While an `-fvisibility` flag was added in the previous version, it throws warnings indicating it would be ignored unless given to the linker and fails to work properly. Tested on Solaris 11.3 SPARC and Solaris 11.4 x86/SPARC.
* | | Merge topic 'clang-ansi-color'Brad King2024-06-111-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9592
| * | Clang: Drop non-existent -fno-ansi-escape-codes flagBrad King2024-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 74b5fae52d (Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows, 2023-10-19, v3.28.0-rc3~3^2) we added the positive option `-fansi-escape-codes` and the negative form of the option, `-fno-ansi-escape-codes`. According to the LLVM/Clang documentation: * https://releases.llvm.org/18.1.4/tools/clang/docs/UsersManual.html#cmdoption-fansi-escape-codes only the positive form of the option exists. Fixes: #26036
* | | Merge topic 'fc-cmp0168-fresh'Brad King2024-06-102-6/+17
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 9299cbbdb4 FetchContent: Force cmake --fresh to re-execute direct population steps e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal f97b25ec4b Tests: Fix -direct variants of FetchContent tests using wrong files 11b684c449 FetchContent: Fix typos in stamp/step file names a02eec4a9f FetchContent,ExternalProject: Fix extra semicolons in step commands Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9589
| * | FetchContent: Force cmake --fresh to re-execute direct population stepsCraig Scott2024-06-071-3/+14
| | | | | | | | | | | | Issue: #25468
| * | FetchContent: Fix typos in stamp/step file namesCraig Scott2024-06-071-2/+2
| | | | | | | | | | | | | | | The exact file names don't technically matter, but the wrong names are confusing and misleading.
| * | FetchContent,ExternalProject: Fix extra semicolons in step commandsCraig Scott2024-06-071-1/+1
| | | | | | | | | | | | | | | The extra semicolons weren't ultimately causing any errors when running the step commands, but they shouldn't be there.
| * | Merge topic 'doc-add_subdirectory-EXCLUDE_FROM_ALL' into release-3.30Brad King2024-06-061-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2449c04d8d Help: improve docs for the EXCLUDE_FROM_ALL directory property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9497
* | \ \ Merge topic 'doc-add_subdirectory-EXCLUDE_FROM_ALL'Brad King2024-06-061-2/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 2449c04d8d Help: improve docs for the EXCLUDE_FROM_ALL directory property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9497
| * | | Help: improve docs for the EXCLUDE_FROM_ALL directory propertyAlex Neundorf2024-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This patch improves the wording of the documentation of the EXCLUDE_FROM_ALL directory property, and makes the add_subdirectory()- and fetchcontent-documentation refer to it.
* | | | Merge topic 'post-rel-dev'Brad King2024-06-061-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 115425e68c Configure CMake itself with policies through CMake 3.29 ed376e470e export: Increase maximum policy version in exported files to 3.29 4394464501 Add deprecation warnings for policies CMP0129 and below 2eb4382d6b Tests: Modernize RunCMake.CMP0129 test conventions and conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9585
| * | | export: Increase maximum policy version in exported files to 3.29Brad King2024-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The files generated by `install(EXPORT)`, `export()`, and `install_jar_exports()` commands are known to work with policies as of CMake 3.29, so enable them in sufficiently new CMake versions.
* | | | CPack/WiX: Restore default (missing) InstallScope from 3.28 and lowerBrad King2024-06-051-3/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 60661f6770 (CPack/WiX: Make InstallScope configurable, 2023-11-07, v3.29.0-rc1~413^2) the `CPACK_WIX_INSTALL_SCOPE` default was set to `perMachine`. While installers created with `perMachine` have better behavior on their own than installers created without any `InstallScope`, they do not cleanly convert existing installations on updates. Fixes: #26029
* | | Merge topic 'FindPython-free-threaded-python'Brad King2024-06-053-97/+166
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a0dee7257 FindPython: Add support for free threaded python 4178ab928f FindPython: Fix spelling error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9578
| * | | FindPython: Add support for free threaded pythonMarc Chevrier2024-06-043-97/+166
| | | | | | | | | | | | | | | | Fixes: #26016
* | | | Merge topic 'macos-check-archs'Brad King2024-06-051-0/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db409e5e68 APPLE: Check if compilers respect CMAKE_OSX_ARCHITECTURES 598bc70474 file: Add undocumented READ_MACHO subcommand on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9492
| * | | | APPLE: Check if compilers respect CMAKE_OSX_ARCHITECTURESRené Bertin2024-06-041-0/+35
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all compilers that can be used on APPLE platforms will respect the architecture(s) set in CMAKE_OSX_ARCHITECTURES and some will not raise an error if they are unable to do this. For instance, GCC will accept ignore additional architectures specified after the first -arch XXX (with a non-fatal warning) and will even link the simple test applications used in the ABI determination (and other tests that don't require external libraries) if an architecture is requested for which it doesn't have the required "multilib" set-up. Prevent unexpected build results or build failures that may occur after a lengthy build process: verify that the binary used to obtain the ABI information contains the requested architectures. Fixes: #25952
* | | | Merge topic 'cpack-nuget-dependency-groups'Brad King2024-06-041-14/+108
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 0f4d3664a9 CPack/NuGet: Build dependencies in groups Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9544
| * | | CPack/NuGet: Build dependencies in groupsAlex Opie2024-06-031-14/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows particular frameworks to be targeted by particular dependencies, and for empty dependency groups to satisfy NuGet's framework-matching requirements.
* | | | Merge topic 'checklanguage-modulepath'Brad King2024-06-031-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 980c1ce3c8 CheckLanguage: Pass along CMAKE_MODULE_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9565
| * | | | CheckLanguage: Pass along CMAKE_MODULE_PATHDarryl Pogue2024-05-301-0/+1
| |/ / / | | | | | | | | | | | | Closes #26020.
* | | | Merge topic 'ep-disable-source-changes'Brad King2024-06-032-2/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0cc1b550dd ExternalProject,FetchContent: Avoid CMAKE_DISABLE_SOURCE_CHANGES error Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9569
| * | | | ExternalProject,FetchContent: Avoid CMAKE_DISABLE_SOURCE_CHANGES errorCraig Scott2024-05-312-2/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The file(MAKE_DIRECTORY) implementation checks whether a path is allowed to be written to before it checks if it already exists. For the scenario where a SOURCE_DIR is an existing directory within the main project's source directory, this triggers a fatal error if CMAKE_DISABLE_SOURCE_CHANGES is set to true for ExternalProject, and some FetchContent scenarios. Therefore, add an explicit check for existence first to avoid making such error-triggering calls. Fixes: #21872
* | | | Merge topic 'doc-cpack-reuse-CMakeFindBinUtils'Craig Scott2024-06-011-9/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dca468e1de Help: Improve and clarify wording for CPACK_<TOOL>_EXECUTABLE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9566
| * | | | Help: Improve and clarify wording for CPACK_<TOOL>_EXECUTABLECraig Scott2024-05-311-9/+12
| |/ / / | | | | | | | | | | | | Fixes: #24253
* | | | Merge topic 'cpack-deb-shlibdeps'Brad King2024-05-311-7/+94
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27d161eac3 CPackDeb: dpkg-shlibdeps shall consider dependency components, too Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9531
| * | | | CPackDeb: dpkg-shlibdeps shall consider dependency components, tooDeniz Bahadir2024-05-301-7/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using `dpkg-shlibdeps` to automatically determine package dependencies it considers the RUNPATH/RPATH of executables in order to find all required shared libraries of such executables. If the RUNPATH/RPATH contains a verbatim `$ORIGIN` (respective `${ORIGIN}`), it will now be substituted by the packaging-paths of other components that are marked as dependency and those paths will then be used as additional search directories for `dpkg-shlibdeps`. Associated tests were added as well. Fixes: #21838
* | | | | Merge topic 'FindMPI-FujitsuClang'Brad King2024-05-311-0/+3
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 7332f28f68 FindMPI: Add support for FujitsuClang wrappers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9561
| * | | | FindMPI: Add support for FujitsuClang wrappersdomke2024-05-301-0/+3
| | | | | | | | | | | | | | | | | | | | Prefer these when the project is built with FujitsuClang.
* | | | | Merge topic 'enforce-fc-fully-disconnected-requirements'Brad King2024-05-301-5/+51
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | f588421b58 FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9556
| * | | | FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirementsCraig Scott2024-05-291-5/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FETCHCONTENT_FULLY_DISCONNECTED should only be set to true if each dependency's source directory has already been populated. Previously, this wasn't being checked, but now it is (subject to a new policy).
* | | | | Merge topic 'CUDAToolkit_search_non_activated_compiler_paths'Brad King2024-05-301-6/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eed16fbc00 FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9558
| * | | | | FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabledRobert Maynard2024-05-291-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25567
* | | | | | Merge topic 'FindBLAS-LAPACK-libblastrampoline'Brad King2024-05-302-0/+38
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 847a25c823 FindBLAS/LAPACK: Add libblastrampoline support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mosè Giordano <mose@gnu.org> Merge-request: !9557
| * | | | | FindBLAS/LAPACK: Add libblastrampoline supportIan McInerney2024-05-292-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libblastrampoline is a BLAS/LAPACK demuxing layer to allow selecting a BLAS/LAPACK library at runtime. Fixes: #25913
* | | | | | Merge topic 'deprecate-fetchcontent_populate'Brad King2024-05-291-175/+182
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | | | | | | | | | | | | | | | | | 4370fcf750 FetchContent: Deprecate FetchContent_Populate(depName) bc70b458ad Help: Minor grammar improvements for FetchContent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9552
| * | | | FetchContent: Deprecate FetchContent_Populate(depName)Craig Scott2024-05-291-137/+141
| | | | | | | | | | | | | | | | | | | | | | | | | Projects should use FetchContent_MakeAvailable(depName) instead. Policy CMP0169 provides backward compatibility.
| * | | | Help: Minor grammar improvements for FetchContentCraig Scott2024-05-261-38/+41
| | | | |