forked from TReed0803/QtOpenGL
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.pri
54 lines (41 loc) · 1.26 KB
/
config.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#-------------------------------------------------------------------------------
# QtOpenGL Build Configuration
#-------------------------------------------------------------------------------
CONFIG += c++11
SOURCE_ROOT = $${PWD}
include($${SOURCE_ROOT}/config.pri.user)
SHARED_INCLUDES = \
$${PWD} \
$${SOURCE_ROOT}/include \
$${SOURCE_ROOT}/include/Karma \
$${SOURCE_ROOT}/Karma \
$${SOURCE_ROOT}/OpenGL \
$${SOURCE_ROOT}/qtbaseExt/gui/opengl
android {
DEFINES += "QT_OPENGL_ES_3"
}
win32:CONFIG(release, debug|release): OUT_SUBDIR = release/
win32:CONFIG(debug, debug|release): OUT_SUBDIR = debug/
win32 {
LIB_EXT = .lib
} else {
LIB_PREFIX = lib
LIB_EXT = .a
}
defineReplace(defineLib) {
return(-L$${BINARY_ROOT}/$$1/$${OUT_SUBDIR} -l$$1)
}
defineReplace(defineDep) {
return ($${BINARY_ROOT}/$${1}/$${OUT_SUBDIR}$${LIB_PREFIX}$${1}$${LIB_EXT})
}
KARMA_LIB = $$defineLib(Karma)
OPENGL_LIB = $$defineLib(OpenGL)
QTBASEEXT_LIB = $$defineLib(qtbaseExt)
KARMA_DEP = $$defineDep(Karma)
OPENGL_DEP = $$defineDep(OpenGL)
QTBASEEXT_DEP = $$defineDep(qtbaseExt)
INCLUDEPATH += $${SHARED_INCLUDES}
RESOURCES += \
$$PWD/resources.qrc
HEADERS +=
SOURCES +=