summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge topic 'doc-linker-vars' into release-3.29Brad King2024-03-278-73/+83
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Help: Restructure and improve LINKER_TYPE docsCraig Scott2024-03-253-43/+46
| | | | | |
| * | | | | Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flagsCraig Scott2024-03-251-2/+4
| | | | | |
| * | | | | Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE>Craig Scott2024-03-251-0/+8
| | | | | |
| * | | | | Help: Grammar, typos and wording improvements for linker variablesCraig Scott2024-03-255-27/+24
| | | | | |
| * | | | | Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keywordCraig Scott2024-03-221-1/+1
| | | | | |
* | | | | | Merge topic 'FindPkgConfig-no-Strawberry-Perl' into release-3.29Brad King2024-03-271-1/+16
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | FindPkgConfig: Avoid finding Strawberry Perl's pkg-configBrad King2024-03-261-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge branch 'release-3.28' into release-3.29Brad King2024-03-260-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge topic 'libuv-macos-10.5' into release-3.28Brad King2024-03-261-3/+7
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9371
* | | | | | Merge topic 'libuv-macos-10.5' into release-3.29Brad King2024-03-261-3/+7
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9371
| * | | | | libuv: Avoid posix_spawn on macOS < 10.8Brad King2024-03-251-3/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge topic 'IntelLLVM-Fortran-no-isystem' into release-3.29Brad King2024-03-251-6/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | IntelLLVM: Revert accidental use of -external:I with Fortran compilersBrad King2024-03-241-6/+6
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge topic 'linker-vars-propagate-try_compile' into release-3.29Brad King2024-03-245-1/+41
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | try_compile(): Include languages with _ or - when passing linker varsCraig Scott2024-03-225-1/+41
| | |/ / | |/| | | | | | | | | | Fixes: #25809
* | | | Merge topic 'matlab-2024a' into release-3.29Brad King2024-03-221-0/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | bade9832e6 FindMatlab: R2024a version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9360
| * | | FindMatlab: R2024a version mapscivision2024-03-211-0/+1
|/ / /
* | | CMake 3.29.0v3.29.0Brad King2024-03-211-1/+1
| |/ |/|
* | Merge branch 'release-3.28' into release-3.29Brad King2024-03-201-3/+4
|\ \ | |/
| * CMake 3.28.4v3.28.4Brad King2024-03-202-4/+5
| |
* | Merge branch 'release-3.28' into release-3.29Brad King2024-03-200-0/+0
|\ \ | |/
| * Merge topic 'ninja-fortran-include' into release-3.28Brad King2024-03-206-17/+42
| |\ | | | | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9351
* | \ Merge topic 'ninja-fortran-include' into release-3.29Brad King2024-03-206-17/+41
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 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
| * | Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sourcesBrad King2024-03-196-17/+42
| |/ | | | | | | | | | | | | If a preprocessed source also uses the Fortran `INCLUDE` directive, search the original source file's directory. Fixes: #25792
* | Merge topic 'package-dispatch-apple' into release-3.29Brad King2024-03-2017-32/+174
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | generate_apple_*_selection_file: Add option to capture errorsBrad King2024-03-1914-10/+137
| | | | | | | | | | | | | | | | | | | | | Add an option to capture error messages in a variable instead of terminating with a fatal error. Fixes: #25778
| * | generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) supportBrad King2024-03-195-1/+10
| | | | | | | | | | | | | | | | | | Also add a test case. Fixes: #25780
| * | generate_apple_architecture_selection_file: Simplify signatureBrad King2024-03-192-18/+15
| | | | | | | | | | | | | | | | | | | | | Allow callers to pass multiple values to list-valued arguments instead of putting the entire list in a single quoted argument. Fixes: #25779
| * | Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument orderBrad King2024-03-191-1/+4
| | | | | | | | | | | | | | | Call `generate_apple_architecture_selection_file` with matching order in `SINGLE_ARCHITECTURES` and `SINGLE_ARCHITECTURE_INCLUDE_FILES`.
| * | Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10Brad King2024-03-191-4/+10
| | | | | | | | | | | | Use every architecture each version of Xcode has in `$(ARCHS_STANDARD)`.
* | | Merge topic 'doc-release-3.29-typos' into release-3.29Brad King2024-03-195-7/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Help: Fix typos in 3.29 docsCraig Scott2024-03-192-4/+4
| | | |
| * | | Help: Fix typos and grammar in pre-3.29 docsCraig Scott2024-03-193-3/+3
| | | |
* | | | Merge topic 'doc-exit-code-range' into release-3.29Brad King2024-03-191-2/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | c980745b82 Help: Specify advisable range for exit code in cmake_language(EXIT) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9352
| * | | Help: Specify advisable range for exit code in cmake_language(EXIT)Craig Scott2024-03-191-2/+7
|/ / / | | | | | | | | | | | | The limitations added here are documented in the bash shell's reference manual.
* | | Merge topic 'doc-project-include-vars-3.29' into release-3.29Brad King2024-03-185-10/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 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
| * | Help: Update project() code injection for new 3.29 include behaviorCraig Scott2024-03-161-6/+6
| | | | | | | | | | | | | | | | | | 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.
| * | Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29Craig Scott2024-03-164-4/+8
|/ /
* | CMake 3.29.0-rc4v3.29.0-rc4Brad King2024-03-141-1/+1
| |
* | Merge topic 'Apple-TBD-in-subdirecory' into release-3.29Brad King2024-03-143-3/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | 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
| * | Apple Text Based Stubs: should be usage in subdirectoriesMarc Chevrier2024-03-143-3/+17
| | | | | | | | | | | | Fixes: #25765
* | | Merge branch 'release-3.28' into release-3.29Brad King2024-03-140-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'autogen-makefile-depfile' into release-3.28Brad King2024-03-147-33/+38
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | \ \ Merge topic 'autogen-makefile-depfile' into release-3.29Brad King2024-03-147-33/+38
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 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
| * | | cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logicBrad King2024-03-141-24/+10
| | | | | | | | | | | | | | | | | | | | | | | | We place the same target ordering dependencies on either the `_autogen_timestamp_deps` target or the `_autogen` target. Refactor the logic to avoid duplicating that code.
| * | | Autogen: Restore target-ordering dependencies in Makefiles with DEPFILEBrad King2024-03-147-16/+35
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit aebfbcaa46 (AutoGen: Use depfiles for the XXX_autogen ninja targets, 2020-01-14, v3.17.0-rc1~58^2) the `_autogen_timestamp_deps` target was given target ordering dependencies through its custom command rather than direct target dependencies as on the `_autogen` target. Then commit 895fa3433f (cmQtAutoGenInitializer: support IMPLIB-only imported targets, 2021-09-23, v3.22.0-rc1~80^2) converted some target-level dependencies into file-level dependencies on the custom command. This only works with a monolithic build graph like Ninja. Since commit ebc9e448b3 (Autogen: Add depfile support for Makefiles, 2023-09-07, v3.28.0-rc1~101^2~1) we use the `_autogen_timestamp_deps` target in Makefile generators too. This exposed the missing target ordering dependency. Fixes: #25766
* | | Merge topic 'LINKER_TYPE-mold-support' into release-3.29Brad King2024-03-1412-14/+57
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
| * | | LINKER_TYPE: Support MOLD only on GCC versions that support itMarc Chevrier2024-03-1311-14/+51
| | | | | | | | | | | | | | | | Fixes: #25748
| * | | LINKER_TYPE: fix spelling error in messageMarc Chevrier2024-03-122-2/+2
| | | |