Brad King
e6cd118f02
Merge topic 'package-dispatch-apple'
...
4ac5a2f866 CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
b9f81ee9f9 CMakePackageConfigHelpers: Remove outdated documentation summary paragraph
68a03cf3d4 generate_apple_platform_selection_file: Add INSTALL_PREFIX option
ff21f0f70f Tests: Verify generate_apple_platform_selection_file file paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9092
2023-12-20 09:12:49 -05:00
Ralf Habacker
ca5a300d7f
add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
...
Add policy CMP0158 to provide compatibility for existing projects.
Fixes : #23672
2023-12-19 10:00:55 -05:00
Brad King
4ac5a2f866
CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
...
Add a helper to select architecture-specific implementations of a
package on an Apple-specific platform.
Fixes : #25516
2023-12-19 08:56:30 -05:00
Brad King
6ba3bb0563
Merge topic 'cmake-test-launcher'
...
88863d83d6 fileapi: Add test launcher to codemodel-v2
1ec0372ed4 add_test: Optionally use a launcher for tests running in-project targets
478a5f4e04 fileapi: Make launcher attribute 'arguments' optional
b44e38a397 cmFileAPICodemodel: Add missing std::move()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8963
2023-12-15 09:34:20 -05:00
Brad King
6eafd7a37c
Merge branch 'release-3.28'
2023-12-14 11:20:14 -05:00
Brad King
1eed682d7c
CMake 3.28.1
2023-12-14 10:47:27 -05:00
Ralf Habacker
1ec0372ed4
add_test: Optionally use a launcher for tests running in-project targets
...
Add a `CMAKE_TEST_LAUNCHER` variable and corresponding `TEST_LAUNCHER`
target property.
Issue: #23672
2023-12-13 10:20:43 -05:00
Ben Boeckel
a29ca55b1f
create_test_sourcelist: use the full path to the driver
...
When using `FILE_SET` syntax, full paths to out-of-source files are
needed as they are not searched for.
2023-12-11 12:15:28 -05:00
Daniel Ching
f20c5c6f20
MSVC: Teach find_library to consider Rust's '${name}.dll.lib' convention
...
This convention is used by Rust toolchains (rustc/cargo/cargo-c) for the
MSVC ABI.
Fixes : #25478
2023-12-07 19:19:00 -06:00
Brad King
ef89ad6c55
Merge topic 'ctest-jobserver-client'
...
80fe56c481 ctest: Add support for running under a make job server on POSIX systems
5396f4a9a3 cmUVJobServerClient: Add libuv-based job server integration client
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9021
2023-12-04 09:47:25 -05:00
Brad King
9cb1471ff6
Merge topic 'fileapi-exe-launcher'
...
80a64c9ce5 fileapi: Add cross-compiling emulator to codemodel-v2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8964
2023-12-04 09:43:05 -05:00
Brad King
80fe56c481
ctest: Add support for running under a make job server on POSIX systems
...
Share job slots with the job server by acquiring a token before running
each test, and releasing the token when the test finishes.
2023-12-03 08:30:07 -05:00
Ralf Habacker
80a64c9ce5
fileapi: Add cross-compiling emulator to codemodel-v2
...
Fixes : #25408
2023-12-01 10:57:15 -05:00
Jonathan Earnshaw
2b4bb43ed3
Xcode: Add support to embed XPC Services
2023-11-30 10:09:34 +13:00
Brad King
72cbcbd709
Merge branch 'release-3.27'
2023-11-28 10:42:02 -05:00
Brad King
01deb58098
Merge branch 'release-3.27' into release-3.28
2023-11-28 10:38:54 -05:00
Brad King
c4f7eb3f0b
CMake 3.27.9
2023-11-28 09:52:37 -05:00
Brad King
c40e242be3
Merge topic 'cpack-auto-suffixes'
...
53991e62da CPack/RPM: Append .rpm to CPACK_RPM_FILE_NAME if missing
f2a6d423da CPack/DEB: Append .deb to CPACK_DEBIAN_FILE_NAME if missing
907d4db558 Help: Format allowed CPACK_{DEB,RPM}_FILE_NAME values as definition list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8880
2023-11-28 09:45:53 -05:00
Brad King
7a1fd8b0d2
Merge branch 'release-3.26'
2023-11-27 14:31:18 -05:00
Brad King
0ff8c20932
Merge branch 'release-3.27' into release-3.28
2023-11-27 14:30:53 -05:00
Brad King
a4cfa9f017
Merge branch 'release-3.26' into release-3.27
2023-11-27 14:30:37 -05:00
Brad King
ceb742a8fb
CMake 3.26.6
2023-11-27 13:48:12 -05:00
Alex Neundorf
53991e62da
CPack/RPM: Append .rpm to CPACK_RPM_FILE_NAME if missing
...
Previously we issued an error when the `.rpm` suffix is missing.
Instead, append the suffix automatically. This matches the behavior of
`CPACK_ARCHIVE_FILE_NAME`, to which the archive format suffix is
automatically appended. With this change, developers can simply do
set(CPACK_RPM_comp_FILE_NAME "${CPACK_ARCHIVE_comp_FILE_NAME}")
2023-11-27 10:26:37 -05:00
Alex Neundorf
f2a6d423da
CPack/DEB: Append .deb to CPACK_DEBIAN_FILE_NAME if missing
...
Previously we issued an error when the `.deb` or `.ipk` suffix
is missing. Instead, append the suffix `.deb` automatically.
This matches the behavior of `CPACK_ARCHIVE_FILE_NAME`, to
which the archive format suffix is automatically appended.
2023-11-27 10:25:43 -05:00
Brad King
43d218d970
VS: Add support for using Intel oneAPI Fortran compiler in .vfproj files
...
Add a `fortran={ifort,ifx}` field to `CMAKE_GENERATOR_TOOLSET` to
specify which Intel Fortran compiler to use.
Fixes : #25427
2023-11-22 10:22:12 -05:00
Brad King
4c1a6f2e23
Merge topic 'ci-fedora-39'
...
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
2023-11-20 08:10:37 -05:00
Brad King
4d14116dbc
Merge topic 'ci-fedora-39' into release-3.28
...
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
2744f14db1 codespell: Fix typos
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8983
2023-11-20 08:10:36 -05:00
Brad King
3401d0b3bb
Merge topic 'doc-typo'
...
328a1b5b73 Help: Fix spelling of CMAKE_EXTRA_INCLUDE_FILES in 3.6 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8985
2023-11-19 11:57:42 -05:00
Brad King
aea838cf41
Merge topic 'cpack-wix-installscope'
...
60661f6770 CPack/WiX: Make InstallScope configurable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8954
2023-11-19 11:55:30 -05:00
Peter Kokot
328a1b5b73
Help: Fix spelling of CMAKE_EXTRA_INCLUDE_FILES in 3.6 release notes
2023-11-19 11:33:08 -05:00
Brad King
cdd741ebf9
Merge branch 'backport-ci-fedora-39' into ci-fedora-39
2023-11-17 11:35:41 -05:00
Brad King
2744f14db1
codespell: Fix typos
2023-11-17 09:58:21 -05:00
Brad King
f2776ac063
codespell: Revise release note about short-lived field to avoid misspelling
2023-11-17 09:58:21 -05:00
Max Gaukler
60661f6770
CPack/WiX: Make InstallScope configurable
...
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
2023-11-16 14:15:38 -05:00
Brad King
2c923a7e28
Merge topic 'install-export-xcframework'
...
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
2023-11-16 09:13:16 -05:00
Brad King
5bc9c2d6ac
Merge branch 'release-3.27'
2023-11-15 09:44:17 -05:00
Brad King
cd74246331
Merge branch 'release-3.27' into release-3.28
2023-11-15 09:43:56 -05:00
Kyle Edwards
37bc3400cd
CMakePackageConfigHelpers: Add generate_apple_platform_selection_file()
...
Issue: #25262
2023-11-15 09:10:58 -05:00
Kyle Edwards
256bb0cc40
install(EXPORT): Add ability to point to .xcframework file
...
Issue: #25262
2023-11-15 09:10:58 -05:00
Brad King
9cfff766eb
CMake 3.27.8
2023-11-15 08:55:18 -05:00
Kyle Edwards
0ad8fc5a63
FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAME
2023-11-13 11:07:53 -05:00
Kyle Edwards
c6e6861e63
install(EXPORT): Export find_dependency() calls
...
Issue: #20511
Co-Authored-by: Brad King <brad.king@kitware.com >
Co-Authored-by: Robert Maynard <rmaynard@nvidia.com >
2023-11-13 11:07:52 -05:00
Brad King
5e79703f93
Merge topic 'make-test-depend-on-all'
...
5e0c1777a3 Optionally make `test` target depend on `all`
eaa00d4dfa Tests: Add case to verify that 'make test' does not 'make all'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !8956
2023-11-13 09:53:04 -05:00
William Sciaroni
5e0c1777a3
Optionally make test target depend on all
...
Fixes : #8774
2023-11-10 13:19:11 -05:00
Marc Chevrier
7b99c42e57
Link step: Enable to configure deduplication of libraries
...
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
2023-11-09 19:20:40 +01:00
Kyle Edwards
ab72846794
cmake -E cat: Add ability to print standard input
2023-11-03 09:03:25 -04:00
Marc Chevrier
337bc5662c
if(): add operators IS_READABLE, IS_WRITABLE and IS_EXECUTABLE.
...
Offers possibility to check for file or directory permissions.
2023-11-01 14:53:31 +01:00
Brad King
f55043f87e
Merge topic 'unity-build-objc'
...
e218db1a90 Unity: Enable UNITY_BUILD for OBJC and OBJCXX files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8906
2023-10-27 09:06:44 -04:00
Rob Raguet-Schofield
e218db1a90
Unity: Enable UNITY_BUILD for OBJC and OBJCXX files
2023-10-26 10:01:41 -04:00
Marc Chevrier
c26c6ac488
Link Step: compute effective linker used by the compiler
...
Extract the effective linker during the computation of implicit artifacts
delivered by the compiler to the linker.
Define various variables describing the linker:
* CMAKE_<LANG>_COMPILER_LINKER
* CMAKE_<LANG>_COMPILER_LINKER_VERSION
* CMAKE_<LANG>_COMPILER_LINKER_ID
* CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT
This is complementary to feature introduced by commit 96a953b1ed
(Add options to specify linker tool, 2023-09-27).
Fixes : #17596 , #18209 , #25344
2023-10-24 08:34:50 -04:00