annotate server.pro @ 2539:98321b83ac9b

Add any persistent config defines (e.g. feedback request)
author Chris Cannam
date Thu, 14 May 2020 19:03:05 +0100
parents d25951da2422
children d33dff02b39b
rev   line source
Chris@2204 1
Chris@2204 2 TEMPLATE = app
Chris@2204 3
Chris@2204 4 CONFIG += stl exceptions console warn_on
Chris@2204 5 CONFIG -= qt
Chris@2204 6
Chris@2204 7 exists(config.pri) {
Chris@2204 8 include(config.pri)
Chris@2204 9 }
Chris@2204 10
Chris@2204 11 !exists(config.pri) {
Chris@2204 12 include(noconfig.pri)
Chris@2204 13
Chris@2204 14 macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz
Chris@2204 15 }
Chris@2204 16
Chris@2204 17 # Can't support this flag with the JSON11 and basen modules as they stand
Chris@2204 18 QMAKE_CXXFLAGS -= -Werror
Chris@2204 19
Chris@2204 20 # Using the "console" CONFIG flag above should ensure this happens for
Chris@2204 21 # normal Windows builds, but this may be necessary when cross-compiling
Chris@2204 22 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@2204 23
Chris@2204 24 macx*: CONFIG -= app_bundle
Chris@2204 25
Chris@2204 26 linux*: LIBS += -ldl
Chris@2204 27
Chris@2204 28 TARGET = piper-vamp-simple-server
Chris@2204 29
Chris@2204 30 OBJECTS_DIR = o
Chris@2204 31 MOC_DIR = o
Chris@2204 32
Chris@2204 33 INCLUDEPATH += piper-vamp-cpp piper-vamp-cpp/ext vamp-plugin-sdk
Chris@2204 34
Chris@2204 35 include(vamp-plugin-sdk-files.pri)
Chris@2204 36
Chris@2204 37 for (file, VAMP_SOURCES) { SOURCES += $$file }
Chris@2204 38 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@2204 39
Chris@2204 40 HEADERS += \
Chris@2204 41 piper-vamp-cpp/vamp-capnp/piper.capnp.h \
Chris@2204 42 piper-vamp-cpp/vamp-capnp/VampnProto.h
Chris@2204 43
Chris@2204 44 SOURCES += \
Chris@2204 45 piper-vamp-cpp/vamp-capnp/piper-capnp.cpp \
Chris@2204 46 piper-vamp-cpp/ext/json11/json11.cpp \
Chris@2204 47 piper-vamp-cpp/vamp-server/simple-server.cpp