diff options
author | Arctic Lampyrid <ArcticLampyrid@outlook.com> | 2024-03-19 03:32:22 (GMT) |
---|---|---|
committer | Arctic Lampyrid <ArcticLampyrid@outlook.com> | 2024-03-19 18:30:53 (GMT) |
commit | f578515d0298d73552c5c2c01a8a4195862cde60 (patch) | |
tree | 0416ee0be88c6d0261bf80fe6b4d6ffad66318a3 /Source/cmState.cxx | |
parent | c61bbf48c5593633c46938545085d991cb953a69 (diff) | |
download | CMake-f578515d0298d73552c5c2c01a8a4195862cde60.zip CMake-f578515d0298d73552c5c2c01a8a4195862cde60.tar.gz CMake-f578515d0298d73552c5c2c01a8a4195862cde60.tar.bz2 |
cmGlobCacheEntry: Add helper to carry CONFIGURE_DEPENDS glob cache arguments
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index d104268..8c881c5 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -16,6 +16,7 @@ #include "cmCommand.h" #include "cmDefinitions.h" #include "cmExecutionStatus.h" +#include "cmGlobCacheEntry.h" #include "cmGlobVerificationManager.h" #include "cmList.h" #include "cmListFileCache.h" @@ -238,15 +239,13 @@ bool cmState::SaveVerificationScript(const std::string& path, messenger); } -void cmState::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, cmMessenger* messenger) +void cmState::AddGlobCacheEntry(const cmGlobCacheEntry& entry, + const std::string& variable, + cmListFileBacktrace const& backtrace, + cmMessenger* messenger) { - this->GlobVerificationManager->AddCacheEntry( - recurse, listDirectories, followSymlinks, relative, expression, files, - variable, backtrace, messenger); + this->GlobVerificationManager->AddCacheEntry(entry, variable, backtrace, + messenger); } void cmState::RemoveCacheEntry(std::string const& key) |