annotate server.pro @ 1300:f7481cb5a1ff project-file-rework

Rename server to simple-server, and add some more description in usage
author Chris Cannam
date Fri, 28 Oct 2016 11:08:17 +0100
parents 9027d12841af
children 26da0e253e68
rev   line source
Chris@1278 1
Chris@1278 2 TEMPLATE = app
Chris@1278 3
cannam@1285 4 CONFIG += stl c++11 exceptions console warn_on
cannam@1285 5
cannam@1285 6 CONFIG -= qt
Chris@1278 7
Chris@1278 8 exists(config.pri) {
Chris@1278 9 include(config.pri)
Chris@1278 10 }
Chris@1278 11
Chris@1279 12 !exists(config.pri) {
Chris@1279 13 include(noconfig.pri)
cannam@1289 14
cannam@1289 15 macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz
Chris@1299 16
Chris@1299 17 LIBS -= -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -lpthread
Chris@1299 18
Chris@1299 19 win32-g++: {
Chris@1299 20 QMAKE_CXXFLAGS += -static-libgcc -static-libstdc++
Chris@1299 21 QMAKE_LFLAGS += -static-libgcc -static-libstdc++
Chris@1299 22 }
Chris@1278 23 }
Chris@1278 24
Chris@1278 25 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1278 26 # normal Windows builds, but this may be necessary when cross-compiling
cannam@1285 27 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
cannam@1285 28
cannam@1285 29 macx*: CONFIG -= app_bundle
Chris@1278 30
Chris@1279 31 linux*: LIBS += -ldl
Chris@1278 32
Chris@1300 33 TARGET = piper-vamp-simple-server
Chris@1278 34
Chris@1278 35 OBJECTS_DIR = o
Chris@1278 36 MOC_DIR = o
Chris@1278 37
Chris@1278 38 INCLUDEPATH += piper-cpp vamp-plugin-sdk
Chris@1279 39
Chris@1279 40 include(vamp-plugin-sdk-files.pri)
Chris@1279 41
cannam@1285 42 for (file, VAMP_SOURCES) { SOURCES += $$file }
cannam@1285 43 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1278 44
Chris@1278 45 HEADERS += \
Chris@1278 46 piper-cpp/vamp-capnp/piper.capnp.h \
Chris@1278 47 piper-cpp/vamp-capnp/VampnProto.h
Chris@1278 48
Chris@1278 49 SOURCES += \
Chris@1278 50 piper-cpp/vamp-capnp/piper-capnp.cpp \
Chris@1296 51 piper-cpp/json11/json11.cpp \
Chris@1300 52 piper-cpp/vamp-server/simple-server.cpp