diff options
author | Igor Ivanov <artalus-mail@yandex.ru> | 2019-08-10 08:41:53 (GMT) |
---|---|---|
committer | Igor Ivanov <artalus-mail@yandex.ru> | 2019-08-10 08:41:53 (GMT) |
commit | 3c94069660112f841df3bae66891e05bfc7bad00 (patch) | |
tree | d173ed0adfdfddb1cf4da0f2230960b0165a8b7c /Source/cmake.h | |
parent | 2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9 (diff) | |
download | CMake-3c94069660112f841df3bae66891e05bfc7bad00.zip CMake-3c94069660112f841df3bae66891e05bfc7bad00.tar.gz CMake-3c94069660112f841df3bae66891e05bfc7bad00.tar.bz2 |
Add --trace-redirect parameter to redirect trace output to a file
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 92494ae..fdcf50f 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -13,6 +13,7 @@ #include <unordered_set> #include <vector> +#include "cmGeneratedFileStream.h" #include "cmInstalledFile.h" #include "cmListFileCache.h" #include "cmMessageType.h" @@ -401,6 +402,9 @@ public: { return this->TraceOnlyThisSources; } + cmGeneratedFileStream& GetTraceFile() { return this->TraceFile; } + void SetTraceFile(std::string const& file); + bool GetWarnUninitialized() { return this->WarnUninitialized; } void SetWarnUninitialized(bool b) { this->WarnUninitialized = b; } bool GetWarnUnused() { return this->WarnUnused; } @@ -547,6 +551,7 @@ private: bool DebugOutput = false; bool Trace = false; bool TraceExpand = false; + cmGeneratedFileStream TraceFile; bool WarnUninitialized = false; bool WarnUnused = false; bool WarnUnusedCli = true; |