Subversion Repositories seema-scanner

Rev

Rev 17 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15 jakw 1
 
2
QT       += core gui
3
 
4
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
5
 
6
TARGET = testProjector
7
TEMPLATE = app
8
 
9
HEADERS  += projector/Projector.h \
10
        projector/ProjectorOpenGL.h \
11
        projector/OpenGLContext.h
12
 
13
SOURCES += testProjector.cpp \
14
        projector/ProjectorOpenGL.cpp
15
 
16
 
17
INCLUDEPATH += projector/
18
 
19
# Compile with system dependent OpenGL Context code
20
unix:!macx{
21
    SOURCES += projector/OpenGLContext.Unix.cpp
22
    LIBS += -lXxf86vm
23
    CONFIG += link_pkgconfig
24
    PKGCONFIG += gl glu x11 xrandr
25
}
26
win32{
27
    SOURCES += projector/OpenGLContext.Win.cpp
28
}
29
macx{
30
    CONFIG += objective_c
31
    OBJECTIVE_SOURCES += projector/OpenGLContext.Mac.mm
32
    LIBS += -framework Cocoa -framework OpenGL
33
}