# HG changeset patch # User Chris Cannam # Date 1477572141 -3600 # Node ID 337617d1d50a7b393d518d1d582c018a9a88da27 # Parent e95a46ff8334bdadc4f7a594bda806bc3c5679a1 Build the converter too diff -r e95a46ff8334 -r 337617d1d50a .hgsubstate --- a/.hgsubstate Thu Oct 27 12:06:14 2016 +0100 +++ b/.hgsubstate Thu Oct 27 13:42:21 2016 +0100 @@ -4,7 +4,7 @@ 8643d4d1cb14226c72be27e7493597b9a2af526d checker 896aefe629c85b05ae0880ec93a396b9e3a5a304 dataquay 68ae618c6b0e442d08a71d39217784a08f2a8de3 icons/scalable -ab8c704d12f4fb4771acdfa940c8f331a54d20c5 piper-cpp +ae0fcec55aefec02de221ff64bf5496ff91f0c1b piper-cpp e1712f7d74a455337591091a57beba2f0443b9dd sv-dependency-builds d5e339613174be7acfe20906a347b35c396883b4 svapp fac1666e429b00ff74d3afc9b625b7e1d441970c svcore diff -r e95a46ff8334 -r 337617d1d50a convert.pro --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/convert.pro Thu Oct 27 13:42:21 2016 +0100 @@ -0,0 +1,45 @@ + +TEMPLATE = app + +CONFIG += stl c++11 exceptions console warn_on + +CONFIG -= qt + +exists(config.pri) { + include(config.pri) +} + +!exists(config.pri) { + include(noconfig.pri) + + macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz +} + +# Using the "console" CONFIG flag above should ensure this happens for +# normal Windows builds, but this may be necessary when cross-compiling +win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console + +macx*: CONFIG -= app_bundle + +linux*: LIBS += -ldl + +TARGET = piper-convert + +OBJECTS_DIR = o +MOC_DIR = o + +INCLUDEPATH += piper-cpp vamp-plugin-sdk + +include(vamp-plugin-sdk-files.pri) + +for (file, VAMP_SOURCES) { SOURCES += $$file } +for (file, VAMP_HEADERS) { HEADERS += $$file } + +HEADERS += \ + piper-cpp/vamp-capnp/piper.capnp.h \ + piper-cpp/vamp-capnp/VampnProto.h + +SOURCES += \ + piper-cpp/vamp-capnp/piper-capnp.cpp \ + piper-cpp/json11/json11.cpp \ + piper-cpp/vamp-server/convert.cpp diff -r e95a46ff8334 -r 337617d1d50a sonic-visualiser.pro --- a/sonic-visualiser.pro Thu Oct 27 12:06:14 2016 +0100 +++ b/sonic-visualiser.pro Thu Oct 27 13:42:21 2016 +0100 @@ -4,7 +4,9 @@ SUBDIRS = \ checker \ sub_server \ + sub_convert \ sub_sv sub_server.file = server.pro +sub_convert.file = convert.pro sub_sv.file = sv.pro