Mercurial > hg > sonic-visualiser
annotate server.pro @ 1289:39f769d666a2 project-file-rework
Don't need these frameworks for the server
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 25 Oct 2016 15:51:24 +0100 |
parents | ac6db2ee1beb |
children | e95a46ff8334 |
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@1278 | 16 } |
Chris@1278 | 17 |
Chris@1278 | 18 # Using the "console" CONFIG flag above should ensure this happens for |
Chris@1278 | 19 # normal Windows builds, but this may be necessary when cross-compiling |
cannam@1285 | 20 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console |
cannam@1285 | 21 |
cannam@1285 | 22 macx*: CONFIG -= app_bundle |
Chris@1278 | 23 |
Chris@1279 | 24 linux*: LIBS += -ldl |
Chris@1278 | 25 |
Chris@1278 | 26 TARGET = piper-vamp-server |
Chris@1278 | 27 |
Chris@1278 | 28 OBJECTS_DIR = o |
Chris@1278 | 29 MOC_DIR = o |
Chris@1278 | 30 |
Chris@1278 | 31 INCLUDEPATH += piper-cpp vamp-plugin-sdk |
Chris@1279 | 32 |
Chris@1279 | 33 include(vamp-plugin-sdk-files.pri) |
Chris@1279 | 34 |
cannam@1285 | 35 for (file, VAMP_SOURCES) { SOURCES += $$file } |
cannam@1285 | 36 for (file, VAMP_HEADERS) { HEADERS += $$file } |
Chris@1278 | 37 |
Chris@1278 | 38 HEADERS += \ |
Chris@1278 | 39 piper-cpp/vamp-capnp/piper.capnp.h \ |
Chris@1278 | 40 piper-cpp/vamp-capnp/VampnProto.h |
Chris@1278 | 41 |
Chris@1278 | 42 SOURCES += \ |
Chris@1278 | 43 piper-cpp/vamp-capnp/piper-capnp.cpp \ |
Chris@1278 | 44 piper-cpp/vamp-server/server.cpp |