-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatrixoptimizer_hamburg.pro
147 lines (107 loc) · 3.76 KB
/
matrixoptimizer_hamburg.pro
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#################### qt stuff #########################
TARGET = matrixoptimizer
!host_build:QMAKE_MAC_SDK = macosx10.10
QT += core gui widgets opengl network xml
TEMPLATE = app
##################### flags ###########################
CONFIG += c++11
#QMAKE_CXXFLAGS_DEBUG += -pg
QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
QMAKE_CXXFLAGS_DEBUG += -DOSCPKT_DEBUG
# hamburg flags
DEFINES += MO_HAMBURG MO_DISABLE_SPATIAL MO_DISABLE_EXP
#DEFINES += MO_DISABLE_AUDIO
#disable compatibility mode
DEFINES += MO_USE_OPENGL_CORE
#for glm version >= 0.9.5
DEFINES += GLM_FORCE_RADIANS
#deprecated OpenGL stuff (nice to have though...)
DEFINES += MO_DISABLE_EDGEFLAG
#disable control interface for now (it's currently broken)
DEFINES += MO_DISABLE_FRONT
#disable for production until it works ...
DEFINES += MO_DISABLE_PROJECTOR_LENS_RADIUS
#as long as it is not really used, avoid this dependency
DEFINES += MO_DISABLE_GST
#thought would be nice, but the dependencies are a bit broken for ubuntu 14
DEFINES += MO_DISABLE_CGAL
# dear macies, see for yourself if you need those features
mac { DEFINES += \
#require audio input and output devices to be separate devices
MO_REQUIRE_SEPARATE_AUDIO \
# MO_DISABLE_ANGELSCRIPT \
# tracker player library
MO_DISABLE_DUMB \
# linux audio plugins
MO_DISABLE_LADSPA \
# neuro-imaging io library
MO_DISABLE_NIFTI \
# shapefiles
MO_DISABLE_SHP
}
windows { DEFINES += \
MO_DISABLE_LADSPA \
MO_DISABLE_DUMB \
MO_DISABLE_NIFTI \
MO_DISABLE_SHP \
MO_DISABLE_GLU
}
# for optirun bug (XXX old and obsolete by now)
unix: { DEFINES += MO_DISABLE_OBJECT_TREE_DRAG }
##################### libs ############################
mac {
LIBS += -L/opt/local/lib/ \
-L/usr/local/lib/ \
-lglbinding \
-lportaudio \
-lportmidi \
-lsndfile \
-lgstreamer-1.0 \
-lgstapp-1.0 \
-lgobject-2.0 \
-lglib-2.0 \
-langelscript
}
unix {
LIBS += -lglbinding \
-lGLU -lGL -lX11 \
-lportaudio -lportmidi -lsndfile -ldumb \
-ljpeg -langelscript \
-lshp -latomic \
# -lgstreamer-1.0 -lgstapp-1.0 -lgobject-2.0 -lglib-2.0 \
-ldl # dynamic linking
# -lCGAL \
}
win32 {
LIBS += -lkernel32 -lpsapi \
-lopengl32 -lglu32 -lglbinding \
-lportaudio -lPortMidi -lsndfile-1 \
-ljpeg \
-langelscript
#-lgstreamer-1.0 -lgstapp-1.0 -lgobject-2.0 -lglib-2.0
}
###################### files ##########################
INCLUDEPATH += src
mac: { INCLUDEPATH += /opt/local/include \
/usr/local/include \
/usr/local/include/gstreamer-1.0 \
/usr/local/include/glib-2.0 \
/usr/local/lib/glib-2.0/include \
/opt/local/include/gstreamer-1.0 \
/opt/local/include/glib-2.0 \
/opt/local/lib/glib-2.0/include }
linux: { INCLUDEPATH += /usr/include/gstreamer-1.0 \
/usr/include/glib-2.0 \
/usr/lib/x86_64-linux-gnu/glib-2.0/include }
include(src/gui/gui.pri)
include(src/common.pri)
include(src/client.pri)
include(src/tests/tests.pri)
include(other_files.pri)
include(src/3rd/3rd.pri)
####################### BISON PARSER #######################
#BISON_BIN = bison
#bison_comp.input = BISON_FILES
##bison_comp.output = ./${QMAKE_FILE_BASE}.cc
#bison_comp.commands = $$BISON_BIN ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.cc --defines=./${QMAKE_FILE_BASE}.hh
#QMAKE_EXTRA_COMPILERS += bison_comp