-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathentropypianotuner_static_config.pri
62 lines (45 loc) · 1.55 KB
/
entropypianotuner_static_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
55
56
57
58
59
60
61
62
# Include guard
isEmpty(EPT_STATIC_CONFIG_INCLUDED):EPT_STATIC_CONFIG_INCLUDED=true
else:return()
#------------------------------------------------
# Global config
# include example algorithm by default in debug builds
# on mobile platforms and mac/ios use static algorithm build
android|ios|winrt|winphone|macx: EPT_CONFIG += no_shared_algorithms static_algorithms static_core no_shared_core
else: EPT_CONFIG += shared_algorithms no_static_algorithms shared_core no_static_core
# add install rules
winrt|winphone: EPT_CONFIG += no_install
else: EPT_CONFIG += install
#------------------------------------------------
# third party modules
# select modules
CONFIG += fftw3
# add libuv when shared algorithms are enabled
contains(EPT_CONFIG, shared_algorithms) {
CONFIG += libuv
}
winrt|winphone {
CONFIG += winrtbridge
}
else:win32 {
CONFIG += dirent
}
# tp3log
win32:contains(EPT_CONFIG, shared_core) {
CONFIG += tp3LogDLL
DEFINES += TP3LOG_DLL
}
#--------------------------------------------------
# global settings
# additional debug flags
linux-g++*:!android {
QMAKE_CXXFLAGS_DEBUG += -D_GLIBCXX_DEBUG
}
# config
contains(EPT_CONFIG, no_shared_algorithms):DEFINES+="EPT_NO_SHARED_ALGORITHMS=1" "EPT_STATIC_ALGORITHMS=1"
contains(EPT_CONFIG, shared_algorithms):DEFINES+="EPT_SHARED_ALGORITHMS=1"
# set QWT_CONFIG for static/dynamic build
contains(EPT_CONFIG, static_qwt):QWT_CONFIG += QwtStatic
else:QWT_CONFIG += QwtDll
contains(EPT_CONFIG, static_core):DEFINES += EPT_STATIC_CORE
else:DEFINES += EPT_DYNAMIC_CORE