summaryrefslogtreecommitdiffstats
path: root/ogl-runtime.pro
diff options
context:
space:
mode:
authorPasi Keränen <pasi.keranen@qt.io>2019-06-06 16:22:02 +0300
committerPasi Keränen <pasi.keranen@qt.io>2019-06-07 13:52:44 +0300
commitb4954701093739e7a4e54a0669f306922d0d4605 (patch)
tree73d71319a921234f6b507c9098fdc842f7fe06dc /ogl-runtime.pro
parent8548a5f5579e3eee7e5ae6b1f6901dcc8bfee19e (diff)
Long live the slayer!
Initial commit of OpenGL Runtime to repository. Based on SHA1 61823aaccc6510699a54b34a2fe3f7523dab3b4e of qt3dstudio repository. Task-number: QT3DS-3600 Change-Id: Iaeb80237399f0e5656a19ebec9d1ab3a681d8832 Reviewed-by: Pasi Keränen <pasi.keranen@qt.io>
Diffstat (limited to 'ogl-runtime.pro')
-rw-r--r--ogl-runtime.pro32
1 files changed, 32 insertions, 0 deletions
diff --git a/ogl-runtime.pro b/ogl-runtime.pro
new file mode 100644
index 0000000..e4bac15
--- /dev/null
+++ b/ogl-runtime.pro
@@ -0,0 +1,32 @@
+requires(!ios)
+requires(!integrity)
+requires(!qnx)
+requires(!tvos)
+requires(!watchos)
+requires(!winrt)
+requires(!wasm)
+
+ios|integrity|qnx|tvos|watchos|winrt|wasm|*-icc*: {
+ message("WARNING, target excluded from ogl-runtime")
+ #Exclude non-working cross-compile targets, see:
+ # QT3DS-3645 ogl-runtime doesn't compile on INTEGRITY_11_04 in CI
+ # QT3DS-3647 ogl-runtime doesn't compile on TvOS_ANY in CI
+ # QT3DS-3648 ogl-runtime doesn't compile on WatchOS_ANY in CI
+ # QT3DS-3646 ogl-runtime doesn't compile on IOS_ANY in CI
+ # QT3DS-3649 ogl-runtime doesn't compile on WinRT in CI
+ # QT3DS-3650 ogl-runtime doesn't compile on WebAssembly in CI
+ # QT3DS-3652 ogl-runtime doesn't compile on QNX in CI
+ TEMPLATE = subdirs
+ CONFIG += ordered
+ SUBDIRS += src_dummy
+} else {
+ contains(QMAKE_TARGET.os, WinRT)|contains(QMAKE_TARGET.os, TvOS)|contains(QMAKE_TARGET.os, IOS)|contains(QMAKE_TARGET.os, WatchOS)|contains(QMAKE_TARGET.os, INTEGRITY)|contains(QMAKE_TARGET.os, QNX) {
+ message("WARNING, target OS excluded from ogl-runtime")
+ TEMPLATE = subdirs
+ CONFIG += ordered
+ SUBDIRS += src_dummy
+ } else {
+ load(qt_parts)
+ requires(qtHaveModule(opengl))
+ }
+}