Brad King
2d1efd32cc
Merge branch 'release-3.28'
2024-06-03 14:19:10 -04:00
Brad King
9f72ac3644
CMake 3.28.6
2024-06-03 13:35:26 -04:00
Brad King
d1cf2a2206
Merge topic 'file-accept-empty-lists'
...
7c516f7e28 file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty lists
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9570
2024-06-03 09:08:52 -04:00
Craig Scott
833b880906
Merge topic 'doc-presets-cwd'
...
15950197b0 Help: Presets read by --preset must be in the source directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9568
2024-06-03 08:26:07 -04:00
Craig Scott
15950197b0
Help: Presets read by --preset must be in the source directory
...
Issue: #21911
2024-06-02 15:03:15 +10:00
Craig Scott
422ab50a8e
Merge topic 'doc-find_package-typical-usage'
...
4b55d56259 Help: Start find_package() docs with a new "Typical Usage" section
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9567
2024-06-01 18:25:18 -04:00
Brad King
e0a11dfa24
Merge topic 'dep-provider-try_compile'
...
4cb5bb014d try_compile: Propagating top level includes into whole-project calls
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !9532
2024-05-31 09:20:27 -04:00
Craig Scott
7c516f7e28
file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty lists
...
Projects may be generating a list of files or directories to pass as arguments
to file(TOUCH), file(TOUCH_NOCREATE), or file(MAKE_DIRECTORY). Those
lists might end up being empty, so rather than requiring at least one item,
allow an empty list.
Fixes : #24897
2024-05-31 22:55:20 +10:00
Craig Scott
4b55d56259
Help: Start find_package() docs with a new "Typical Usage" section
...
Fixes : #22680
2024-05-31 16:05:23 +10:00
Brad King
679a3d9e6c
Merge topic 'enforce-fc-fully-disconnected-requirements'
...
f588421b58 FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9556
2024-05-30 10:13:29 -04:00
Brad King
c024b5cf9a
Merge topic 'CUDAToolkit_search_non_activated_compiler_paths'
...
eed16fbc00 FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabled
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9558
2024-05-30 10:12:39 -04:00
Brad King
6f365e1c5b
Merge topic 'FindBLAS-LAPACK-libblastrampoline'
...
847a25c823 FindBLAS/LAPACK: Add libblastrampoline support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Mosè Giordano <mose@gnu.org >
Merge-request: !9557
2024-05-30 10:11:47 -04:00
Brad King
c02dd58080
Merge topic 'msvc-v143-versions'
...
3873574f89 Help: Update MSVC_VERSION range for VS 17.10's MSVC 14.40 toolset
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9554
2024-05-30 10:00:54 -04:00
Craig Scott
4cb5bb014d
try_compile: Propagating top level includes into whole-project calls
...
Fixes : #24151
2024-05-30 19:01:03 +10:00
Robert Maynard
eed16fbc00
FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabled
...
Fixes : #25567
2024-05-29 14:39:29 -04:00
Brad King
3873574f89
Help: Update MSVC_VERSION range for VS 17.10's MSVC 14.40 toolset
...
According to this blog post:
* https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/
the 14.40 through 14.49 version range will be used by the v143 toolsets.
Fixes : #26015
2024-05-29 11:48:08 -04:00
Ian McInerney
847a25c823
FindBLAS/LAPACK: Add libblastrampoline support
...
libblastrampoline is a BLAS/LAPACK demuxing layer to allow selecting a
BLAS/LAPACK library at runtime.
Fixes : #25913
2024-05-29 09:21:07 -04:00
Brad King
54c9185b33
Merge topic 'deprecate-fetchcontent_populate'
...
4370fcf750 FetchContent: Deprecate FetchContent_Populate(depName)
bc70b458ad Help: Minor grammar improvements for FetchContent
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9552
2024-05-29 08:41:57 -04:00
Brad King
a5269e0693
Merge topic 'hip-std'
...
c299fd8266 Tests/CompileFeatures: Cover hip_std_## meta-features
5d93c421f1 HIP: Populate CMAKE_HIP_KNOWN_FEATURES global property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9555
2024-05-29 08:35:26 -04:00
Brad King
bcfcb964ce
Merge topic 'doc-swift-module-dir-caveat'
...
61e76200d7 Help: Discourage use of Swift_MODULE_DIRECTORY with multi-config generators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9547
2024-05-29 08:32:08 -04:00
Craig Scott
f588421b58
FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements
...
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).
2024-05-29 20:39:17 +10:00
Craig Scott
4370fcf750
FetchContent: Deprecate FetchContent_Populate(depName)
...
Projects should use FetchContent_MakeAvailable(depName)
instead. Policy CMP0169 provides backward compatibility.
2024-05-29 18:52:24 +10:00
Brad King
5d93c421f1
HIP: Populate CMAKE_HIP_KNOWN_FEATURES global property
...
Fixes : #26013
2024-05-28 14:36:42 -04:00
Dave Abrahams
61e76200d7
Help: Discourage use of Swift_MODULE_DIRECTORY with multi-config generators
...
It does not yet support per-config module directories.
Issue: #25989
Issue: #26010
2024-05-28 11:24:33 -04:00
Brad King
7b38a1dee7
Merge topic 'genex-compiler-frontend-variant'
...
af81b8667e GenEx: Add generator expr. for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT
8a11a39c51 Help: Use correct programming language names in docs of generator expr.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9538
2024-05-24 10:31:52 -04:00
Brad King
1d519cf796
Merge topic 'ninja-parallel'
...
0e5250e63c Ninja: Add option for parallel install
daeb8fffa2 Help: Add Builtin Targets section to Ninja help
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9505
2024-05-24 10:29:57 -04:00
Martin Duffy
0e5250e63c
Ninja: Add option for parallel install
...
Adds the global property ``INSTALL_PARALLEL`` to enable a parallel install
target for Ninja.
Fixes : #25459
2024-05-23 09:54:19 -04:00
Martin Duffy
daeb8fffa2
Help: Add Builtin Targets section to Ninja help
2024-05-22 16:07:35 -04:00
Deniz Bahadir
af81b8667e
GenEx: Add generator expr. for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT
2024-05-22 16:43:33 +02:00
Deniz Bahadir
8a11a39c51
Help: Use correct programming language names in docs of generator expr.
2024-05-22 16:43:33 +02:00
Brad King
c16acd35b3
GenEx: Add support for custom transitive link properties
...
Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a
new `TRANSITIVE_LINK_PROPERTIES` property in the target's link
closure to enable transitive evaluation of named properties through
the link closure, including entries guarded by `$<LINK_ONLY:...>`.
Fixes : #20416
2024-05-21 09:22:52 -04:00
Brad King
b9ee79b8a1
GenEx: Add support for custom transitive compile properties
...
Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a
new `TRANSITIVE_COMPILE_PROPERTIES` property in the target's link
closure to enable transitive evaluation of named properties through
the link closure, excluding entries guarded by `$<LINK_ONLY:...>`.
Issue: #20416
2024-05-21 09:22:51 -04:00
Brad King
af59289904
Help: Format TARGET_PROPERTY special evaluation rules as a definition list
2024-05-21 09:22:51 -04:00
Brad King
645ca62b1b
Merge topic 'doc-macro'
...
67171a99be Help: Fix inaccurate use of "function" in macro docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Juan Ramos <juan.ramos@kitware.com >
Merge-request: !9534
2024-05-21 09:17:17 -04:00
Dave Abrahams
67171a99be
Help: Fix inaccurate use of "function" in macro docs
2024-05-21 09:13:57 -04:00
Brad King
ba5a1be70a
Merge topic 'typo-fix-issue'
...
ea544235e5 Tutorial: Fix grammar typo in Step 11
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9529
2024-05-20 19:05:35 -04:00
Brad King
f9b85f331e
Merge topic 'cmp0097-fetchcontent'
...
eda17e76e2 Help: Document that CMP0097 is always NEW for FetchContent
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9527
2024-05-20 19:04:42 -04:00
Craig Scott
2d653179dc
Merge topic 'fetchcontent-direct'
...
7bf15e49a8 ExternalProject: Fix misleading git update output
b2496bf14c FetchContent: Populate directly without a sub-build
173daad58d ExternalProject: Move more internal commands out of main file
462e583267 ExternalProject: Switch download, update and patch to use _EP_ vars
0ccc8e340d ExternalProject: Provide ExternalProject_Add keywords through a macro
91e1015722 ExternalProject: Don't treat YES as a keyword
a1743ce1ef ExternalProject: Fix minor formatting error
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9513
2024-05-18 05:05:03 -04:00
FrankYin
ea544235e5
Tutorial: Fix grammar typo in Step 11
...
Fix and improve wording in the "Adding Export Configuration" step.
2024-05-17 11:25:39 -04:00
Craig Scott
eda17e76e2
Help: Document that CMP0097 is always NEW for FetchContent
...
Fixes : #25971
2024-05-17 14:49:53 +10:00
Craig Scott
b2496bf14c
FetchContent: Populate directly without a sub-build
...
Fixes : #21703
2024-05-17 14:23:39 +10:00
Brad King
3f28a819ce
Merge topic 'LINK_LIBRARY-Feature-properties'
...
6e5e7968c3 GenEx $<LINK_LIBRARY>: Add the support of properties attached to features
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9510
2024-05-16 11:27:18 -04:00
Brad King
d37467e036
Merge topic 'custom-command-output-hash-character'
...
8d2a503c1e add_custom_command: Allow OUTPUT filenames containing a hash '#' character
b38000d774 cmGlobalXCodeGenerator: Re-implement legacy makefile path escaping
d929089687 cmGlobalXCodeGenerator: Do not use legacy makefile escaping in shell commands
d61fc2c52e cmGlobalXCodeGenerator: Migrate legacy makefile path escaping to local helper
6010e007c7 cmState: Add method to check for the Borland Makefiles generator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9514
2024-05-16 11:24:56 -04:00
Glenn Coombs
8d2a503c1e
add_custom_command: Allow OUTPUT filenames containing a hash '#' character
...
Most generators now support this character after escaping and quoting
cleanups over time. Disallow it only on generators that do support it.
Fixes : #25604
2024-05-15 13:27:46 -04:00
Ben Boeckel
a46395df06
importstd: clarify when the experimental UUID must be available
...
Fixes : #25980
2024-05-15 07:15:05 -04:00
Marc Chevrier
6e5e7968c3
GenEx $<LINK_LIBRARY>: Add the support of properties attached to features
...
Fixes : #24504 , #25954
2024-05-15 10:02:36 +02:00
Brad King
5d658ebcc6
Merge topic 'FindPython-WIN32-DEBUG'
...
c164404b2e FindPython: On Windows, Enhance python debug version support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Osyotr <zhenchik35026@gmail.com >
Merge-request: !9482
2024-05-14 10:52:49 -04:00
Brad King
8aa598a0b7
Merge topic 'help-options'
...
fc2bce54c7 Help: try_compile how to pass compiler options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9512
2024-05-14 10:25:33 -04:00
Brad King
b56c083a54
Merge topic 'print-configure-generate-time'
...
29404cfd92 cmake: Capture more complete configure/generate steps in printed durations
f106df8f96 cmGlobalVisualStudio8Generator: Remove unused Configure method override
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !9508
2024-05-13 09:38:03 -04:00
Brad King
05d03c67fb
Merge topic 'doc-TARGET_PROPERTY-unset'
...
d6bda72981 Help: Document TARGET_PROPERTY genex behavior on unset property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9506
2024-05-13 09:32:30 -04:00