annotate server.pro @ 1521:f016667b4adb 3.0-integration

Show warning about beta release
author Chris Cannam
date Tue, 10 Jan 2017 16:04:03 +0000
parents 409ee88107e8
children 106a16cfdd2f
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@1301 18 # Can't support this flag with the JSON11 and basen modules as they stand
Chris@1301 19 QMAKE_CXXFLAGS -= -Werror
Chris@1301 20
Chris@1278 21 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1278 22 # normal Windows builds, but this may be necessary when cross-compiling
cannam@1285 23 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
cannam@1285 24
cannam@1285 25 macx*: CONFIG -= app_bundle
Chris@1278 26
Chris@1279 27 linux*: LIBS += -ldl
Chris@1278 28
Chris@1300 29 TARGET = piper-vamp-simple-server
Chris@1278 30
Chris@1278 31 OBJECTS_DIR = o
Chris@1278 32 MOC_DIR = o
Chris@1278 33
Chris@1278 34 INCLUDEPATH += piper-cpp vamp-plugin-sdk
Chris@1279 35
Chris@1279 36 include(vamp-plugin-sdk-files.pri)
Chris@1279 37
cannam@1285 38 for (file, VAMP_SOURCES) { SOURCES += $$file }
cannam@1285 39 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1278 40
Chris@1278 41 HEADERS += \
Chris@1278 42 piper-cpp/vamp-capnp/piper.capnp.h \
Chris@1278 43 piper-cpp/vamp-capnp/VampnProto.h
Chris@1278 44
Chris@1278 45 SOURCES += \
Chris@1278 46 piper-cpp/vamp-capnp/piper-capnp.cpp \
Chris@1296 47 piper-cpp/json11/json11.cpp \
Chris@1300 48 piper-cpp/vamp-server/simple-server.cpp