summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/mocDepends/testGenLib.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-09-06 11:18:47 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-09-07 16:03:14 (GMT)
commit2be0acb71e25cd425de71b047a0c77087e51c607 (patch)
treeebf98d072a79563bb7b69aed03be548c9e7adee1 /Tests/QtAutogen/mocDepends/testGenLib.cpp
parent734d236c07ee379454ab4c9f57c89645e83a892d (diff)
downloadCMake-2be0acb71e25cd425de71b047a0c77087e51c607.zip
CMake-2be0acb71e25cd425de71b047a0c77087e51c607.tar.gz
CMake-2be0acb71e25cd425de71b047a0c77087e51c607.tar.bz2
Autogen: Tests: Add AUTOGEN_TARGET_DEPENDS test to mocDepends tests
Diffstat (limited to 'Tests/QtAutogen/mocDepends/testGenLib.cpp')
-rw-r--r--Tests/QtAutogen/mocDepends/testGenLib.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/mocDepends/testGenLib.cpp b/Tests/QtAutogen/mocDepends/testGenLib.cpp
new file mode 100644
index 0000000..c14e159
--- /dev/null
+++ b/Tests/QtAutogen/mocDepends/testGenLib.cpp
@@ -0,0 +1,12 @@
+
+#include "testGenLib.hpp"
+
+int main()
+{
+ SimpleLib libObject;
+ LObject lobject;
+ return 0;
+}
+
+// Depend on and AUTOMOC the SimpleLib header simpleLib.hpp
+#include "moc_simpleLib.cpp"