diff options
author | Brad King <brad.king@kitware.com> | 2021-12-07 20:18:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-08 15:03:48 (GMT) |
commit | 3d378541bb22f00e3a22bf5f12e97b7943a81294 (patch) | |
tree | 853fa2666199c276b677e28c6b9c15fce70481c9 /Source/cmGlobVerificationManager.h | |
parent | 642238b3021ccb1923e57563bb61e0abb0111c84 (diff) | |
download | CMake-3d378541bb22f00e3a22bf5f12e97b7943a81294.zip CMake-3d378541bb22f00e3a22bf5f12e97b7943a81294.tar.gz CMake-3d378541bb22f00e3a22bf5f12e97b7943a81294.tar.bz2 |
cmMessenger: Adopt backtrace printing functions
Move backtrace printing functions from `cmListFileBacktrace` over to
`cmMessenger`, their primary caller. Thread `cmMessenger` instances
through APIs needed to update other call sites.
Diffstat (limited to 'Source/cmGlobVerificationManager.h')
-rw-r--r-- | Source/cmGlobVerificationManager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobVerificationManager.h b/Source/cmGlobVerificationManager.h index b618fb0..52d71aa 100644 --- a/Source/cmGlobVerificationManager.h +++ b/Source/cmGlobVerificationManager.h @@ -12,6 +12,8 @@ #include "cmListFileCache.h" +class cmMessenger; + /** \class cmGlobVerificationManager * \brief Class for expressing build-time dependencies on glob expressions. * @@ -23,7 +25,7 @@ class cmGlobVerificationManager protected: //! Save verification script for given makefile. //! Saves to output <path>/<CMakeFilesDirectory>/VerifyGlobs.cmake - bool SaveVerificationScript(const std::string& path); + bool SaveVerificationScript(const std::string& path, cmMessenger* messenger); //! Add an entry into the glob cache void AddCacheEntry(bool recurse, bool listDirectories, bool followSymlinks, @@ -31,7 +33,7 @@ protected: const std::string& expression, const std::vector<std::string>& files, const std::string& variable, - const cmListFileBacktrace& bt); + const cmListFileBacktrace& bt, cmMessenger* messenger); //! Clear the glob cache for state reset. void Reset(); |