diff options
Diffstat (limited to 'config.tests/unix/opengles3/opengles3.pro')
-rw-r--r-- | config.tests/unix/opengles3/opengles3.pro | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config.tests/unix/opengles3/opengles3.pro b/config.tests/unix/opengles3/opengles3.pro new file mode 100644 index 0000000000..6942b57327 --- /dev/null +++ b/config.tests/unix/opengles3/opengles3.pro @@ -0,0 +1,16 @@ +# The library is expected to be the same as in ES 2.0 (libGLESv2). +# The difference is the header and the presence of the functions in +# the library. + +SOURCES = opengles3.cpp +INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2 + +for(p, QMAKE_LIBDIR_OPENGL_ES2) { + exists($$p):LIBS += -L$$p +} + +CONFIG -= qt +LIBS += $$QMAKE_LIBS_OPENGL_ES2 +mac { + DEFINES += BUILD_ON_MAC +} |