diff options
author | Shane Parris <shane.lee.parris@gmail.com> | 2018-02-14 16:26:35 (GMT) |
---|---|---|
committer | Shane Parris <shane.lee.parris@gmail.com> | 2018-03-29 14:58:03 (GMT) |
commit | 599c93e22d02d34d763d0156fcd29bb2930dec07 (patch) | |
tree | c20d6b3837429a1892ea4ccc1a26914a3918cc64 /Source/cmake.cxx | |
parent | 08b49c277daa5e833a2ff4673c8dd1ab003eb8d9 (diff) | |
download | CMake-599c93e22d02d34d763d0156fcd29bb2930dec07.zip CMake-599c93e22d02d34d763d0156fcd29bb2930dec07.tar.gz CMake-599c93e22d02d34d763d0156fcd29bb2930dec07.tar.bz2 |
Add cmGlobVerificationManager class, integrate with cmake and cmState
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 323bcf6..41a3a22 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1434,6 +1434,7 @@ int cmake::ActualConfigure() // only save the cache if there were no fatal errors if (this->GetWorkingMode() == NORMAL_MODE) { + this->State->SaveVerificationScript(this->GetHomeOutputDirectory()); this->SaveCache(this->GetHomeOutputDirectory()); } if (cmSystemTools::GetErrorOccuredFlag()) { @@ -1649,6 +1650,33 @@ void cmake::AddCacheEntry(const std::string& key, const char* value, this->UnwatchUnusedCli(key); } +bool cmake::DoWriteGlobVerifyTarget() const +{ + return this->State->DoWriteGlobVerifyTarget(); +} + +std::string const& cmake::GetGlobVerifyScript() const +{ + return this->State->GetGlobVerifyScript(); +} + +std::string const& cmake::GetGlobVerifyStamp() const +{ + return this->State->GetGlobVerifyStamp(); +} + +void cmake::AddGlobCacheEntry(bool recurse, bool listDirectories, + bool followSymlinks, const std::string& relative, + const std::string& expression, + const std::vector<std::string>& files, + const std::string& variable, + cmListFileBacktrace const& backtrace) +{ + this->State->AddGlobCacheEntry(recurse, listDirectories, followSymlinks, + relative, expression, files, variable, + backtrace); +} + std::string cmake::StripExtension(const std::string& file) const { auto dotpos = file.rfind('.'); |