summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerator.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-06-14 14:14:57 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-06-21 17:16:40 (GMT)
commite28dc3b1d8863bc39e9f7545beb50a2f35fd2647 (patch)
tree3d89191a9d368bd6ed3e509d3e13cc27d3d13112 /Source/cmQtAutoGenerator.h
parent39f40bde4b783e738addb4327c53c8b47a0c0178 (diff)
downloadCMake-e28dc3b1d8863bc39e9f7545beb50a2f35fd2647.zip
CMake-e28dc3b1d8863bc39e9f7545beb50a2f35fd2647.tar.gz
CMake-e28dc3b1d8863bc39e9f7545beb50a2f35fd2647.tar.bz2
Autogen: Add CMAKE_AUTOGEN_VERBOSE variable support
Setting CMAKE_AUTOGEN_VERBOSE enables verbose output during AUTOMOC, AUTOUIC and AUTORCC generation.
Diffstat (limited to 'Source/cmQtAutoGenerator.h')
-rw-r--r--Source/cmQtAutoGenerator.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenerator.h b/Source/cmQtAutoGenerator.h
index 4e38413..75143f5 100644
--- a/Source/cmQtAutoGenerator.h
+++ b/Source/cmQtAutoGenerator.h
@@ -33,8 +33,11 @@ public:
{
public:
// -- Verbosity
- bool Verbose() const { return this->Verbose_; }
- void SetVerbose(bool value);
+ unsigned int Verbosity() const { return this->Verbosity_; }
+ void SetVerbosity(unsigned int value) { this->Verbosity_ = value; }
+ void RaiseVerbosity(std::string const& value);
+ bool Verbose() const { return (this->Verbosity_ != 0); }
+ void SetVerbose(bool value) { this->Verbosity_ = value ? 1 : 0; }
bool ColorOutput() const { return this->ColorOutput_; }
void SetColorOutput(bool value);
// -- Log info
@@ -56,8 +59,8 @@ public:
private:
std::mutex Mutex_;
- bool volatile Verbose_ = false;
- bool volatile ColorOutput_ = false;
+ unsigned int Verbosity_ = 0;
+ bool ColorOutput_ = false;
};
/// @brief Thread safe file system interface