Subversion Repositories seema-scanner

Rev

Rev 15 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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