From 22faeef2626e10b281c82d10ba2653ecd940f398 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Tue, 14 Feb 2017 19:06:38 +0100 Subject: Autogen: Add FooEnabled() utility methods --- Source/cmQtAutoGenerators.h | 4 ++++ 1 file changed, 4 insertions(+) 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& 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 || -- cgit v0.12