cmExport*FileGenerator: support exporting C++ module properties

C++ module properties will be generated at build time, so generate code
that includes the files actually responsible for the information.
This commit is contained in:
Ben Boeckel
2022-04-22 18:20:30 -04:00
parent fe44cbe9e7
commit 3526b8c123
15 changed files with 414 additions and 1 deletions

View File

@@ -91,6 +91,10 @@ protected:
std::string GetFileSetFiles(cmGeneratorTarget* gte, cmFileSet* fileSet,
cmTargetExport* te) override;
std::string GetCxxModulesDirectory() const override;
void GenerateCxxModuleConfigInformation(std::ostream&) const override;
bool GenerateImportCxxModuleConfigTargetInclusion(std::string) const;
std::pair<std::vector<std::string>, std::string> FindBuildExportInfo(
cmGlobalGenerator* gg, const std::string& name);