summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick3d/quick3dnode/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-05-08 14:06:53 +0100
committerMike Krus <mike.krus@kdab.com>2020-05-22 08:53:50 +0100
commit22dd30949938083aceda8267c41c920c61c0d388 (patch)
treea49704414a853624006b860d1a92689bc4f5ca88 /tests/auto/quick3d/quick3dnode/CMakeLists.txt
parent5596989f92fd36615e203215ef274bff80bb7e31 (diff)
Add support for building with CMake
Change-Id: If6c887c6356a160a5f3fb906d38a341fff0c7b29 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests/auto/quick3d/quick3dnode/CMakeLists.txt')
-rw-r--r--tests/auto/quick3d/quick3dnode/CMakeLists.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/auto/quick3d/quick3dnode/CMakeLists.txt b/tests/auto/quick3d/quick3dnode/CMakeLists.txt
new file mode 100644
index 000000000..520cec50a
--- /dev/null
+++ b/tests/auto/quick3d/quick3dnode/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from quick3dnode.pro.
+
+#####################################################################
+## tst_quick3dnode Test:
+#####################################################################
+
+qt_add_test(tst_quick3dnode
+ SOURCES
+ ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h
+ tst_quick3dnode.cpp
+ INCLUDE_DIRECTORIES
+ ../../render/qmlscenereader
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DQuickPrivate
+ Qt::3DQuickRenderPrivate
+ Qt::3DRender
+ Qt::3DRenderPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set(quick3dnode_resource_files
+ "quick3dnodev9.qml"
+)
+
+qt_add_resource(tst_quick3dnode "quick3dnode"
+ PREFIX
+ "/"
+ FILES
+ ${quick3dnode_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:quick3dnode.pro:<TRUE>:
+# TEMPLATE = "app"