diff options
author | Dmitry Kochkin <dmitry.kochkin@here.com> | 2017-02-25 21:56:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-27 14:22:08 (GMT) |
commit | 73a6d4566a9fa13ffaef2f1111be808a220ba867 (patch) | |
tree | a000d963b09b7b30c82fd46d087ef2ae1cb47c32 /Source/cmGeneratorTarget.h | |
parent | cdb6d7df970fcaaf6cda1bef9955351222e1bcde (diff) | |
download | CMake-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.h | 4 |
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; |