cannam@150: cannam@150: TEMPLATE = app cannam@150: cannam@269: CONFIG += qt stl c++11 c++14 exceptions console warn_on cannam@150: QT -= xml network gui widgets cannam@150: cannam@150: !win32 { cannam@150: QMAKE_CXXFLAGS += -Werror cannam@150: } cannam@150: cannam@150: OBJECTS_DIR = ../o cannam@150: MOC_DIR = ../o cannam@150: cannam@150: VAMPSDK_DIR = ../../../vamp-plugin-sdk cannam@150: PIPER_DIR = ../../../piper cannam@150: cannam@251: QMAKE_CXXFLAGS = -I$$VAMPSDK_DIR -I/usr/local/include -I.. -I../.. cannam@150: cannam@250: LIBS += $$VAMPSDK_DIR/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj cannam@150: cannam@150: # Using the "console" CONFIG flag above should ensure this happens for cannam@150: # normal Windows builds, but this may be necessary when cross-compiling cannam@150: win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console cannam@150: cannam@150: macx*: CONFIG -= app_bundle cannam@150: cannam@150: TARGET = test cannam@150: cannam@150: SOURCES += \ cannam@150: test.cpp \ cannam@150: ../../vamp-capnp/piper-capnp.cpp cannam@150: cannam@150: HEADERS += \ cannam@150: ProcessQtTransport.h \ cannam@208: PiperAutoPlugin.h \ cannam@150: ../CapnpRRClient.h \ cannam@150: ../Loader.h \ cannam@150: ../PluginClient.h \ cannam@208: ../PiperVampPlugin.h \ cannam@150: ../SynchronousTransport.h cannam@150: cannam@150: