cannam@150: cannam@150: TEMPLATE = app cannam@150: cannam@150: CONFIG += qt stl c++11 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@150: QMAKE_CXXFLAGS = -I$$VAMPSDK_DIR -I.. -I../.. cannam@150: cannam@150: LIBS += -lcapnp -lkj -lvamp-hostsdk 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@150: AutoPlugin.h \ cannam@150: ../CapnpRRClient.h \ cannam@150: ../Loader.h \ cannam@150: ../PluginClient.h \ cannam@150: ../PluginStub.h \ cannam@150: ../SynchronousTransport.h cannam@150: cannam@150: