summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmCxxModuleMapper: give transitive usages to Clang as wellBen Boeckel2023-07-131-8/+8
| | | | | | | | | | | In the future, Clang plans to require transitive module usage to be specified on the command line. This is in order to keep BMI files more reproducible. Handily, MSVC has already required this, so the logic can be reused for Clang easily. See: https://github.com/llvm/llvm-project/commit/e22fa1d4c6152d36cf1342ab9029adc97c79a310 See: https://github.com/llvm/llvm-project/issues/62707 See: https://discourse.llvm.org/t/c-20-modules-should-the-bmis-contain-paths-to-their-dependent-bmis/70422
* cmCxxModuleMapper: factor out transitive usage computationBen Boeckel2023-07-131-30/+57
| | | | Clang will need this in the future.
* Tests/RunCMake/CXXModules: require transitive usagesBen Boeckel2023-07-132-1/+9
| | | | | | Clang 17 is in a transition where it warns about transitive usages. Turn it into an error if the flag is available to make sure we're testing the feature properly.
* cmCxxModuleMapper: use a `char` for streaming single bytesBen Boeckel2023-07-131-1/+1
|
* Merge branch 'release-3.27'Brad King2023-07-130-0/+0
|\
| * Merge topic 'debugger-no-supportsVariableType' into release-3.27Brad King2023-07-134-23/+58
| |\ | | | | | | | | | | | | | | | | | | | | | | | | e02cf3f190 Debugger: Correctly handle clients without supportsVariableType Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Garrett Campbell <gcampbell@microsoft.com> Merge-request: !8620
* | \ Merge topic 'debugger-no-supportsVariableType'Brad King2023-07-134-23/+58
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | e02cf3f190 Debugger: Correctly handle clients without supportsVariableType Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Garrett Campbell <gcampbell@microsoft.com> Merge-request: !8620
| * | Debugger: Correctly handle clients without supportsVariableTypeBen McMorran2023-07-124-23/+58
| | | | | | | | | | | | Fixes: #25057
* | | Merge branch 'release-3.27'Brad King2023-07-130-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'doc-genex-TARGET_IMPORT_FILE' into release-3.27Brad King2023-07-132-12/+20
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69bc89758f Help: Fix typos, formatting and wording for TARGET_IMPORT_FILE genexes 9c0c844fbd Help: Add TARGET_IMPORT_FILE... genexes to 3.27 release notes 88277d15e7 Help: Add missing versionadded for TARGET_IMPORT_FILE_DIR genex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8625
* | \ \ Merge topic 'doc-genex-TARGET_IMPORT_FILE'Brad King2023-07-132-12/+20
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 69bc89758f Help: Fix typos, formatting and wording for TARGET_IMPORT_FILE genexes 9c0c844fbd Help: Add TARGET_IMPORT_FILE... genexes to 3.27 release notes 88277d15e7 Help: Add missing versionadded for TARGET_IMPORT_FILE_DIR genex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8625
| * | | Help: Fix typos, formatting and wording for TARGET_IMPORT_FILE genexesCraig Scott2023-07-121-12/+12
| | | |
| * | | Help: Add TARGET_IMPORT_FILE... genexes to 3.27 release notesCraig Scott2023-07-121-0/+6
| | | | | | | | | | | | | | | | Fixes: #25060
| * | | Help: Add missing versionadded for TARGET_IMPORT_FILE_DIR genexCraig Scott2023-07-121-0/+2
| | |/ | |/| | | | | | | Issue: #25060
* | | Merge branch 'release-3.27'Brad King2023-07-130-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'genex-REMOVE_DUPLICATES-empty' into release-3.27Brad King2023-07-134-1/+13
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 861dd60ecf Genex: Restore REMOVE_DUPLICATES preservation of empty elements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8623
* | \ \ Merge topic 'genex-REMOVE_DUPLICATES-empty'Brad King2023-07-134-1/+13
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 861dd60ecf Genex: Restore REMOVE_DUPLICATES preservation of empty elements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8623
| * | | Genex: Restore REMOVE_DUPLICATES preservation of empty elementsBrad King2023-07-124-1/+13
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 72d116ee68 (GenEx: list oriented genexes use cmList class, 2023-03-29, v3.27.0-rc1~205^2) accidentally caused empty elements to be dropped by the `REMOVE_DUPLICATES` genex. Fix it and add a test case. Fixes: #25080
* | | Merge branch 'release-3.27'Brad King2023-07-130-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'show_autogen_exit_code' into release-3.27Brad King2023-07-131-1/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | bddd8f0e54 cmWorkerPool: Show process exit code / signal number upon failure Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8622
* | | Merge topic 'show_autogen_exit_code'Brad King2023-07-131-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | bddd8f0e54 cmWorkerPool: Show process exit code / signal number upon failure Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8622
| * | cmWorkerPool: Show process exit code / signal number upon failureAlexandru Croitor2023-07-121-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | Previously if an AUTOGEN process like moc exited with a non-zero exit code, cmWorkerPool would not populate the result's ErrorMessage because it mistakenly thought that if the ExitCode / TermSignal had a non-zero value, the ErrorMessage must have already been set. This was a wrong assumption. Instead, check if ErrorMessage is empty, and if it is, set it to whatever the exit code or term signal number is.
* | CMake Nightly Date StampKitware Robot2023-07-131-1/+1
| |
* | Merge branch 'release-3.27'Brad King2023-07-120-0/+0
|\ \ | |/
| * Merge topic 'compile-commands-modules' into release-3.27Brad King2023-07-1214-10/+99
| |\ | | | | | | | | | | | | | | | | | | | | | 677b28dc7b Ninja: include module mapper flags in `compile_commands.json` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8611
* | \ Merge topic 'compile-commands-modules'Brad King2023-07-1214-10/+99
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 677b28dc7b Ninja: include module mapper flags in `compile_commands.json` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8611
| * | Ninja: include module mapper flags in `compile_commands.json`Ben Boeckel2023-07-0914-10/+99
| | | | | | | | | | | | Fixes: #24618
* | | Merge topic 'apple-visionos'Brad King2023-07-1226-26/+100
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25977e177b apple: add preliminary visionOS support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Acked-by: Patrick Fu <paaatrickfu@gmail.com> Acked-by: Volodymyr B. <v.boichentsov@elsevier.com> Merge-request: !8581
| * | | apple: add preliminary visionOS supportGregor Jasny2023-07-1126-26/+100
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-07-121-1/+1
|/ / /
* | | Merge topic 'cmList-regression'Brad King2023-07-111-7/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6e8811cf0 cmList: Fix performance regression in Join / to_string Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8612
| * | | cmList: Fix performance regression in Join / to_stringNicolas van Kempen2023-07-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 45f17e5a85 (cmList: Add container conversion to string, 2023-06-20) accidentally introduced unnecessary string copies and allocations. Remove unnecessary copies.
* | | | Merge topic 'test-lib-order'Brad King2023-07-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2a28d185a Tests: Improve order of CMakeLibTests link libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8617
| * | | | Tests: Improve order of CMakeLibTests link librariesBrad King2023-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | Avoid repeating `libCMakeLib.a` multiple times on the link line.
* | | | | Merge branch 'release-3.27'Brad King2023-07-110-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge topic 'hip-vim-syntax' into release-3.27Brad King2023-07-111-0/+81
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90a949f7ce HIP: Add HIP language to Vim syntax highlighting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8615
* | \ \ \ \ Merge topic 'hip-vim-syntax'Brad King2023-07-111-0/+81
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 90a949f7ce HIP: Add HIP language to Vim syntax highlighting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8615
| * | | | | HIP: Add HIP language to Vim syntax highlightingCordell Bloor2023-07-071-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HIP language shares most properties in common with CXX or CUDA, although there are a few from each that it doesn't share.
* | | | | | CMake Nightly Date StampKitware Robot2023-07-111-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-07-101-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-07-091-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-07-081-1/+1
| | | | | |
* | | | | | Merge topic 'source_group-TREE-no-FILES'Brad King2023-07-076-3/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87788353cc source_group: Add test/example for TREE without FILES d85238a2f2 source_group: Fix TREE without FILES Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8599
| * | | | | | source_group: Add test/example for TREE without FILESAlex Neundorf2023-07-055-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates an additional target and for its three source files a directory tree is created.
| * | | | | | source_group: Fix TREE without FILESAlex Neundorf2023-07-051-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the documentation of `source_group()` the `FILES` parameter is optional, but that was actually not the case. When using `source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR})` cmake did not previously create the source tree, but recognized it as the old syntax. With this patch, cmake recognizes it as `TREE` syntax if the first argument is TREE followed by a directory. Then, if no files are given, it defaults to all files in the directory. PREFIX works too. Fixes: #24590
* | | | | | | Merge topic 'android-host-system-version'Brad King2023-07-071-0/+22
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fff6c469f8 Android: Populate CMAKE_HOST_SYSTEM_VERSION on native builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8607
| * | | | | | | Android: Populate CMAKE_HOST_SYSTEM_VERSION on native buildsfunsafe-ptr2023-07-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit c5892e484e (Android: add support for native compilation, such as with the Termux app, 2019-10-15, v3.17.0-rc1~594^2).
* | | | | | | | Merge branch 'release-3.27'Brad King2023-07-070-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | |
| * | | | | | | Merge topic 'findprotobuf-mingw' into release-3.27Brad King2023-07-071-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e978b3b814 FindProtobuf: Fix linking to shared libraries on MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8609
* | \ \ \ \ \ \ \ Merge topic 'findprotobuf-mingw'Brad King2023-07-071-3/+3
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e978b3b814 FindProtobuf: Fix linking to shared libraries on MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8609