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