summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-20 13:18:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-20 13:20:49 (GMT)
commita0c8405d681d504f5d96489c2b5d44f10a29c6ed (patch)
tree260f79572b035b6791aa3d2480e729d6fffc0da9 /Source/cmake.h
parentb80417f0fd1491d1c0f5d57019b47d4c13729545 (diff)
parent3c94069660112f841df3bae66891e05bfc7bad00 (diff)
downloadCMake-a0c8405d681d504f5d96489c2b5d44f10a29c6ed.zip
CMake-a0c8405d681d504f5d96489c2b5d44f10a29c6ed.tar.gz
CMake-a0c8405d681d504f5d96489c2b5d44f10a29c6ed.tar.bz2
Merge topic 'trace-redirect'
3c94069660 Add --trace-redirect parameter to redirect trace output to a file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3645
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 4c73519..081e120 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;