comparison server.pro @ 1278:eb60f984c66c piper

Server project file
author Chris Cannam
date Mon, 24 Oct 2016 10:52:51 +0100
parents
children c6513cae4747
comparison
equal deleted inserted replaced
1272:cbb241e91426 1278:eb60f984c66c
1
2 TEMPLATE = app
3
4 CONFIG += qt stl c++11 exceptions console warn_on
5 QT -= xml network gui widgets
6
7 exists(config.pri) {
8 include(config.pri)
9 }
10
11 win32-g++ {
12 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
13 LIBS += -Lrelease -Lsv-dependency-builds/win32-mingw/lib
14 }
15 win32-msvc* {
16 # We actually expect MSVC to be used only for 64-bit builds,
17 # though the qmake spec is still called win32-msvc*
18 INCLUDEPATH += sv-dependency-builds/win64-msvc/include
19 # bah, this is happening even if not debug build
20 CONFIG(debug) {
21 LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \
22 -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib/debug \
23 -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib
24 }
25 # CONFIG(release) {
26 # LIBS += -Lrelease \
27 # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib
28 # }
29 }
30 mac* {
31 INCLUDEPATH += sv-dependency-builds/osx/include
32 LIBS += -Lsv-dependency-builds/osx/lib
33 }
34
35 # Using the "console" CONFIG flag above should ensure this happens for
36 # normal Windows builds, but this may be necessary when cross-compiling
37 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
38
39 !win32 {
40 QMAKE_CXXFLAGS += -Werror
41 }
42
43 TARGET = piper-vamp-server
44
45 OBJECTS_DIR = o
46 MOC_DIR = o
47
48 INCLUDEPATH += piper-cpp vamp-plugin-sdk
49 LIBS += -lcapnp -lkj
50
51 HEADERS += \
52 piper-cpp/vamp-capnp/piper.capnp.h \
53 piper-cpp/vamp-capnp/VampnProto.h
54
55 SOURCES += \
56 piper-cpp/vamp-capnp/piper-capnp.cpp \
57 piper-cpp/vamp-server/server.cpp
58
59 SOURCES += \
60 vamp-plugin-sdk/src/vamp-hostsdk/PluginBufferingAdapter.cpp \
61 vamp-plugin-sdk/src/vamp-hostsdk/PluginChannelAdapter.cpp \
62 vamp-plugin-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp \
63 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.cpp \
64 vamp-plugin-sdk/src/vamp-hostsdk/PluginLoader.cpp \
65 vamp-plugin-sdk/src/vamp-hostsdk/PluginSummarisingAdapter.cpp \
66 vamp-plugin-sdk/src/vamp-hostsdk/PluginWrapper.cpp \
67 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.cpp \
68 vamp-plugin-sdk/src/vamp-hostsdk/Files.cpp