summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerator.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-04-03 10:45:16 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-04-03 15:20:30 (GMT)
commitccc38fa509301a135e68542f9965f3ea9f0547b7 (patch)
tree7c8f83fd67b8c012113f0f6977c63c5bbf56e6fc /Source/cmQtAutoGenerator.h
parent719b24c87244ac612cfdc85da0e75140b87df673 (diff)
downloadCMake-ccc38fa509301a135e68542f9965f3ea9f0547b7.zip
CMake-ccc38fa509301a135e68542f9965f3ea9f0547b7.tar.gz
CMake-ccc38fa509301a135e68542f9965f3ea9f0547b7.tar.bz2
Autogen: Protected calls to cmFilePathChecksum
Closes #17861 Closes #17862
Diffstat (limited to 'Source/cmQtAutoGenerator.h')
-rw-r--r--Source/cmQtAutoGenerator.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerator.h b/Source/cmQtAutoGenerator.h
index b3a53bc..0995b46 100644
--- a/Source/cmQtAutoGenerator.h
+++ b/Source/cmQtAutoGenerator.h
@@ -5,6 +5,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
+#include "cmFilePathChecksum.h"
#include "cmQtAutoGen.h"
#include "cmUVHandlePtr.h"
#include "cmUVSignalHackRAII.h" // IWYU pragma: keep
@@ -89,6 +90,13 @@ public:
std::string GetFilenameWithoutLastExtension(const std::string& filename);
/// @brief Wrapper for cmQtAutoGen::SubDirPrefix
std::string SubDirPrefix(std::string const& filename);
+ /// @brief Wrapper for cmFilePathChecksum::setupParentDirs
+ void setupFilePathChecksum(std::string const& currentSrcDir,
+ std::string const& currentBinDir,
+ std::string const& projectSrcDir,
+ std::string const& projectBinDir);
+ /// @brief Wrapper for cmFilePathChecksum::getPart
+ std::string GetFilePathChecksum(std::string const& filename);
// -- File access
bool FileExists(std::string const& filename);
@@ -124,6 +132,7 @@ public:
private:
std::mutex Mutex_;
+ cmFilePathChecksum FilePathChecksum_;
Logger* Log_;
};