Chris@2204: Chris@2204: TEMPLATE = app Chris@2204: Chris@2204: CONFIG += stl exceptions console warn_on Chris@2204: CONFIG -= qt Chris@2204: Chris@2204: exists(config.pri) { Chris@2204: include(config.pri) Chris@2204: } Chris@2204: Chris@2204: !exists(config.pri) { Chris@2204: include(noconfig.pri) Chris@2204: Chris@2204: macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz Chris@2204: } Chris@2204: Chris@2204: # Can't support this flag with the JSON11 and basen modules as they stand Chris@2204: QMAKE_CXXFLAGS -= -Werror Chris@2204: Chris@2204: # Using the "console" CONFIG flag above should ensure this happens for Chris@2204: # normal Windows builds, but this may be necessary when cross-compiling Chris@2204: win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console Chris@2204: Chris@2204: macx*: CONFIG -= app_bundle Chris@2204: Chris@2204: linux*: LIBS += -ldl Chris@2204: Chris@2204: TARGET = piper-vamp-simple-server Chris@2204: Chris@2204: OBJECTS_DIR = o Chris@2204: MOC_DIR = o Chris@2204: Chris@2204: INCLUDEPATH += piper-vamp-cpp piper-vamp-cpp/ext vamp-plugin-sdk Chris@2204: Chris@2204: include(vamp-plugin-sdk-files.pri) Chris@2204: Chris@2204: for (file, VAMP_SOURCES) { SOURCES += $$file } Chris@2204: for (file, VAMP_HEADERS) { HEADERS += $$file } Chris@2204: Chris@2204: HEADERS += \ Chris@2204: piper-vamp-cpp/vamp-capnp/piper.capnp.h \ Chris@2204: piper-vamp-cpp/vamp-capnp/VampnProto.h Chris@2204: Chris@2204: SOURCES += \ Chris@2204: piper-vamp-cpp/vamp-capnp/piper-capnp.cpp \ Chris@2204: piper-vamp-cpp/ext/json11/json11.cpp \ Chris@2204: piper-vamp-cpp/vamp-server/simple-server.cpp