summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocCMP0100/main.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@web.de>2019-12-30 15:00:15 (GMT)
committerSebastian Holtermann <sebholt@web.de>2020-01-04 10:33:05 (GMT)
commit9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43 (patch)
treee5a52bff402d634c609da7fbd8d6d05dd7c10400 /Tests/QtAutogen/MocCMP0100/main.cpp
parent8c2be3ae94986586aedc3c710694ee7f38296412 (diff)
downloadCMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.zip
CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.tar.gz
CMake-9eab3cad6a118b1dc3b8bcb4da3d6f29c67fce43.tar.bz2
Tests: Add AUTOGEN policy CMP0100 test
Add a test for policy CMP0100 that configures whether or not AUTOMOC and AUTOUIC should process .hh header files.
Diffstat (limited to 'Tests/QtAutogen/MocCMP0100/main.cpp')
-rw-r--r--Tests/QtAutogen/MocCMP0100/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocCMP0100/main.cpp b/Tests/QtAutogen/MocCMP0100/main.cpp
new file mode 100644
index 0000000..17061da
--- /dev/null
+++ b/Tests/QtAutogen/MocCMP0100/main.cpp
@@ -0,0 +1,9 @@
+#include "Obj.hh"
+#include "Obj2.hh"
+
+int main(int argv, char** args)
+{
+ Obj obj;
+ Obj2 obj2;
+ return 0;
+}