cmGeneratorTarget: Include Cache now occurs per language+config

Previously only occurred per config which broke per-language
system includes.
This commit is contained in:
Robert Maynard
2020-09-25 12:00:02 -04:00
parent 0cd1ef0932
commit b6418155f3
7 changed files with 50 additions and 4 deletions

View File

@@ -849,6 +849,8 @@ private:
mutable std::set<std::string> VisitedConfigsForObjects;
mutable std::map<cmSourceFile const*, std::string> Objects;
std::set<cmSourceFile const*> ExplicitObjectName;
// "config/language" is the key
mutable std::map<std::string, std::vector<std::string>> SystemIncludesCache;
mutable std::string ExportMacro;