summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'enable_language-before-project'Brad King2024-04-0315-8/+101
|\ | | | | | | | | | | | | | | 97464aa970 enable_language(): Fail if called before project() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9396
| * enable_language(): Fail if called before project()Craig Scott2024-04-0215-8/+101
| | | | | | | | Fixes: #25550
* | Merge branch 'release-3.29'Brad King2024-04-030-0/+0
|\ \
| * \ Merge topic 'dragonfly_support' into release-3.29Brad King2024-04-031-1/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 4c70e72cae cmSystemTools: Fix compilation on DragonFly BSD Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9400
* | \ \ Merge topic 'dragonfly_support'Brad King2024-04-031-1/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 4c70e72cae cmSystemTools: Fix compilation on DragonFly BSD Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9400
| * | | cmSystemTools: Fix compilation on DragonFly BSDCharlotte Koch2024-04-021-1/+2
| | | | | | | | | | | | | | | | Define `_XOPEN_SOURCE >= 700` to make `gettimeofday()` et al. available.
* | | | Merge branch 'release-3.29'Brad King2024-04-030-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'artos-lib-prefix' into release-3.29Brad King2024-04-031-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6b63b5cb2 ARTOS: Add support for finding library files named with 'lib' prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Bert Ezendam <bert.ezendam@alliander.com> Merge-request: !9399
* | \ \ \ Merge topic 'artos-lib-prefix'Brad King2024-04-031-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e6b63b5cb2 ARTOS: Add support for finding library files named with 'lib' prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Bert Ezendam <bert.ezendam@alliander.com> Merge-request: !9399
| * | | | ARTOS: Add support for finding library files named with 'lib' prefixBrad King2024-04-021-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the platform module added by commit 462fbd1eca (Add support for ARTOS platform using GNU C with ac compiler driver, 2015-08-13, v3.4.0-rc1~201^2) to tell `find_library` to consider library file names starting in `lib`. FindEXPAT needs this on ARTOS since commit 13079f382b (FindEXPAT: Fix for debug and other modified builds, 2023-02-18, v3.27.0-rc1~463^2) removed its explicit `libexpat` library name candidate. Fixes: #25776
* | | | Merge branch 'release-3.29'Brad King2024-04-030-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'vs-intel-oneapi' into release-3.29Brad King2024-04-032-45/+34
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f5cd0389f IntelLLVM: Fix link flags with Visual Studio generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9398
* | \ \ \ Merge topic 'vs-intel-oneapi'Brad King2024-04-032-45/+34
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 3f5cd0389f IntelLLVM: Fix link flags with Visual Studio generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9398
| * | | | IntelLLVM: Fix link flags with Visual Studio generatorsBrad King2024-04-022-45/+34
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The link flag wrapping added by commit 5d5a712303 (IntelLLVM: Pass linker flags to the compiler when used as linker, 2022-05-27, v3.25.0-rc1~344^2~4) is not needed with Visual Studio generators because MSBuild invokes the linker directly. Furthermore, that commit omitted wrapping of the per-config linker flags. Revise the logic to add the link flag wrapping more precisely. Fixes: #25533
* | | | Merge branch 'release-3.29'Brad King2024-04-030-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'swift-linker-selection' into release-3.29Brad King2024-04-0311-22/+93
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 3fb4092826 Swift: Add CMAKE_LINKER_TYPE support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9380
* | | | Merge topic 'swift-linker-selection'Brad King2024-04-0311-22/+93
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 3fb4092826 Swift: Add CMAKE_LINKER_TYPE support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9380
| * | | Swift: Add CMAKE_LINKER_TYPE supportEvan Wilde2024-04-0211-22/+93
| |/ / | | | | | | | | | | | | | | | Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27, v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables needed to support `CMAKE_LINKER_TYPE` for Swift.
* | | CMake Nightly Date StampKitware Robot2024-04-031-1/+1
| | |
* | | Merge topic 'refactor-compile-features-and-flags'Brad King2024-04-0210-96/+102
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 588371d2d5 Modules: Rename CMakeDetermine{CompileFeatures -> CompilerSupport} 4d27ef55bd Modules: Factor out helpers for GNU language standard flags Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9366
| * | | Modules: Rename CMakeDetermine{CompileFeatures -> CompilerSupport}Tyler2024-03-297-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the CMake script at `${CMAKE_ROOT}\Modules\CMakeDetermineCompileFeatures.cmake` to `${CMAKE_ROOT}\Modules\CMakeDetermineCompilerSupport.cmake`. Also, rename the function defined in that script from `cmake_determine_compile_features()` to `cmake_determine_compiler_support()`. Modify existing CMake scripts which were including the previous CMake script to refer to the new file and call the new function.
| * | | Modules: Factor out helpers for GNU language standard flagsTyler2024-03-293-83/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following macros to `${CMAKE_ROOT}\Modules\Compiler\GNU.cmake`: * `__compiler_gnu_c_standards()` * `__compiler_gnu_cxx_standards()` These macros are used to define the `CMAKE_<LANG><STANDARD>_STANDARD_COMPILE_OPTION` and `CMAKE_<LANG><STANDARD>_EXTENSION_COMPILE_OPTION` variables for C- and C++-based languages for GCC. The macros are similar to the existing `__compiler_clang_cxx_standards()` macro found in `${CMAKE_ROOT}\Modules\Compiler\Clang.cmake`.
* | | | Merge topic 'rel-zip-newlines'Brad King2024-04-022-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0315c83dc ci: package .zip source archives using LF newlines 8b16de9e84 ci: package source archives using consistent command-line quoting conventions Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9393
| * | | | ci: package .zip source archives using LF newlinesBrad King2024-04-012-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we provided a `.zip` archive with CRLF newlines and a `.tar.gz` archive with LF newlines. This is no longer consistent with modern conventions. Use LF newlines in both. Fixes: #25467
| * | | | ci: package source archives using consistent command-line quoting conventionsBrad King2024-04-011-1/+1
| | | | |
* | | | | Merge branch 'release-3.29'Brad King2024-04-020-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge topic 'ctest-resource-lock' into release-3.29Brad King2024-04-029-78/+33
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85745cce7a ctest: Restore enforcement of RESOURCE_LOCK test property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9394
* | \ \ \ \ Merge topic 'ctest-resource-lock'Brad King2024-04-029-78/+33
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85745cce7a ctest: Restore enforcement of RESOURCE_LOCK test property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9394
| * | | | | ctest: Restore enforcement of RESOURCE_LOCK test propertyBrad King2024-04-019-78/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 5ff0b4ed57 (cmCTestMultiProcessHandler: Consolidate test readiness checks, 2023-10-20, v3.29.0-rc1~378^2~4) accidentally broke `RESOURCE_LOCK`. Fix it and replace the previous test with one that would have caught this. Fixes: #25843
* | | | | | Merge branch 'release-3.29'Brad King2024-04-020-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'FindMPI-IntelLLVM' into release-3.29Brad King2024-04-021-1/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6dee2a4bd FindMPI: Fix finding IntelLLVM wrappers on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Changkai Qiu <qiuchangkai@hotmail.com> Merge-request: !9395
* | | | | | Merge topic 'FindMPI-IntelLLVM'Brad King2024-04-021-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6dee2a4bd FindMPI: Fix finding IntelLLVM wrappers on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Changkai Qiu <qiuchangkai@hotmail.com> Merge-request: !9395
| * | | | | FindMPI: Fix finding IntelLLVM wrappers on WindowsBrad King2024-04-011-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 5e700411d2 (FindMPI: add IntelLLVM MPI wrappers, 2024-01-19, v3.29.0-rc1~92^2) we added `mpiicpx.bat` for C++ on Windows, but that is a GNU-like front-end that we do not yet support. Use `mpiicx.bat` for both C and C++ on Windows, just as we use `icx` to compile both. Fixes: #25807
* | | | | CMake Nightly Date StampKitware Robot2024-04-021-1/+1
| |_|_|/ |/| | |
* | | | Merge branch 'release-3.29'Brad King2024-04-010-0/+0
|\ \ \ \ | |/ / /
| * | | Merge topic 'libuv-macos-posix-poll' into release-3.29Brad King2024-04-014-9/+12
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f54ec4e7f9 libuv: macos: use posix poll instead of kqueue af330faaf1 libuv: darwin: group kqueue-specific definitions together 0db6402687 libuv: process: de-duplicate conditions for using kqueue Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9392
* | \ \ \ Merge topic 'libuv-macos-posix-poll'Brad King2024-04-014-9/+12
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | | | | | | | | | | | | | | | | | f54ec4e7f9 libuv: macos: use posix poll instead of kqueue af330faaf1 libuv: darwin: group kqueue-specific definitions together 0db6402687 libuv: process: de-duplicate conditions for using kqueue Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9392
| * | | libuv: macos: use posix poll instead of kqueueBrad King2024-04-013-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8) we've observed spurious process hangs in `uv__io_poll` waiting for `kqueue` to deliver events on macOS. Issue: #25839
| * | | libuv: darwin: group kqueue-specific definitions togetherBrad King2024-04-011-2/+2
| | | |
| * | | libuv: process: de-duplicate conditions for using kqueueBrad King2024-04-011-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | Its platform-specific headers provide a dedicated indicator. Backport libuv PR 4378.
* | | | Merge topic 'cmp0159_warnings'Brad King2024-04-0170-0/+290
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3cd64287fe Modules: Fix CMP0159 warnings in modules when tracing Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9385
| * | | | Modules: Fix CMP0159 warnings in modules when tracingJuan Ramos2024-03-2970-0/+290
| | | | | | | | | | | | | | | | | | | | Closes: #25829
* | | | | Merge topic 'patch-help-manually-added-dependencies'Brad King2024-04-011-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e722f73e40 Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9388
| * | | | | Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependenciesPeter Kokot2024-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a note about the MANUALLY_ADDED_DEPENDENCIES target property to the add_dependencies documentation page. It was introduced in v3.8.0.
* | | | | | Merge topic 'check-Werror-CMP0066'Brad King2024-04-013-7/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cebcc07a80 CheckSymbolExists: Remove -Werror from per-config flags 06c99ce73b CheckSymbolExists: Avoid removing the flag after -Werror e60281e968 CMakeDetermineCompilerABI: Remove -Werror from per-config flags 6abd25e7fd Help: Fix a typo Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9377
| * | | | | | CheckSymbolExists: Remove -Werror from per-config flagsSung, Po Han2024-03-281-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the fix from commit 1ab7c3cd28 (CheckSymbolExists: Work around GCC failure with -pedantic-errors option, 2021-10-22, v3.23.0-rc1~498^2) to apply to the per-config flags propagated by CMP0066's NEW behavior.
| * | | | | | CheckSymbolExists: Avoid removing the flag after -WerrorSung, Po Han2024-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 1ab7c3cd28 (CheckSymbolExists: Work around GCC failure with -pedantic-errors option, 2021-10-22, v3.23.0-rc1~498^2) we used the same code that was fixed by commit cec6f98018 (CMakeDetermineCompilerABI: Avoid removing the flag after -Werror, 2023-05-29, v3.26.5~4^2). Apply the fix to CheckSymbolExists too.
| * | | | | | CMakeDetermineCompilerABI: Remove -Werror from per-config flagsSung, Po Han2024-03-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the fixes from * commit 079ea66468 (CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags, 2020-10-04, v3.19.0-rc1~45^2), and * commit cec6f98018 (CMakeDetermineCompilerABI: Avoid removing the flag after -Werror, 2023-05-29, v3.26.5~4^2) to apply to the per-config flags propagated by CMP0066's NEW behavior.
| * | | | | | Help: Fix a typoSung, Po Han2024-03-281-1/+1
| | | | | | |
* | | | | | | Merge topic 'add_library-no-static-fallback'Brad King2024-04-0113-9/+113
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a61c9afdf8 add_library: Reject shared libraries on platforms that do not support them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9347