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/cmState.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/cmState.h')
-rw-r--r-- | Source/cmState.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index a1666ca..b834bba 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -238,13 +238,14 @@ private: bool DoWriteGlobVerifyTarget() const; std::string const& GetGlobVerifyScript() const; std::string const& GetGlobVerifyStamp() const; - bool SaveVerificationScript(const std::string& path); + bool SaveVerificationScript(const std::string& path, cmMessenger* messenger); void 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& bt); + cmListFileBacktrace const& bt, + cmMessenger* messenger); cmPropertyDefinitionMap PropertyDefinitions; std::vector<std::string> EnabledLanguages; |