summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.h
diff options
context:
space:
mode:
authorIsaiah Norton <isaiah.norton@gmail.com>2017-12-09 16:46:58 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-23 18:15:53 (GMT)
commit93bc5848e75101477215c3131b7b7ff2b4eb7053 (patch)
tree8ae8649c98c9a41c42486695b05a959d3b46f5b1 /Source/CPack/cmCPackGenerator.h
parent9c52b587b6dfa54266bcebbe7e111d7dde437a75 (diff)
downloadCMake-93bc5848e75101477215c3131b7b7ff2b4eb7053.zip
CMake-93bc5848e75101477215c3131b7b7ff2b4eb7053.tar.gz
CMake-93bc5848e75101477215c3131b7b7ff2b4eb7053.tar.bz2
CPack: accept --trace and --trace-expand
Diffstat (limited to 'Source/CPack/cmCPackGenerator.h')
-rw-r--r--Source/CPack/cmCPackGenerator.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h
index 8100b66..c22f36b 100644
--- a/Source/CPack/cmCPackGenerator.h
+++ b/Source/CPack/cmCPackGenerator.h
@@ -36,6 +36,16 @@ public:
}
/**
+ * Put underlying cmake scripts in trace mode.
+ */
+ void SetTrace(bool val) { this->Trace = val; }
+
+ /**
+ * Put underlying cmake scripts in expanded trace mode.
+ */
+ void SetTraceExpand(bool val) { this->TraceExpand = val; }
+
+ /**
* Returns true if the generator may work on this system.
* Rational:
* Some CPack generator may run on some host and may not on others
@@ -295,6 +305,8 @@ protected:
ComponentPackageMethod componentPackageMethod;
cmCPackLog* Logger;
+ bool Trace;
+ bool TraceExpand;
private:
cmMakefile* MakefileMap;