summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FindMPI: add IntelLLVM MPI wrappersEisuke Kawashima2024-01-191-6/+6
| | | | | The Intel MPI library now provides `mpiicx`, `mpiicpx`, and `mpiifx` wrappers, which respectively use `icx`, `icpx`, and `ifx` by default.
* CMake Nightly Date StampKitware Robot2024-01-191-1/+1
|
* Merge topic 'autogen-exe-per-config'Brad King2024-01-1833-235/+1089
|\ | | | | | | | | | | | | | | | | 596e84b0d5 NinjaMultiConfig: Update tests for the new dependency change 7c39dabdbc Autogen: AUTO*_EXECUTABLE: add support for per-config values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8919
| * NinjaMultiConfig: Update tests for the new dependency changeOrkun Tokdemir2024-01-173-22/+85
| | | | | | | | | | | | * Tests were updated for the cases both `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON and OFF This commit reimplements e454314daaed0ab5f86bba0015747eb296efb8da
| * Autogen: AUTO*_EXECUTABLE: add support for per-config valuesOrkun Tokdemir2024-01-1730-213/+1004
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Per-config values were added to `AUTO*_EXECUTABLE`. * Dependency order was refactored for `cmake_autogen` and `cmake_autorcc` to avoid unnecessary rebuilds. * A new parameter was added for `cmake_autogen` and `cmake_autorcc` to specify the config name of the `auto*_executable` to be used. * Add `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` target property to change the behavior of the dependency graph. * The timestamp target is split into three targets for per-config to avoid redundant `mocs_compilation` builds when `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON * Per-config `DEP_FILE_RULE_NAME` values were added to `AutogenInfo.json` for `Multi-Config` usage. * Some functions were refactored to avoid code duplication. This commit reimplements fddd0f0443b4ce81d61f15ee1b2f13105967b25a Fixes: #20074
* | Merge topic 'fix_CTestUpdateGIT'Brad King2024-01-181-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 9ab1241035 Tests: Improve CTest.UpdateGIT robustness to user gitconfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9160
| * | Tests: Improve CTest.UpdateGIT robustness to user gitconfigAshish Sadanandan2024-01-171-2/+2
| | | | | | | | | | | | | | | Previously the test failed when the user's gitconfig has `push.default=nothing` set.
* | | Merge topic 'FindPackageMessage-strip-spaces'Brad King2024-01-181-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ecfd1a7dc FindPackageMessage: Remove extra whitespace from messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9156
| * | | FindPackageMessage: Remove extra whitespace from messagesMáté Ferenc Nagy-Egri2024-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | In particular, the call to `find_package_message` from FPHSA may have extra whitespace in some cases.
* | | | Merge topic 'isspace'Brad King2024-01-1810-33/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9d9326e14 Source: Avoid out-of-range inputs to std::isspace() 14abdc8e2b cmXMLParser: Remove unused IsSpace method Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9162
| * | | | Source: Avoid out-of-range inputs to std::isspace()Brad King2024-01-178-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `isspace` takes `int` but documents that the value must be representable by `unsigned char`, or be EOF. Use a wrapper to cast to `unsigned char` to avoid sign extension while converting to `int`. This generalizes the fix from commit 5e8c176e2a (cmExecuteProcessCommand: Cast c to unsigned char before cast to int, 2024-01-05) to other `isspace` call sites. This was detected by assertions in the MSVC standard library while processing UTF-8 text. Issue: #25561
| * | | | cmXMLParser: Remove unused IsSpace methodBrad King2024-01-172-10/+0
| | | | |
* | | | | Merge branch 'release-3.28'Brad King2024-01-180-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge topic 'FindMatlab-fix-exact-version' into release-3.28Brad King2024-01-181-1/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7060e2135c FindMatlab: Restore support for finding EXACT major.minor version 88a1392270 FindMatlab: use correct registry view when extracting versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9163
* | \ \ \ \ \ Merge topic 'FindMatlab-fix-exact-version'Brad King2024-01-181-1/+12
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7060e2135c FindMatlab: Restore support for finding EXACT major.minor version 88a1392270 FindMatlab: use correct registry view when extracting versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9163
| * | | | | | FindMatlab: Restore support for finding EXACT major.minor versionHermann von Kleist2024-01-171-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By comparing major.minor, the behavior approximately matches pre-3.28 behavior. Fixes: #25605
| * | | | | | FindMatlab: use correct registry view when extracting versionsHermann von Kleist2024-01-171-0/+1
| |/ / / / /
* | | | | | CMake Nightly Date StampKitware Robot2024-01-181-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'cmake-language-exit-code'Brad King2024-01-1734-5/+126
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bb1769235 cmake_language: Add EXIT subcommand 4f160f7906 cmakemain: Return the SCRIPT_MODE exit code if it was set b62dcbf5d2 cmMakefile: check cmake script mode exit code after command 3d9d504646 cmMakefile: Store the exit code from cmExecutionStatus to cmake instance 9f6c937408 Source/cmake.h: Add ScriptModeExitCode for proper storing exit code 1082b9cb9a cmExecutionStatus: Add ability to set optional custom exit code Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Acked-by: NoMaY (a user of Renesas Rulz Japanese Forum) <nomay-jp@outlook.com> Merge-request: !8228
| * | | | | cmake_language: Add EXIT subcommandleha-bot2024-01-1629-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests to cover these cases: * run as regular CMake module, in NORMAL_MODE (expected to fail); * run as CMake script in SCRIPT_MODE (expected to exit with given code); * run as CMake script that `include()`-s another script with EXIT subcommand; * run as CMake script which EVAL-uates EXIT subcommand via `cmake_language(EVAL CODE "<cmake code>")`. Fixes: #23162
| * | | | | cmakemain: Return the SCRIPT_MODE exit code if it was setleha-bot2024-01-162-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We determine it via checking cmake.Run() return code and ScriptModeExitCode. If ScriptModeExitCode is zero, then we would return 1 if retcode was non-zero. Otherwise it will be returned if retcode was also non-zero.
| * | | | | cmMakefile: check cmake script mode exit code after commandleha-bot2024-01-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Which potentially may set it, and forward it to the cmExecutionStatus for proper handling in caller.
| * | | | | cmMakefile: Store the exit code from cmExecutionStatus to cmake instanceleha-bot2024-01-161-0/+5
| | | | | |
| * | | | | Source/cmake.h: Add ScriptModeExitCode for proper storing exit codeleha-bot2024-01-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | From executed CMake script in SCRIPT_MODE.
| * | | | | cmExecutionStatus: Add ability to set optional custom exit codeleha-bot2024-01-161-0/+8
| | | | | |
* | | | | | Merge topic 'lcc-updates-2024-01'Brad King2024-01-1711-17/+33
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 202f4b3161 Tests: Exclude some tests on broken libc on Elbrus 9dd0ab9c88 LCC: Make CMake build without warnings on LCC 1.21 1dbb31cea2 libarchive: avoid lchmod not implemented warning on old LCC 83af26d9ad LCC: Don't enable debugger on LCC that don't have <future> fa764ce311 liblzma: Make cmliblzma buildable on LCC 1.21 77e046b47c jsoncpp: fix missing template deletion support on LCC < 1.23 67de0c197b cmcurl: fix X509_STORE_up_ref issue not just on LCC 1.23, but on LCC <= 1.23 9bc2aba3b4 LCC: get rid of ambiguous assignments of {} for LCC ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9157
| * | | | | | Tests: Exclude some tests on broken libc on Elbrusmakise-homura2024-01-161-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests found to be occasionally failing, so just in case CMake is used in such environment, don't test this at all.
| * | | | | | LCC: Make CMake build without warnings on LCC 1.21makise-homura2024-01-161-1/+6
| | | | | | |
| * | | | | | libarchive: avoid lchmod not implemented warning on old LCCmakise-homura2024-01-161-1/+3
| | | | | | |
| * | | | | | LCC: Don't enable debugger on LCC that don't have <future>makise-homura2024-01-161-0/+1
| | | | | | |
| * | | | | | liblzma: Make cmliblzma buildable on LCC 1.21makise-homura2024-01-161-2/+2
| | | | | | |
| * | | | | | jsoncpp: fix missing template deletion support on LCC < 1.23makise-homura2024-01-161-0/+4
| | | | | | |
| * | | | | | cmcurl: fix X509_STORE_up_ref issue not just on LCC 1.23, but on LCC <= 1.23makise-homura2024-01-161-3/+3
| | | | | | |
| * | | | | | LCC: get rid of ambiguous assignments of {} for LCCmakise-homura2024-01-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LCC 1.21 can't determine the exact type of right side of assignment and so produces an error. Here it is resolved by an intermediate variable.
| * | | | | | cppdap: Use std::is_same<>::value instead of std::is_same<>() for old LCCmakise-homura2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | std::is_same<>() is not const instead of std::is_same<>::value at least on LCC 1.21, so this produces an error. Still ()-notation seems to be fairly equivalent functionally to ::value-notation.
| * | | | | | LCC: Correct C compiler default C standardsmakise-homura2024-01-161-1/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'FindX11-Xdbe'Brad King2024-01-171-0/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b118132c5f FindX11: Add awareness of Xdbe Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9153
| * | | | | | FindX11: Add awareness of XdbeKristian Spangsege2024-01-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25591
* | | | | | | Merge branch 'release-3.28'Brad King2024-01-170-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge topic 'cxxmodules-obj-lib' into release-3.28Brad King2024-01-175-1/+22
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c09f8d27cd cxxmodules: compute link information for C++ module-consuming targets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9154
* | \ \ \ \ \ \ Merge topic 'cxxmodules-obj-lib'Brad King2024-01-175-1/+22
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c09f8d27cd cxxmodules: compute link information for C++ module-consuming targets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9154
| * | | | | | | cxxmodules: compute link information for C++ module-consuming targetsMatheus Izvekov2024-01-145-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compute link information for all C++ targets which support modules instead of just those which may provide modules, as they may import modules as well. This captures `OBJECT` libraries using modules which otherwise do not have link steps. Fixes: #25592
* | | | | | | | Merge branch 'release-3.28'Brad King2024-01-170-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge topic 'matlab-win' into release-3.28Brad King2024-01-171-61/+53
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42fbe01eba FindMatlab: Accept long version in matlab_get_release_name_from_version c608adc236 FindMatlab: Fix major.minor version lookups in Windows Registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9148
* | \ \ \ \ \ \ \ Merge topic 'matlab-win'Brad King2024-01-171-61/+53
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42fbe01eba FindMatlab: Accept long version in matlab_get_release_name_from_version c608adc236 FindMatlab: Fix major.minor version lookups in Windows Registry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9148
| * | | | | | | | FindMatlab: Accept long version in matlab_get_release_name_from_versionscivision2024-01-161-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make this work: matlab_get_release_name_from_version(${Matlab_VERSION}) which the user would expect. While at it, simplify this function code.
| * | | | | | | | FindMatlab: Fix major.minor version lookups in Windows Registryscivision2024-01-161-45/+47
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The registry key names use only the first two version components. Previously we were using the full versions. Fixes: #25582
* | | | | | | | CMake Nightly Date StampKitware Robot2024-01-171-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge topic 'doc-CMP0156'Brad King2024-01-161-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64b682d3ba Help: Fix typo in CMP0156 documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9159
| * | | | | | | Help: Fix typo in CMP0156 documentationBrad King2024-01-161-1/+1
|/ / / / / / /