summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorArctic Lampyrid <ArcticLampyrid@outlook.com>2024-03-19 03:32:22 (GMT)
committerArctic Lampyrid <ArcticLampyrid@outlook.com>2024-03-19 18:30:53 (GMT)
commitf578515d0298d73552c5c2c01a8a4195862cde60 (patch)
tree0416ee0be88c6d0261bf80fe6b4d6ffad66318a3 /Source/cmake.cxx
parentc61bbf48c5593633c46938545085d991cb953a69 (diff)
downloadCMake-f578515d0298d73552c5c2c01a8a4195862cde60.zip
CMake-f578515d0298d73552c5c2c01a8a4195862cde60.tar.gz
CMake-f578515d0298d73552c5c2c01a8a4195862cde60.tar.bz2
cmGlobCacheEntry: Add helper to carry CONFIGURE_DEPENDS glob cache arguments
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 88fac8d..43a0b06 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -48,6 +48,7 @@
#include "cmExternalMakefileProjectGenerator.h"
#include "cmFileTimeCache.h"
#include "cmGeneratorTarget.h"
+#include "cmGlobCacheEntry.h"
#include "cmGlobalGenerator.h"
#include "cmGlobalGeneratorFactory.h"
#include "cmLinkLineComputer.h"
@@ -2949,16 +2950,12 @@ 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,
+void cmake::AddGlobCacheEntry(const cmGlobCacheEntry& entry,
const std::string& variable,
cmListFileBacktrace const& backtrace)
{
- this->State->AddGlobCacheEntry(recurse, listDirectories, followSymlinks,
- relative, expression, files, variable,
- backtrace, this->Messenger.get());
+ this->State->AddGlobCacheEntry(entry, variable, backtrace,
+ this->Messenger.get());
}
std::vector<std::string> cmake::GetAllExtensions() const