summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-14 18:06:38 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-19 11:35:40 (GMT)
commit22faeef2626e10b281c82d10ba2653ecd940f398 (patch)
treeaffcc3e447ba173c0ccc26f8fff2c25ea0257714 /Source/cmQtAutoGenerators.h
parent32d0ee3576c9203104a17c6a75bfc1bf13192045 (diff)
downloadCMake-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.h4
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 ||