forked from mumble-voip/mumble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.pro
57 lines (47 loc) · 1.07 KB
/
main.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
TEMPLATE = subdirs
CONFIG *= ordered debug_and_release
!CONFIG(no-client) {
unix:!CONFIG(bundled-speex):system(pkg-config --atleast-version=1.2 speexdsp) {
CONFIG *= no-bundled-speex
}
unix:!CONFIG(bundled-celt):system(pkg-config --atleast-version=0.7.0 celt) {
CONFIG *= no-bundled-celt
}
!CONFIG(no-bundled-speex) {
SUBDIRS *= speexbuild
}
!CONFIG(no-bundled-celt) {
SUBDIRS *= celt-0.7.0-build celt-0.11.0-build
}
CONFIG(opus) {
SUBDIRS *= opus-build
}
SUBDIRS *= src/mumble
!CONFIG(no-plugins) {
SUBDIRS *= plugins
}
win32 {
SUBDIRS *= overlay
}
unix:!macx:!CONFIG(no-overlay) {
SUBDIRS *= overlay_gl
}
macx {
MUMBLE_PREFIX = $$(MUMBLE_PREFIX)
isEmpty(MUMBLE_PREFIX) {
error("Missing $MUMBLE_PREFIX environment variable");
}
SUBDIRS *= macx
!exists($$(MUMBLE_PREFIX)/../lglcd) {
CONFIG *= no-g15
}
!CONFIG(no-g15) {
SUBDIRS *= g15helper
}
}
}
!CONFIG(no-server) {
SUBDIRS *= src/murmur
}
DIST=LICENSE INSTALL README README.Linux CHANGES
include(scripts/scripts.pro)