Support C++20 modules, MSVC part - #836
Conversation
- Enable /scanDependencies for module dependency scanning - Add include paths to the module compile/codegen/deps-scanning actions - Select the cpp_module artifact extension (.ifc) by Bazel version, matching the unix toolchain's behavior
42aceef to
9cef373
Compare
|
@trybka @fmeum @lilygorsheneva This PR is ready to review. The macOS CI failure appears to be unrelated to this PR. Here is the example of hello world with MSVC. see https://github.com/PikachuHyA/bazel_cxx20_modules_demo/actions/runs/31608155422/job/94152354307 There is another error similar to a GCC error I'm currently working on, and it is out of scope for this PR. see https://github.com/PikachuHyA/bazel_cxx20_modules_demo/actions/runs/31608155422/job/94152354238 note: when using C++20 modules with the MSVC toolchain, |
|
I don't know anything about MSVC, not sure i'm qualified to review this |
|
@peakschris Sorry for the ping. I noticed your related comment in bazelbuild/bazel#19939 (comment) . |
/scanDependenciesfor module dependency scanningmatching the unix toolchain's behavior
about
cl.exe /scanDependencies, see https://learn.microsoft.com/en-us/cpp/build/reference/scandependencies?view=msvc-170