Brad King
af330faaf1
libuv: darwin: group kqueue-specific definitions together
2024-04-01 09:55:49 -04:00
Brad King
0db6402687
libuv: process: de-duplicate conditions for using kqueue
...
Its platform-specific headers provide a dedicated indicator.
Backport libuv PR 4378.
2024-04-01 09:55:03 -04:00
Brad King
079dfe194b
Merge topic 'move-install-note' into release-3.29
...
8cbd6f5754 Help: Fix location of install() note about superseded commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9382
2024-03-29 09:15:09 -04:00
FeRD (Frank Dana)
8cbd6f5754
Help: Fix location of install() note about superseded commands
...
The note regarding commands superseded by install() somehow wound
up nested under the install(EXPORT) signature, when it has nothing
to do with install(EXPORT). Move it to the top level, immediately
before the Examples section.
2024-03-28 16:59:00 -04:00
Brad King
c5c524394e
Merge topic 'ExternalProject-list-separator-docs-example' into release-3.29
...
5d33f41e23 ExternalProject: reword `LIST_SEPARATOR` to indicate what it *does*
611ffce98c ExternalProject: add an example of `LIST_SEPARATOR` usage
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9376
2024-03-28 11:51:02 -04:00
Ben Boeckel
5d33f41e23
ExternalProject: reword LIST_SEPARATOR to indicate what it *does*
...
Also remove the (IMO) confusing suggestion to have ` ` as a separator as
it interferes with things like spaces in argument values (e.g., paths)
or generated arguments such as `-GUnix Makefiles`. The new example is
likely more common usage of the facility.
2024-03-28 10:36:31 -04:00
Ben Boeckel
611ffce98c
ExternalProject: add an example of LIST_SEPARATOR usage
2024-03-28 10:36:31 -04:00
Brad King
9dc7d28f70
Merge topic 'doc-linker-vars' into release-3.29
...
6ba2bbc0f3 Help: Restructure and improve LINKER_TYPE docs
c39bc6e412 Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flags
1c7ccefd83 Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE>
aecea7b28b Help: Grammar, typos and wording improvements for linker variables
5b21897c6e Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keyword
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9362
2024-03-27 08:18:09 -04:00
Brad King
d0272bea04
Merge topic 'FindPkgConfig-no-Strawberry-Perl' into release-3.29
...
d0dd134bdb FindPkgConfig: Avoid finding Strawberry Perl's pkg-config
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9375
2024-03-27 08:17:05 -04:00
Brad King
d26526a36f
Merge branch 'release-3.28' into release-3.29
2024-03-26 09:07:16 -04:00
Brad King
8b832b353c
Merge topic 'libuv-macos-10.5' into release-3.29
...
e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9371
2024-03-26 09:06:20 -04:00
Brad King
8fd4110d55
Merge topic 'libuv-macos-10.5' into release-3.28
...
e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9371
2024-03-26 09:05:32 -04:00
Brad King
d0dd134bdb
FindPkgConfig: Avoid finding Strawberry Perl's pkg-config
...
Strawberry Perl may be in the `PATH` to provide `perl`, but it also
comes with a `pkg-config` tool that is unrelated to normal MinGW
distributions. Since commit c6efbd78d8 (MSVC: Teach find_library to
consider the 'libfoo.a' naming convention, 2024-01-19, v3.29.0-rc1~91^2)
we need to avoid searching Strawberry Perl's `.../c/lib` directory, so
do not let its `pkg-config` point us there.
Fixes : #25820
Issue: #23975
2024-03-26 08:51:32 -04:00
Craig Scott
6ba2bbc0f3
Help: Restructure and improve LINKER_TYPE docs
2024-03-26 08:03:14 +11:00
Craig Scott
c39bc6e412
Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flags
2024-03-26 08:03:14 +11:00
Craig Scott
1c7ccefd83
Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE>
2024-03-26 08:03:14 +11:00
Craig Scott
aecea7b28b
Help: Grammar, typos and wording improvements for linker variables
2024-03-26 08:03:14 +11:00
Brad King
e3e2ef1964
libuv: Avoid posix_spawn on macOS < 10.8
...
Since libuv commit `83efa3dd71` (Reland "macos: use posix_spawn instead
of fork", 2022-03-02, v1.44.0~10), `uv_spawn` on macOS < 10.8
has been observed to cause kernel panics and/or resource exhaustion.
This became particularly noticeable in CMake since commit 5420639a8d
(cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChain,
2023-06-01, v3.28.0-rc1~138^2~8). Prefer `fork` over `posix_spawn` in
libuv when targeting macOS < 10.8.
Fixes : #25414
Fixes : #25818
Inspired-by: Ken Cunningham <kencu@macports.org >
2024-03-25 12:11:57 -04:00
Brad King
245fa4760c
Merge topic 'IntelLLVM-Fortran-no-isystem' into release-3.29
...
a80d8e839d IntelLLVM: Revert accidental use of -external:I with Fortran compilers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !9368
2024-03-25 10:51:15 -04:00
Brad King
a80d8e839d
IntelLLVM: Revert accidental use of -external:I with Fortran compilers
...
In commit 8218aed118 (IntelLLVM: support marking include paths as SYSTEM
directories, 2023-08-15, v3.29.0-rc1~81^2) this flag was added for the C
and C++ compilers, but was accidentally added for Fortran too. Remove
it for the latter, as it is unsupported.
Issue: #25807
2024-03-24 15:03:11 -04:00
Brad King
78e89edab4
Merge topic 'linker-vars-propagate-try_compile' into release-3.29
...
98cc86e265 try_compile(): Include languages with _ or - when passing linker vars
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9361
2024-03-24 14:33:30 -04:00
Brad King
0ebe55ae41
Merge topic 'matlab-2024a' into release-3.29
...
bade9832e6 FindMatlab: R2024a version map
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9360
2024-03-22 09:01:53 -04:00
Craig Scott
98cc86e265
try_compile(): Include languages with _ or - when passing linker vars
...
Fixes : #25809
2024-03-22 21:35:51 +11:00
Craig Scott
5b21897c6e
Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keyword
2024-03-22 20:58:32 +11:00
scivision
bade9832e6
FindMatlab: R2024a version map
2024-03-21 10:13:59 -04:00
Brad King
25d2850c19
CMake 3.29.0
v3.29.0
2024-03-21 09:32:22 -04:00
Brad King
7e52f9d4e0
Merge branch 'release-3.28' into release-3.29
2024-03-20 10:35:33 -04:00
Brad King
b5602e7254
CMake 3.28.4
v3.28.4
2024-03-20 10:03:43 -04:00
Brad King
780c1ab0ec
Merge branch 'release-3.28' into release-3.29
2024-03-20 09:56:40 -04:00
Brad King
0287208bbf
Merge topic 'ninja-fortran-include' into release-3.29
...
36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9351
2024-03-20 09:55:47 -04:00
Brad King
5969b4f457
Merge topic 'ninja-fortran-include' into release-3.28
...
36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9351
2024-03-20 09:54:50 -04:00
Brad King
3135a99467
Merge topic 'package-dispatch-apple' into release-3.29
...
85d6d3b2e3 generate_apple_*_selection_file: Add option to capture errors
2149dbd379 generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support
be642f6ed5 generate_apple_architecture_selection_file: Simplify signature
8959ad9db1 Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument order
677f3d721b Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9349
2024-03-20 09:51:43 -04:00
Brad King
b877fb49ce
Merge topic 'doc-release-3.29-typos' into release-3.29
...
eceb368ccc Help: Fix typos in 3.29 docs
31fb693d06 Help: Fix typos and grammar in pre-3.29 docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9353
2024-03-19 10:10:15 -04:00
Brad King
88d2dd0735
Merge topic 'doc-exit-code-range' into release-3.29
...
c980745b82 Help: Specify advisable range for exit code in cmake_language(EXIT)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9352
2024-03-19 10:09:19 -04:00
Brad King
85d6d3b2e3
generate_apple_*_selection_file: Add option to capture errors
...
Add an option to capture error messages in a variable instead of
terminating with a fatal error.
Fixes : #25778
2024-03-19 09:52:32 -04:00
Brad King
2149dbd379
generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support
...
Also add a test case.
Fixes : #25780
2024-03-19 09:52:32 -04:00
Brad King
be642f6ed5
generate_apple_architecture_selection_file: Simplify signature
...
Allow callers to pass multiple values to list-valued arguments
instead of putting the entire list in a single quoted argument.
Fixes : #25779
2024-03-19 09:52:32 -04:00
Brad King
8959ad9db1
Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument order
...
Call `generate_apple_architecture_selection_file` with matching order in
`SINGLE_ARCHITECTURES` and `SINGLE_ARCHITECTURE_INCLUDE_FILES`.
2024-03-19 09:51:21 -04:00
Brad King
677f3d721b
Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10
...
Use every architecture each version of Xcode has in `$(ARCHS_STANDARD)`.
2024-03-19 09:46:57 -04:00
Brad King
36dc8d6d50
Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources
...
If a preprocessed source also uses the Fortran `INCLUDE` directive,
search the original source file's directory.
Fixes : #25792
2024-03-19 07:56:13 -04:00
Craig Scott
c980745b82
Help: Specify advisable range for exit code in cmake_language(EXIT)
...
The limitations added here are documented in the bash shell's
reference manual.
2024-03-19 22:37:52 +11:00
Craig Scott
eceb368ccc
Help: Fix typos in 3.29 docs
2024-03-19 21:47:28 +11:00
Craig Scott
31fb693d06
Help: Fix typos and grammar in pre-3.29 docs
2024-03-19 21:47:21 +11:00
Brad King
8a40da1b71
Merge topic 'doc-project-include-vars-3.29' into release-3.29
...
dcb894fb00 Help: Update project() code injection for new 3.29 include behavior
09cf39ab07 Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9343
2024-03-18 13:59:52 -04:00
Craig Scott
dcb894fb00
Help: Update project() code injection for new 3.29 include behavior
...
Specifically, the various CMAKE_PROJECT_...INCLUDE... variables can
now take a list of things, and those things can be module names
too, not just file names.
2024-03-16 17:43:25 +11:00
Craig Scott
09cf39ab07
Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29
2024-03-16 17:42:10 +11:00
Brad King
788c204788
CMake 3.29.0-rc4
v3.29.0-rc4
2024-03-14 13:33:17 -04:00
Brad King
e497fbfca3
Merge topic 'Apple-TBD-in-subdirecory' into release-3.29
...
bcc26ce465 Apple Text Based Stubs: should be usage in subdirectories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9341
2024-03-14 13:31:10 -04:00
Brad King
3e90c88733
Merge branch 'release-3.28' into release-3.29
2024-03-14 11:47:48 -04:00
Brad King
742af6cff7
Merge topic 'autogen-makefile-depfile' into release-3.29
...
d2d1763f88 cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic
6193d15556 Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9340
2024-03-14 11:46:53 -04:00