Commit Graph
33372 Commits
Author SHA1 Message Date
Ben Boeckel f0899e46fb cmVisualStudio10TargetGenerator: write C++ module elements 2022-12-01 08:33:43 -05:00
Ben Boeckel b0283aaa7c cmVisualStudio10TargetGenerator: ask the generator for dyndep support 2022-12-01 08:33:43 -05:00
Ben Boeckel 9ee7ee1fc2 cmGlobalVisualStudioVersionedGenerator: check for C++ module support 2022-12-01 08:33:43 -05:00
Ben Boeckel fce359c5de cmGlobalVisualStudioVersionedGenerator: support dyndep in VS2022 and up 2022-12-01 08:33:43 -05:00
Ben Boeckel 5b16a0e568 cmGlobalVisualStudio7Generator: make SupportsCxxModuleDyndep protected
The generator target will want to ask this question when determining
whether C++ modules are supported or not.
2022-12-01 08:33:43 -05:00
Brad King 4f9ec5a9be Merge topic 'cxxmodules-collation-logic-refactor'
f4a17b29d3 cmDyndepCollation: factor out metadata writing for dyndep
2f93a272d0 cmDyndepCollation: factor out parsing dyndep information
3fc2de5c74 cmDyndepCollation: factor out writing C++ module info from Ninja

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7971
2022-12-01 08:05:21 -05:00
Brad King 907402b147 Merge topic 'cmstrcat-move-first-arg'
beba50bd61 cmStrCat(): optimize when first argument is an rvalue string
d6f2a7ab4b cmStringCommand: remove use of cmCatViews()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7969
2022-12-01 07:58:05 -05:00
Kitware Robot e8faf52223 CMake Nightly Date Stamp 2022-12-01 00:01:09 -05:00
Ben Boeckel f4a17b29d3 cmDyndepCollation: factor out metadata writing for dyndep 2022-11-30 10:53:45 -05:00
Ben Boeckel 2f93a272d0 cmDyndepCollation: factor out parsing dyndep information 2022-11-30 10:53:45 -05:00
Ben Boeckel 3fc2de5c74 cmDyndepCollation: factor out writing C++ module info from Ninja
To facilitate other generators being able to build C++20 modules, start
pulling out collator logic into a generator-agnostic location.

This commit starts by factoring out the information written to the
"target depend info" object consumed during the build to handle writing
out export and installation scripts expected during those steps.
2022-11-30 10:53:45 -05:00
Brad King e15d9f51db Merge topic 'fortran-regression'
a67da2ef66 Tests/FortranModules: add case for modules after "end interface X"
88fb1980c3 Fortran: Restore support for parsing "end interface X"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7966
2022-11-30 08:55:59 -05:00
Brad King d340fcdbb7 Merge topic 'vs-clang-tidy-cleanup'
66ca5b6137 clang-tidy: fix `readability-redundant-smartptr-get` lints
32c38a269a clang-tidy: fix `modernize-make-unique` lints
4a960f7186 clang-tidy: fix `performance-for-range-copy` lints
fc9b5193e4 clang-tidy: fix `readability-redundant-string-init` lints
ccb5ecac0b clang-tidy: fix `readability-const-return-type` lints
2381634e7f clang-tidy: fix `readability-qualified-auto` lints
707172c66e clang-tidy: fix `readability-use-anyofallof` lints
501408338a clang-tidy: fix `readability-isolate-declaration` lints
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7950
2022-11-30 07:29:01 -05:00
Brad King 3b19541518 Merge topic 'add-generator-target-caches'
f69d1872db cmGeneratorTarget: Add caches to some functions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7952
2022-11-30 07:28:12 -05:00
Brad King 88fb1980c3 Fortran: Restore support for parsing "end interface X"
Since commit 219a9b1e14 (Fortran: Fix suprious dependencies with
submodules, 2022-07-30, v3.25.0-rc1~327^2) we accidentally fail to
recognize `end interface X`, causing all subsequent modules to be seen
as an interface.

Fixes: #24203
2022-11-30 06:38:36 -05:00
Kyle Edwards beba50bd61 cmStrCat(): optimize when first argument is an rvalue string 2022-11-30 00:05:09 -05:00
Kitware Robot 7fd4238149 CMake Nightly Date Stamp 2022-11-30 00:01:11 -05:00
Kyle Edwards d6f2a7ab4b cmStringCommand: remove use of cmCatViews() 2022-11-29 17:32:41 -05:00
Ben Boeckel 66ca5b6137 clang-tidy: fix readability-redundant-smartptr-get lints 2022-11-29 12:39:46 -05:00
Ben Boeckel 32c38a269a clang-tidy: fix modernize-make-unique lints 2022-11-29 12:39:46 -05:00
Ben Boeckel 4a960f7186 clang-tidy: fix performance-for-range-copy lints 2022-11-29 12:39:46 -05:00
Ben Boeckel fc9b5193e4 clang-tidy: fix readability-redundant-string-init lints 2022-11-29 12:39:46 -05:00
Ben Boeckel ccb5ecac0b clang-tidy: fix readability-const-return-type lints 2022-11-29 12:39:46 -05:00
Ben Boeckel 2381634e7f clang-tidy: fix readability-qualified-auto lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 707172c66e clang-tidy: fix readability-use-anyofallof lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 501408338a clang-tidy: fix readability-isolate-declaration lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 1f893e5873 clang-tidy: fix modernize-loop-convert lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 362d6cd234 clang-tidy: fix modernize-raw-string-literal lints 2022-11-29 12:39:45 -05:00
Ben Boeckel d64adb9267 clang-tidy: fix readability-string-compare lints 2022-11-29 12:39:45 -05:00
Ben Boeckel f76ebc3c05 clang-tidy: fix performance-faster-string-find lints 2022-11-29 12:39:45 -05:00
Ben Boeckel a805a897a8 clang-tidy: fix bugprone-parent-virtual-call lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 27f5ce07cc clang-tidy: fix performance-unnecessary-value-param lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 9e81a9b45c clang-tidy: fix misc-unused-parameters lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 4deab0a75c clang-tidy: fix readability-braces-around-statements lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 714a466eeb clang-tidy: fix readability-container-size-empty lints 2022-11-29 12:39:45 -05:00
Ben Boeckel 6d2aa54d62 clang-tidy: fix performance-unnecessary-copy-initialization lints 2022-11-29 12:39:44 -05:00
Ben Boeckel b72c45e39f clang-tidy: fix readability-else-after-return lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 07172aa31e clang-tidy: fix readability-redundant-string-cstr lints 2022-11-29 12:39:29 -05:00
Ben Boeckel c61ece5c40 clang-tidy: fix modernize-use-auto lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 64c0702f91 clang-tidy: fix readability-static-accessed-through-instance lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 1b929ba8e4 clang-tidy: fix modernize-use-nullptr lints 2022-11-29 12:39:29 -05:00
Ben Boeckel bcada09e45 clang-tidy: fix readability-redundant-access-specifiers lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 860adec528 clang-tidy: fix modernize-pass-by-value lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 27e37b8a5a clang-tidy: fix modernize-use-override lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 83d685ee1b clang-tidy: fix modernize-use-equals-default lints 2022-11-29 12:39:29 -05:00
Ben Boeckel f8a2926986 clang-tidy: fix modernize-use-default-member-init lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 63453bf4ef clang-tidy: fix readability-avoid-const-params-in-decls lints 2022-11-29 12:39:29 -05:00
Ben Boeckel 1ed9974ce5 cmVisualStudio10TargetGenerator: remove unused variable 2022-11-29 12:39:28 -05:00
Brad King b1bb41c32e Merge topic 'cxxmodules-refactor-detection-support'
e37ff5694c cmGeneratorTarget: factor out fileset info and scanning detection
9e61fc3d6d cmGeneratorTarget: factor out dyndep support detection
5e026739e1 cmGlobalGenerator: factor out C++ module support checking

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7951
2022-11-29 10:32:37 -05:00
Kitware Robot 9553e72b0d CMake Nightly Date Stamp 2022-11-29 00:01:08 -05:00