summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratorExpression: Require cmake instanceKyle Edwards2022-11-1119-59/+92
|
* cmake::CreateProfilingEntry: Refactor to take lambda for argsKyle Edwards2022-11-114-35/+36
|
* Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\
| * Merge topic 'ci-msvc-14.34' into release-3.25Brad King2022-11-112-46/+25
| |\ | | | | | | | | | | | | | | | | | | | | | bd5176abac gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolset ccdff280f4 gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7891
* | \ Merge topic 'ci-msvc-14.34'Brad King2022-11-112-46/+25
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | bd5176abac gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolset ccdff280f4 gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7891
| * | gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolsetBrad King2022-11-102-41/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems with `cmake-gui` when compiled with the MSVC 14.33 toolset, that did not occur with the MSVC 14.32 toolset, no longer occur with the MSVC 14.34 toolset. Revert commit cb8b27a901 (gitlab-ci: Use separate MSVC toolset specification for packaging jobs, 2022-08-18, v3.24.2~24^2~1) and update the remaining toolset version references. Fixes: #23859
| * | gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolsetBrad King2022-11-101-5/+5
| | |
* | | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'ci-clang15-windows' into release-3.25Brad King2022-11-1112-49/+46
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 46b2849550 ci: Update LLVM/Clang to 15.0 in nightly CI jobs on Windows 3eb94e4d51 ci: Simplify LLVM/Clang CI job specs on Windows 8ba5835c8d ci: Factor out helper to load clang into environment on Windows bf2e4a2e85 ci: Factor out helper to load ninja into environment on Windows 93ff726114 Tests: Fix TryCompile bad source case for clang-cl 15 on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7897
* | | Merge topic 'ci-clang15-windows'Brad King2022-11-1112-49/+46
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 46b2849550 ci: Update LLVM/Clang to 15.0 in nightly CI jobs on Windows 3eb94e4d51 ci: Simplify LLVM/Clang CI job specs on Windows 8ba5835c8d ci: Factor out helper to load clang into environment on Windows bf2e4a2e85 ci: Factor out helper to load ninja into environment on Windows 93ff726114 Tests: Fix TryCompile bad source case for clang-cl 15 on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7897
| * | ci: Update LLVM/Clang to 15.0 in nightly CI jobs on WindowsBrad King2022-11-102-13/+17
| | |
| * | ci: Simplify LLVM/Clang CI job specs on WindowsBrad King2022-11-104-15/+7
| | | | | | | | | | | | | | | Move environment setup to job-specific scripts so we can reuse the common `.cmake_test_windows_external` code path.
| * | ci: Factor out helper to load clang into environment on WindowsBrad King2022-11-105-13/+16
| | |
| * | ci: Factor out helper to load ninja into environment on WindowsBrad King2022-11-103-10/+8
| | |
| * | Tests: Fix TryCompile bad source case for clang-cl 15 on WindowsBrad King2022-11-101-1/+1
| | | | | | | | | | | | | | | | | | When `pass.c bad#source.c` passes through `nmake`, the compiler gets `pass.c bad`. The clang-cl 15 compiler now fails on `bad` with an error that we did not previously match. Update our regex.
* | | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'fix-cxx20-detection' into release-3.25Brad King2022-11-111-5/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e7c8f44ac Ninja: Restore support for compilers not defining a C++ standard level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Acked-by: Martin Kojtal <martin.kojtal@arm.com> Merge-request: !7896
* | \ \ Merge topic 'fix-cxx20-detection'Brad King2022-11-111-5/+12
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e7c8f44ac Ninja: Restore support for compilers not defining a C++ standard level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Acked-by: Martin Kojtal <martin.kojtal@arm.com> Merge-request: !7896
| * | | Ninja: Restore support for compilers not defining a C++ standard levelLingkai Dong2022-11-101-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 386465bf83 (cmTarget: add support for C++ module fileset types, 2022-04-08, v3.25.0-rc1~624^2~7), the Ninja generator checks for C++20 support using logic that requires `CMAKE_<LANG>_STANDARD_DEFAULT` to be non-empty. On some compilers, such as ARMClang, CMake does not automatically detect and set default language standards, thus causing `HaveStandardAvailable` to raise an internal error. To fix this issue, if `CMAKE_CXX_STANDARD_DEFAULT` is empty, assume all standards to be supported instead of calling `HaveStandardAvailable`. This is consistent with how `CompileFeaturesNode::Evaluate` handles this case. Fixes: #24146
* | | | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'release-3.24' into release-3.25Brad King2022-11-110-0/+0
| |\ \ \
* | \ \ \ Merge branch 'release-3.24'Brad King2022-11-110-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'expat-c-no-extensions' into release-3.24Brad King2022-11-101-0/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7899
* | \ \ \ \ Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge topic 'expat-c-no-extensions' into release-3.25Brad King2022-11-111-0/+6
| |\ \ \ \ \ | | | |/ / / | | |/| / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | 019af62294 expat: Activate POSIX APIs even without compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7899
* | | | | Merge topic 'expat-c-no-extensions'Brad King2022-11-111-0/+6
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 019af62294 expat: Activate POSIX APIs even without compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7899
| * | | | expat: Activate POSIX APIs even without compiler extensionsRaul Tambre2022-11-101-0/+6
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compile with the preprocessor definitions necessary for the `arc4random` family so it's available even when compiler extensions are not enabled. Similar things are done in cmbzip2, cmcurl, cmlibarchive, cmliblizma and cmlibuv. This issue surfaced on a nightly bot after glibc 2.36 added arc4random functions. cmlibarchive defines the necessary macro, but also relies on `HAVE_ARC4RANDOM_BUF`. cmlibarchive's check with the necessary macro defined was skipped due to cmexpat running the same check before, but without the macros, and it being cached. This extends commit c7c3e39e4f (Utilities: Activate POSIX APIs even without compiler extensions, 2022-06-02, v3.24.0-rc1~34^2) to cover our build of expat too. Issue: #20454
* | | | CMake Nightly Date StampKitware Robot2022-11-111-1/+1
| | | |
* | | | Merge topic 'doc-improvements'Brad King2022-11-10120-321/+557
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4d1f85297 Help: Move a note about arguments and genexes into include file 968224484f Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` files 65457e4fae Help: Add _See Also_ sections to related CMake commands c86ec79d07 Help: Use direct refs to genexes instead of ``$<GENEX-NAME>`` 8c6274326d Help: Use CMake highlighting for command synopsis c356a94512 Help: Use monospaced font for a genex name in a section title f98c8707f4 Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptions 2ba351ca4f Help: ``CMake`` → CMake ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7873
| * | | | Help: Move a note about arguments and genexes into include fileAlex Turbov2022-11-0912-52/+39
| | | | |
| * | | | Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` filesAlex Turbov2022-11-096-6/+0
| | | | |
| * | | | Help: Add _See Also_ sections to related CMake commandsAlex Turbov2022-11-0944-43/+311
| | | | |
| * | | | Help: Use direct refs to genexes instead of ``$<GENEX-NAME>``Alex Turbov2022-11-0916-69/+62
| | | | |
| * | | | Help: Use CMake highlighting for command synopsisAlex Turbov2022-11-0929-38/+38
| | | | | | | | | | | | | | | | | | | | Most of CMake commands use it. Fix a few of them to do the same.
| * | | | Help: Use monospaced font for a genex name in a section titleAlex Turbov2022-11-091-2/+2
| | | | |
| * | | | Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptionsAlex Turbov2022-11-072-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Most of CMake commands use syntax highlighting when describe sub-commands syntax. Fix a few of them to be like others...
| * | | | Help: ``CMake`` → CMakeAlex Turbov2022-11-075-8/+8
| | | | |
| * | | | Help: Unindent _See Also_ related commands listAlex Turbov2022-11-075-15/+13
| | | | | | | | | | | | | | | | | | | | To make it similar to other commands.
| * | | | Help: Use `caption` option of `code-block` for JSON trace format snippetsAlex Turbov2022-11-071-4/+2
| | | | |
| * | | | Help: Use captions for code snippets in the `FetchContent` moduleAlex Turbov2022-11-071-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of "manually" added captions use the Sphinx option of `code-block` directive.
| * | | | Help: Use role `:program:`Alex Turbov2022-11-0615-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | | When mention execitable names use Sphinx semantic role `:program` instead of ``executable`` or **executable**.
| * | | | Help: Add some more `:option:` role to `cmake-language(7)` manualAlex Turbov2022-11-051-8/+8
| | | | |
| * | | | Help: Add `ATTENTION` for comments in the `cmake-language(7)` manualAlex Turbov2022-11-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Some editors (OK, mine, I use `kate`) highlight some capitalized "keywords" (like `TODO`, `NOTE`, &etc) in comments.
* | | | | Merge topic 'better-file-download-failure-msg'Brad King2022-11-102-6/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c3cf2716a file(DOWNLOAD EXPECTED_HASH): better error message when download failed Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7888
| * | | | | file(DOWNLOAD EXPECTED_HASH): better error message when download failedAurelien Regat-Barrel2022-11-092-6/+9
| | | | | |
* | | | | | Merge topic 'find_cuda_toolkit_support_symlink_math_dirs'Brad King2022-11-101-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f707ab541 FindCUDAToolkit: Support math_libs directory being a symlink Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7893
| * | | | | | FindCUDAToolkit: Support math_libs directory being a symlinkRobert Maynard2022-11-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #24140
* | | | | | | Merge topic 'marmasm-language'Brad King2022-11-1023-6/+381
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3166547cf6 ASM_MARMASM: Add support for Microsoft ARM assembler language ce4babb566 Tests: Fix ARM64 test conditions for non-VS generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7793
| * | | | | | | ASM_MARMASM: Add support for Microsoft ARM assembler languageIlia K2022-11-0922-3/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference Fixes: #23999
| * | | | | | | Tests: Fix ARM64 test conditions for non-VS generatorsBrad King2022-11-092-3/+3
| |/ / / / / /