annotate server.pro @ 1278:eb60f984c66c piper

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