cxxmodules: generate synthetic targets as an initial pass

We need to be able to construct BMIs that will be usable from the client
modules for the target importing the module, so create BMI-only
compilation rules for `IMPORTED` targets to create these BMIs.
This commit is contained in:
Ben Boeckel
2023-02-07 18:01:00 -05:00
parent 3dc6676ecc
commit 80d6544398
8 changed files with 344 additions and 1 deletions
+2
View File
@@ -41,6 +41,8 @@ public:
const std::string& GetType() const { return this->Type; }
cmFileSetVisibility GetVisibility() const { return this->Visibility; }
void CopyEntries(cmFileSet const* fs);
void ClearDirectoryEntries();
void AddDirectoryEntry(BT<std::string> directories);
const std::vector<BT<std::string>>& GetDirectoryEntries() const