summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
parent5596989f92fd36615e203215ef274bff80bb7e31 (diff)
Add support for building with CMake
Change-Id: If6c887c6356a160a5f3fb906d38a341fff0c7b29 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt5
-rw-r--r--tools/qgltf/CMakeLists.txt21
2 files changed, 26 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 000000000..05b06d750
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from tools.pro.
+
+if(QT_FEATURE_assimp AND QT_FEATURE_commandlineparser)
+ add_subdirectory(qgltf)
+endif()
diff --git a/tools/qgltf/CMakeLists.txt b/tools/qgltf/CMakeLists.txt
new file mode 100644
index 000000000..2cbc5de26
--- /dev/null
+++ b/tools/qgltf/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from qgltf.pro.
+
+#####################################################################
+## qgltf Tool:
+#####################################################################
+
+qt_add_tool(qgltf
+ SOURCES
+ qgltf.cpp
+ EXCEPTIONS # special case
+ PUBLIC_LIBRARIES
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:qgltf.pro:<TRUE>:
+# _OPTION = "host_build"
+
+## Scopes:
+#####################################################################
+include(../../src/3rdparty/assimp/assimp.cmake)
+qt3d_extend_target_for_assimp(qgltf)