Mercurial > hg > piper-cpp
annotate vamp-client/client.pro @ 116:d15cb1151d76
Add JSON support directly to the server. Had hoped to avoid this (using Capnp as canonical in the server and then converting externally as necessary) but it's just too useful for debugging purposes when bundled with client app
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 27 Oct 2016 11:39:41 +0100 |
parents | 247d8d533a9c |
children | 1902e6db5b61 |
rev | line source |
---|---|
c@83 | 1 |
c@83 | 2 TEMPLATE = app |
c@83 | 3 |
c@83 | 4 CONFIG += qt stl c++11 exceptions console warn_on |
c@83 | 5 QT -= xml network gui widgets |
c@83 | 6 |
c@83 | 7 !win32 { |
c@83 | 8 QMAKE_CXXFLAGS += -Werror |
c@83 | 9 } |
c@83 | 10 |
c@83 | 11 OBJECTS_DIR = ../o |
c@83 | 12 MOC_DIR = ../o |
c@83 | 13 |
c@83 | 14 VAMPSDK_DIR = ../../vamp-plugin-sdk |
c@83 | 15 PIPER_DIR = ../../piper |
c@83 | 16 |
c@83 | 17 QMAKE_CXXFLAGS = -I$$VAMPSDK_DIR -I.. |
c@83 | 18 |
c@84 | 19 LIBS += -lcapnp -lkj -lvamp-hostsdk |
c@84 | 20 |
c@83 | 21 # Using the "console" CONFIG flag above should ensure this happens for |
c@83 | 22 # normal Windows builds, but this may be necessary when cross-compiling |
c@83 | 23 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console |
c@83 | 24 |
c@83 | 25 TARGET = client |
c@83 | 26 |
c@83 | 27 SOURCES += \ |
c@90 | 28 client.cpp \ |
c@108 | 29 ../vamp-capnp/piper-capnp.cpp |
c@90 | 30 |
c@90 | 31 HEADERS += \ |
c@94 | 32 ProcessQtTransport.h \ |
c@96 | 33 CapnpRRClient.h \ |
c@94 | 34 Loader.h \ |
c@94 | 35 PluginClient.h \ |
c@94 | 36 PluginStub.h \ |
c@98 | 37 AutoPlugin.h \ |
c@90 | 38 SynchronousTransport.h |
c@90 | 39 |
c@83 | 40 |