summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/myinterface.h.in
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-18 07:09:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-25 21:41:21 (GMT)
commit1320e0768e57754b51294a00480927d50176bf02 (patch)
treeec1847962c1a9562a67056bc63cbab8ee6cb1c00 /Tests/QtAutogen/myinterface.h.in
parentda6b86f4f031b189768dc474721145a1b99f71ea (diff)
downloadCMake-1320e0768e57754b51294a00480927d50176bf02.zip
CMake-1320e0768e57754b51294a00480927d50176bf02.tar.gz
CMake-1320e0768e57754b51294a00480927d50176bf02.tar.bz2
cmQtAutogen: Allow specifying depends for autogen targets.
Test this by generating files with a custom target, which moc requires to be present when it is run.
Diffstat (limited to 'Tests/QtAutogen/myinterface.h.in')
-rw-r--r--Tests/QtAutogen/myinterface.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/QtAutogen/myinterface.h.in b/Tests/QtAutogen/myinterface.h.in
new file mode 100644
index 0000000..c6c0ba1
--- /dev/null
+++ b/Tests/QtAutogen/myinterface.h.in
@@ -0,0 +1,14 @@
+
+#ifndef MYINTERFACE_H
+#define MYINTERFACE_H
+
+#include <QObject>
+
+class MyInterface
+{
+
+};
+
+Q_DECLARE_INTERFACE(MyInterface, "org.cmake.example.MyInterface")
+
+#endif