summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cxxmodules: generate synthetic targets as an initial passBen Boeckel2023-08-178-1/+344
| | | | | | We need to be able to construct BMIs that will be usable from the client modules for the target importing the module, so create BMI-only compilation rules for `IMPORTED` targets to create these BMIs.
* cmSyntheticTargetCache: add a struct for synthetic target cachingBen Boeckel2023-08-172-0/+16
|
* cmCxxModuleUsageEffects: add a class to capture module usage effectsBen Boeckel2023-08-174-0/+46
| | | | | | | | | | | | When importing a C++ module, there may be requirements imposed by the importer so that the compiler can reliably read the BMI. For example, the standard used in the importer may need to also apply to the imported BMI. Right now, there are no tracked requirements. As we learn more, this class can start tracking more information. See: https://wg21.link/p2581r2
* cmDyndepCollation: add initializers for POD typesBen Boeckel2023-08-171-2/+2
| | | | This avoids invalid states from existing.
* cmDyndepCollation: add a query for whether an object is BMI-onlyBen Boeckel2023-08-172-0/+16
| | | | | The collator needs to know that the object *is* a BMI so that it can just use the location directly.
* cmDyndepCollation: support BMI-only collationBen Boeckel2023-08-172-8/+32
|
* cmTarget: report that synthetic targets can compile sourcesBen Boeckel2023-08-171-0/+3
|
* cmTarget: rename entry copying methodBen Boeckel2023-08-171-6/+6
| | | | It will also be used to copy from other targets, not just directories.
* cmTarget: track and store `IMPORTED_CXX_MODULES_` usage propertiesBen Boeckel2023-08-171-0/+38
| | | | | | While not "usage requirements" directly, when applied to a target that will eventually have the BMI compile rules attached to them, they need tracked as such.
* cmGeneratorTarget: classify BMI-only C++ module sourcesBen Boeckel2023-08-174-0/+15
|
* cmImportedCxxModuleInfo: introduce code to parse exported BMI propertiesBen Boeckel2023-08-174-0/+116
|
* cmExportFileGenerator: export private compile info for C++ modulesBen Boeckel2023-08-1723-0/+573
| | | | | | | | | When consuming exported targets which contain C++ modules, the consuming project must be able to recompile BMI files using the original target's flags. This is because a module source may use some private target usage requirement but not want to propagate it to consumers. To facilitate this, export the private information as necessary for consumers to be able to perform the BMI compilations.
* cmGeneratorTarget: support better errors when checking for C++20 modulesBen Boeckel2023-08-162-17/+24
| | | | | Some callers have their own error reporting mechanisms which give more context. Support handing off the error string for these use cases.
* Merge topic 'xcframework-check-platform-variant'Kyle Edwards2023-08-1645-18/+129
|\ | | | | | | | | | | | | | | b4565c8c91 .xcframework: Check SupportedPlatformVariant Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8713
| * .xcframework: Check SupportedPlatformVariantKyle Edwards2023-08-1545-18/+129
| |
* | Merge topic 'remove_property'Brad King2023-08-167-18/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 822203dd65 Source: Rename SetProperty(nullptr_t) to RemoveProperty() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8721
| * | Source: Rename SetProperty(nullptr_t) to RemoveProperty()Vitaly Stakhovsky2023-08-157-18/+10
| |/ | | | | | | Avoid assignment to NULL semantics.
* | Merge topic 'ci-gcc-p1689r5-v7'Brad King2023-08-164-5/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d359ce7a0 gitlab-ci: use the new GCC C++ modules build container 0d837ba0f0 ci: update gcc module rules file for new flag spellings 945c4b1771 ci: update to Fedora 38 for GCC C++ module container 38251e00e1 ci: update to v7 of the GCC p1689r5 patches Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8710
| * | gitlab-ci: use the new GCC C++ modules build containerBen Boeckel2023-08-151-1/+1
| | |
| * | ci: update gcc module rules file for new flag spellingsBen Boeckel2023-08-141-2/+12
| | |
| * | ci: update to Fedora 38 for GCC C++ module containerBen Boeckel2023-08-141-1/+1
| | |
| * | ci: update to v7 of the GCC p1689r5 patchesBen Boeckel2023-08-141-1/+1
| | |
* | | Merge topic 'improve_rpath_removal_message'Brad King2023-08-161-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c85fd9a705 file: Clarify CMake only drops RPATHS's it added Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8715
| * | | file: Clarify CMake only drops RPATHS's it addedRobert Maynard2023-08-151-2/+4
| | | |
* | | | Merge topic 'ExternalProject-build-jobserver'Brad King2023-08-1614-113/+165
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc43398e72 ExternalProject: Enable Make Job Server with Explicit Build Command 99be022428 Tests/RunCMake/Make: simplify GNUMakeJobSeverAware check function Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8667
| * | | | ExternalProject: Enable Make Job Server with Explicit Build CommandChris Mahoney2023-08-158-1/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces `BUILD_JOB_SERVER_AWARE` option to `ExternalProject_Add` and `JOB_SERVER_AWARE` to `ExternalProject_Add_Step`. When using an explicit `BUILD_COMMAND` or `COMMAND`, the generated commands won't use `$(MAKE)` thus failing to connect to the outer make's job server. These new options enable explicit job server integration. Co-authored-by: Brad King <brad.king@kitware.com> Fixes: #16273
| * | | | Tests/RunCMake/Make: simplify GNUMakeJobSeverAware check functionChris Mahoney2023-08-156-112/+44
| | | | |
* | | | | Merge branch 'release-3.27'Brad King2023-08-160-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge topic 'unity_c_no_extensions' into release-3.27Brad King2023-08-161-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f7c443667 Unity: use C-style comments to work both with C and C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8718
* | \ \ \ \ \ Merge topic 'unity_c_no_extensions'Brad King2023-08-161-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f7c443667 Unity: use C-style comments to work both with C and C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8718
| * | | | | | Unity: use C-style comments to work both with C and C++Sylvain Joubert2023-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the comment added by commit 485256f2d0 (Unity: Suppress clang-tidy 'bugprone-suspicious-include' warning, 2023-04-27, v3.27.0-rc1~149^2) to work for C. Fixes: #25184
* | | | | | | Merge branch 'release-3.27'Brad King2023-08-160-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'ghs-escape-custom-command-comments' into release-3.27Brad King2023-08-161-1/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a41d926dd GHS: Escape custom command comments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8714
* | \ \ \ \ \ \ Merge topic 'ghs-escape-custom-command-comments'Brad King2023-08-161-1/+3
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a41d926dd GHS: Escape custom command comments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8714
| * | | | | | | GHS: Escape custom command commentsWilliam Sciaroni2023-08-151-1/+3
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #25171
* | | | | | | Merge branch 'release-3.27'Brad King2023-08-160-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'clang_c23' into release-3.27Brad King2023-08-161-1/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65288eb92a Clang: use -std=c23 for Clang 18+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8716
* | \ \ \ \ \ \ Merge topic 'clang_c23'Brad King2023-08-161-1/+4
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65288eb92a Clang: use -std=c23 for Clang 18+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8716
| * | | | | | | Clang: use -std=c23 for Clang 18+Raul Tambre2023-08-151-1/+4
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Canonical flag changed in LLVM commit 13629b140801870feff855ca168edf6b34dbef8d.
* | | | | | | Merge branch 'release-3.27'Brad King2023-08-160-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'FindPython-3.13' into release-3.27Brad King2023-08-163-3/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
* | \ \ \ \ \ \ Merge topic 'FindPython-3.13'Brad King2023-08-163-3/+3
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfab044c44 FindPython: add support for Python 3.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8712
| * | | | | | | FindPython: add support for Python 3.13Vasily Ryabov2023-08-153-3/+3
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.13.0a0 can be built from main branch of python/cpython though there were no official releases yet.
* | | | | | | CMake Nightly Date StampKitware Robot2023-08-161-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge branch 'release-3.27'Brad King2023-08-150-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'TAPI-is-Apple-only' into release-3.27Brad King2023-08-152-7/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
* | \ \ \ \ \ Merge topic 'TAPI-is-Apple-only'Brad King2023-08-152-7/+7
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b0f0dc257 Apple Text Stubs (.tbd): various fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8708
| * | | | | | Apple Text Stubs (.tbd): various fixesMarc Chevrier2023-08-112-7/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ensure tapi lookup is applied only for concerned toolchains * fix typos in tests Fixes: #25182
* | | | | | Merge branch 'release-3.27'Brad King2023-08-150-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'FindJNI-no-xcode' into release-3.27Brad King2023-08-151-5/+9
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 597139b853 FindJNI: Restore support for macOS without Xcode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8707