automatically add the version header to HEADERS
[profile/ivi/qtbase.git] / src / opengl / opengl.pro
1 load(qt_module)
2
3 TARGET     = QtOpenGL
4 QPRO_PWD   = $$PWD
5 QT         = core-private gui-private widgets-private
6
7 MODULE_PRI = ../modules/qt_opengl.pri
8
9 DEFINES   += QT_BUILD_OPENGL_LIB
10 DEFINES   += QT_NO_USING_NAMESPACE
11 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x63000000
12 solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
13 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
14
15 unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
16
17 load(qt_module_config)
18
19 contains(QT_CONFIG, opengl):CONFIG += opengl
20 contains(QT_CONFIG, opengles1):CONFIG += opengles1
21 contains(QT_CONFIG, opengles2):CONFIG += opengles2
22 contains(QT_CONFIG, egl):CONFIG += egl
23
24 QMAKE_DOCS = $$PWD/doc/qtopengl.qdocconf
25 QMAKE_DOCS_INDEX = ../../doc
26
27 HEADERS += qgl.h \
28            qgl_p.h \
29            qglcolormap.h \
30            qglfunctions.h \
31            qglpixelbuffer.h \
32            qglpixelbuffer_p.h \
33            qglframebufferobject.h  \
34            qglframebufferobject_p.h  \
35            qglextensions_p.h \
36            qglpaintdevice_p.h \
37            qglbuffer.h \
38
39
40 SOURCES += qgl.cpp \
41            qglcolormap.cpp \
42            qglfunctions.cpp \
43            qglpixelbuffer.cpp \
44            qglframebufferobject.cpp \
45            qglextensions.cpp \
46            qglpaintdevice.cpp \
47            qglbuffer.cpp \
48
49 HEADERS +=  qglshaderprogram.h \
50             qgraphicsshadereffect_p.h \
51             gl2paintengineex/qglgradientcache_p.h \
52             gl2paintengineex/qglengineshadermanager_p.h \
53             gl2paintengineex/qgl2pexvertexarray_p.h \
54             gl2paintengineex/qpaintengineex_opengl2_p.h \
55             gl2paintengineex/qglengineshadersource_p.h \
56             gl2paintengineex/qglcustomshaderstage_p.h \
57             gl2paintengineex/qtriangulatingstroker_p.h \
58             gl2paintengineex/qtextureglyphcache_gl_p.h \
59             gl2paintengineex/qglshadercache_p.h \
60             gl2paintengineex/qglshadercache_meego_p.h
61
62 SOURCES +=  qglshaderprogram.cpp \
63             qgraphicsshadereffect.cpp \
64             gl2paintengineex/qglgradientcache.cpp \
65             gl2paintengineex/qglengineshadermanager.cpp \
66             gl2paintengineex/qgl2pexvertexarray.cpp \
67             gl2paintengineex/qpaintengineex_opengl2.cpp \
68             gl2paintengineex/qglcustomshaderstage.cpp \
69             gl2paintengineex/qtriangulatingstroker.cpp \
70             gl2paintengineex/qtextureglyphcache_gl.cpp
71
72 SOURCES +=  qgl_qpa.cpp \
73             qglpixelbuffer_stub.cpp
74
75 INCLUDEPATH += ../3rdparty/harfbuzz/src