summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-09-25 16:00:02 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2020-09-25 18:00:06 (GMT)
commitb6418155f35ce997eb9f252f63751d76ff7342bf (patch)
tree53f5eea3b9ae406ae42c66a16ac2e7a4d757bcfd /Source/cmGeneratorTarget.h
parent0cd1ef0932dfb4c0c2c7d0eaa5d91a8593b3a3d7 (diff)
downloadCMake-b6418155f35ce997eb9f252f63751d76ff7342bf.zip
CMake-b6418155f35ce997eb9f252f63751d76ff7342bf.tar.gz
CMake-b6418155f35ce997eb9f252f63751d76ff7342bf.tar.bz2
cmGeneratorTarget: Include Cache now occurs per language+config
Previously only occurred per config which broke per-language system includes.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 8e0def7..2390b03 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -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;