Mercurial > hg > sonic-visualiser
annotate server.pro @ 1990:3f3986821ee4 import-audio-data
Add sample range support
author | Chris Cannam |
---|---|
date | Thu, 06 Sep 2018 16:27:01 +0100 |
parents | 810a0b8f5472 |
children | 555e3add86b2 |
rev | line source |
---|---|
Chris@1278 | 1 |
Chris@1278 | 2 TEMPLATE = app |
Chris@1278 | 3 |
Chris@1976 | 4 CONFIG += stl exceptions console warn_on |
cannam@1285 | 5 CONFIG -= qt |
Chris@1278 | 6 |
Chris@1278 | 7 exists(config.pri) { |
Chris@1278 | 8 include(config.pri) |
Chris@1278 | 9 } |
Chris@1278 | 10 |
Chris@1279 | 11 !exists(config.pri) { |
Chris@1279 | 12 include(noconfig.pri) |
cannam@1289 | 13 |
cannam@1289 | 14 macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz |
Chris@1278 | 15 } |
Chris@1278 | 16 |
Chris@1301 | 17 # Can't support this flag with the JSON11 and basen modules as they stand |
Chris@1301 | 18 QMAKE_CXXFLAGS -= -Werror |
Chris@1301 | 19 |
Chris@1278 | 20 # Using the "console" CONFIG flag above should ensure this happens for |
Chris@1278 | 21 # normal Windows builds, but this may be necessary when cross-compiling |
cannam@1285 | 22 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console |
cannam@1285 | 23 |
cannam@1285 | 24 macx*: CONFIG -= app_bundle |
Chris@1278 | 25 |
Chris@1279 | 26 linux*: LIBS += -ldl |
Chris@1278 | 27 |
Chris@1300 | 28 TARGET = piper-vamp-simple-server |
Chris@1278 | 29 |
Chris@1278 | 30 OBJECTS_DIR = o |
Chris@1278 | 31 MOC_DIR = o |
Chris@1278 | 32 |
Chris@1560 | 33 INCLUDEPATH += piper-cpp piper-cpp/ext vamp-plugin-sdk |
Chris@1279 | 34 |
Chris@1279 | 35 include(vamp-plugin-sdk-files.pri) |
Chris@1279 | 36 |
cannam@1285 | 37 for (file, VAMP_SOURCES) { SOURCES += $$file } |
cannam@1285 | 38 for (file, VAMP_HEADERS) { HEADERS += $$file } |
Chris@1278 | 39 |
Chris@1278 | 40 HEADERS += \ |
Chris@1278 | 41 piper-cpp/vamp-capnp/piper.capnp.h \ |
Chris@1278 | 42 piper-cpp/vamp-capnp/VampnProto.h |
Chris@1278 | 43 |
Chris@1278 | 44 SOURCES += \ |
Chris@1278 | 45 piper-cpp/vamp-capnp/piper-capnp.cpp \ |
Chris@1560 | 46 piper-cpp/ext/json11/json11.cpp \ |
Chris@1300 | 47 piper-cpp/vamp-server/simple-server.cpp |