diff options
author | Brad King <brad.king@kitware.com> | 2021-01-11 14:58:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 17:47:58 (GMT) |
commit | e32818dd76879d43b4cd84f7f72cd3f83dbecbd6 (patch) | |
tree | 00158c6f94bdc4b736e2ee91b6ad8a0daa23b138 /Source/cmInstallGenerator.h | |
parent | eea61268e6f755e70a91770f7f512e29bc6a288c (diff) | |
download | CMake-e32818dd76879d43b4cd84f7f72cd3f83dbecbd6.zip CMake-e32818dd76879d43b4cd84f7f72cd3f83dbecbd6.tar.gz CMake-e32818dd76879d43b4cd84f7f72cd3f83dbecbd6.tar.bz2 |
cmInstallGenerator: Add backtrace to all install generators
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r-- | Source/cmInstallGenerator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h index ee55ee9..64ee9ed 100644 --- a/Source/cmInstallGenerator.h +++ b/Source/cmInstallGenerator.h @@ -9,6 +9,7 @@ #include <vector> #include "cmInstallType.h" +#include "cmListFileCache.h" #include "cmScriptGenerator.h" class cmLocalGenerator; @@ -32,7 +33,7 @@ public: cmInstallGenerator(std::string destination, std::vector<std::string> const& configurations, std::string component, MessageLevel message, - bool exclude_from_all); + bool exclude_from_all, cmListFileBacktrace backtrace); ~cmInstallGenerator() override; cmInstallGenerator(cmInstallGenerator const&) = delete; @@ -61,6 +62,8 @@ public: virtual bool Compute(cmLocalGenerator*) { return true; } + cmListFileBacktrace const& GetBacktrace() const { return this->Backtrace; } + protected: void GenerateScript(std::ostream& os) override; @@ -72,4 +75,5 @@ protected: std::string const Component; MessageLevel const Message; bool const ExcludeFromAll; + cmListFileBacktrace const Backtrace; }; |