summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-20 16:54:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-20 16:55:04 (GMT)
commit56a3e84a67bebd645914a65eea825aab365f88c7 (patch)
tree6769c97af9ca458f89932fc58e935eef15103bd6 /Source/cmGlobalGenerator.h
parenta44b83c138828039ff85443b4a3e631d79ce7e5b (diff)
parent9d5a554cc9de0ac03d2da7dc95b8ef1db4a526e9 (diff)
downloadCMake-56a3e84a67bebd645914a65eea825aab365f88c7.zip
CMake-56a3e84a67bebd645914a65eea825aab365f88c7.tar.gz
CMake-56a3e84a67bebd645914a65eea825aab365f88c7.tar.bz2
Merge topic 'realpath-cache'
9d5a554cc9 cmGlobalGenerator: Add cache for realpath() results Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4220
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index b427992..51c8d06 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -486,6 +486,8 @@ public:
configs.emplace_back("$<CONFIG>");
}
+ std::string const& GetRealPath(std::string const& dir);
+
protected:
// for a project collect all its targets by following depend
// information, and also collect all the targets
@@ -678,6 +680,8 @@ private:
mutable std::map<cmSourceFile*, std::set<cmGeneratorTarget const*>>
FilenameTargetDepends;
+ std::map<std::string, std::string> RealPaths;
+
#if !defined(CMAKE_BOOTSTRAP)
// Pool of file locks
cmFileLockPool FileLockPool;