-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnoconfig.pri
48 lines (28 loc) · 1.03 KB
/
noconfig.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
CONFIG += c++17
CONFIG += release
PREFIX_PATH = /usr/local
INCLUDEPATH += $$PWD/vamp-plugin-sdk
win32-msvc* {
DEPLOYDIR = $$PWD/deploy/win64
INCLUDEPATH += $$PWD/../boost_1_85_0/ $$PWD/sv-dependency-builds/win64-msvc/include
LIBS += -L$$PWD -L$$PWD/sv-dependency-builds/win64-msvc/lib
CONFIG(release) {
LIBS += -NODEFAULTLIB:MSVCRT -Lrelease
}
DEFINES += NOMINMAX _USE_MATH_DEFINES HAVE_C99_VARARGS_MACROS
DEFINES += AVOID_WINRT_DEPENDENCY
}
macx* {
# All Mac builds are 64-bit these days.
DEPLOYDIR = $$PWD/deploy/osx
INCLUDEPATH += /opt/boost/include /usr/local/opt/boost/include $$PWD/sv-dependency-builds/osx/include
LIBS += -L$$PWD -L$$PWD/sv-dependency-builds/osx/lib
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_LFLAGS_RELEASE += -O3
}
linux* {
DEPLOYDIR = $$PWD/deploy/linux
INCLUDEPATH += $$PWD/sv-dependency-builds/src/serd-0.18.2 $$PWD/sv-dependency-builds/src/sord-0.12.0
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_LFLAGS_RELEASE += -O3 -Wl,--no-undefined
}