Mercurial > hg > sonic-visualiser
diff convert.pro @ 1297:337617d1d50a project-file-rework
Build the converter too
author | Chris Cannam |
---|---|
date | Thu, 27 Oct 2016 13:42:21 +0100 |
parents | |
children | 26da0e253e68 |
line wrap: on
line diff
--- /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