summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorDmitry Kochkin <dmitry.kochkin@here.com>2017-02-25 21:56:13 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-27 14:22:08 (GMT)
commit73a6d4566a9fa13ffaef2f1111be808a220ba867 (patch)
treea000d963b09b7b30c82fd46d087ef2ae1cb47c32 /Source/cmGeneratorTarget.h
parentcdb6d7df970fcaaf6cda1bef9955351222e1bcde (diff)
downloadCMake-73a6d4566a9fa13ffaef2f1111be808a220ba867.zip
CMake-73a6d4566a9fa13ffaef2f1111be808a220ba867.tar.gz
CMake-73a6d4566a9fa13ffaef2f1111be808a220ba867.tar.bz2
VS: Cache the list of xaml and resx headers
Speed up VS project generation with many such headers.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 689fbda..e72e0a6 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -739,6 +739,10 @@ private:
bool ComputePDBOutputDir(const std::string& kind, const std::string& config,
std::string& out) const;
+ typedef std::map<std::string, std::set<std::string> > HeadersCacheType;
+ mutable HeadersCacheType ResxHeadersCache;
+ mutable HeadersCacheType XamlHeadersCache;
+
public:
const std::vector<const cmGeneratorTarget*>& GetLinkImplementationClosure(
const std::string& config) const;