summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocDepends/test3.hpp
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2017-08-02 21:44:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-08-02 21:44:59 (GMT)
commit54bc20dd8c4cc042621f21896e32a9b7e25aa892 (patch)
tree2e26c830c1b82a6d7d9145a21082002b729e538e /Tests/QtAutogen/mocDepends/test3.hpp
parent901456d76e769af3868d2163d9345ca53af16353 (diff)
parenta3a62fcc3cb5bc111764f5721694513d206c1cb9 (diff)
downloadCMake-54bc20dd8c4cc042621f21896e32a9b7e25aa892.zip
CMake-54bc20dd8c4cc042621f21896e32a9b7e25aa892.tar.gz
CMake-54bc20dd8c4cc042621f21896e32a9b7e25aa892.tar.bz2
Merge topic 'autogen-depends'
a3a62fcc Autogen: Add AUTOMOC test for target dependencies forwarding 7fa9c550 Autogen: Forward target dependencies to *_autogen target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1087
Diffstat (limited to 'Tests/QtAutogen/mocDepends/test3.hpp')
-rw-r--r--Tests/QtAutogen/mocDepends/test3.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocDepends/test3.hpp b/Tests/QtAutogen/mocDepends/test3.hpp
new file mode 100644
index 0000000..408335b
--- /dev/null
+++ b/Tests/QtAutogen/mocDepends/test3.hpp
@@ -0,0 +1,16 @@
+#ifndef TEST3_HPP
+#define TEST3_HPP
+
+#include "simpleLib.hpp"
+#include <QObject>
+
+// This object triggers the AUTOMOC on this file
+class LObject : public QObject
+{
+ Q_OBJECT
+public:
+ Q_SLOT
+ void aSlot(){};
+};
+
+#endif