summaryrefslogtreecommitdiffstats
path: root/src/angle/angle.pro
blob: 78b53dfa14c1d2ef7872b77c95315b6656e29579 (plain)
1
2
3
4
5
6
7
8
9
10
11
TEMPLATE = subdirs
SUBDIRS += src

# We do it this way instead of letting load(qt_module) handle it for two reasons:
#  1) qt_module_headers assumes the TARGET is the same as the include directory (eg: libGLESv2 != GLES2)
#  2) If we made a 'QtANGLE' module, the include directory would be flattened which won't work since
#     we need to support "#include <GLES2/gl2.h>"
CONFIG += minimal_syncqt
QMAKE_SYNCQT_OPTIONS = -module QtANGLE/KHR -module QtANGLE/EGL -module QtANGLE/GLES2 -version none
angle_d3d11: QMAKE_SYNCQT_OPTIONS += -module QtANGLE/GLES3
load(qt_module_headers)