summaryrefslogtreecommitdiffstats
path: root/Source/cmCxxModuleMapper.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-07-19 20:03:32 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-08-02 14:53:38 (GMT)
commit297e0f4dce189183ff07cc8a79de6ae72c81974b (patch)
treea7349a45e0a1430ea57fb78d17b45baae841c291 /Source/cmCxxModuleMapper.h
parentb3c2880cb2d5750c8a4508fa41e6552808da2bd3 (diff)
downloadCMake-297e0f4dce189183ff07cc8a79de6ae72c81974b.zip
CMake-297e0f4dce189183ff07cc8a79de6ae72c81974b.tar.gz
CMake-297e0f4dce189183ff07cc8a79de6ae72c81974b.tar.bz2
cmCxxModuleMapper: support MSVC module map format
THis is a set of flags stored in a response file which informs the compiler about where to place output BMI files as well as find the required BMIs.
Diffstat (limited to 'Source/cmCxxModuleMapper.h')
-rw-r--r--Source/cmCxxModuleMapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCxxModuleMapper.h b/Source/cmCxxModuleMapper.h
index 6d29fc0..8526a07 100644
--- a/Source/cmCxxModuleMapper.h
+++ b/Source/cmCxxModuleMapper.h
@@ -18,6 +18,7 @@
enum class CxxModuleMapFormat
{
Gcc,
+ Msvc,
};
struct CxxModuleLocations
@@ -80,4 +81,5 @@ std::set<std::string> CxxModuleUsageSeed(
// object file.
std::string CxxModuleMapContent(CxxModuleMapFormat format,
CxxModuleLocations const& loc,
- cmScanDepInfo const& obj);
+ cmScanDepInfo const& obj,
+ CxxModuleUsage const& usages);