~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to src/angle/src/libEGL/libEGL.pro

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TEMPLATE = lib
 
2
TARGET = $$qtLibraryTarget(libEGL)
 
3
 
 
4
include(../common/common.pri)
 
5
 
 
6
# Note: ANGLE is patched to dynamically resolve DwmIsCompositionEnabled DwmSetPresentParameters
 
7
# in Surface.cpp, which would otherwise require -ldwmapi, which does not exist on Windows XP
 
8
# (QTBUG-27741).
 
9
LIBS += -ld3d9 -ldxguid \
 
10
        -L$$QT_BUILD_TREE/lib -l$$qtLibraryTarget(libGLESv2)
 
11
 
 
12
HEADERS += \
 
13
    $$ANGLE_DIR/src/libEGL/Config.h \
 
14
    $$ANGLE_DIR/src/libEGL/Display.h \
 
15
    $$ANGLE_DIR/src/libEGL/main.h \
 
16
    $$ANGLE_DIR/src/libEGL/resource.h \
 
17
    $$ANGLE_DIR/src/libEGL/ShaderCache.h \
 
18
    $$ANGLE_DIR/src/libEGL/Surface.h
 
19
 
 
20
SOURCES += \
 
21
    $$ANGLE_DIR/src/libEGL/Config.cpp \
 
22
    $$ANGLE_DIR/src/libEGL/Display.cpp \
 
23
    $$ANGLE_DIR/src/libEGL/libEGL.cpp \
 
24
    $$ANGLE_DIR/src/libEGL/main.cpp \
 
25
    $$ANGLE_DIR/src/libEGL/Surface.cpp
 
26
 
 
27
!static {
 
28
    DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def
 
29
    win32-g++*:equals(QT_ARCH, i386): DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}_mingw32.def
 
30
}
 
31
 
 
32
load(qt_installs)
 
33
 
 
34
egl_headers.files = \
 
35
    $$ANGLE_DIR/include/EGL/egl.h \
 
36
    $$ANGLE_DIR/include/EGL/eglext.h \
 
37
    $$ANGLE_DIR/include/EGL/eglplatform.h
 
38
egl_headers.path = $$[QT_INSTALL_HEADERS]/EGL
 
39
INSTALLS += egl_headers