diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-12-14 18:44:52 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-12-15 23:43:47 (GMT) |
commit | e84fcbcb0b7c33caf35fbdfde411e8636f4d31f9 (patch) | |
tree | 332a054ac99340340fa00103c5eee72046569143 /Source/cmCxxModuleMapper.cxx | |
parent | 5e35913382d0bbca6b843f6bbe2fd52fa47d32c9 (diff) | |
download | CMake-e84fcbcb0b7c33caf35fbdfde411e8636f4d31f9.zip CMake-e84fcbcb0b7c33caf35fbdfde411e8636f4d31f9.tar.gz CMake-e84fcbcb0b7c33caf35fbdfde411e8636f4d31f9.tar.bz2 |
cxxmodules: support new round of Clang patches
These patches now support the `-MF` output, so remove the `none` support
added just for the old patchset which did not use it.
Also update the flag name to `-fmodule-output=`.
Due to the new Clang module mapper flag, use a new experimental support
UUID as well.
Diffstat (limited to 'Source/cmCxxModuleMapper.cxx')
-rw-r--r-- | Source/cmCxxModuleMapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCxxModuleMapper.cxx b/Source/cmCxxModuleMapper.cxx index ca4ffdf..cb37f2b 100644 --- a/Source/cmCxxModuleMapper.cxx +++ b/Source/cmCxxModuleMapper.cxx @@ -47,7 +47,7 @@ std::string CxxModuleMapContentClang(CxxModuleLocations const& loc, // extension. mm << "-x c++-module\n"; - mm << "-fsave-std-c++-module-file=" << *bmi_loc << '\n'; + mm << "-fmodule-output=" << *bmi_loc << '\n'; break; } } |