diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-14 18:06:38 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-19 11:35:40 (GMT) |
commit | 22faeef2626e10b281c82d10ba2653ecd940f398 (patch) | |
tree | affcc3e447ba173c0ccc26f8fff2c25ea0257714 /Source/cmQtAutoGenerators.h | |
parent | 32d0ee3576c9203104a17c6a75bfc1bf13192045 (diff) | |
download | CMake-22faeef2626e10b281c82d10ba2653ecd940f398.zip CMake-22faeef2626e10b281c82d10ba2653ecd940f398.tar.gz CMake-22faeef2626e10b281c82d10ba2653ecd940f398.tar.bz2 |
Autogen: Add FooEnabled() utility methods
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index 36519c5..68cdbb4 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -109,6 +109,10 @@ private: std::multimap<std::string, std::string>& collisions); bool MakeParentDirectory(const std::string& filename); + bool MocEnabled() const { return !this->MocExecutable.empty(); } + bool UicEnabled() const { return !this->UicExecutable.empty(); } + bool RccEnabled() const { return !this->RccExecutable.empty(); } + bool GenerateAllAny() { return (this->GenerateAllMoc || this->GenerateAllRcc || |