annotate 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
rev   line source
Chris@1297 1
Chris@1297 2 TEMPLATE = app
Chris@1297 3
Chris@1297 4 CONFIG += stl c++11 exceptions console warn_on
Chris@1297 5
Chris@1297 6 CONFIG -= qt
Chris@1297 7
Chris@1297 8 exists(config.pri) {
Chris@1297 9 include(config.pri)
Chris@1297 10 }
Chris@1297 11
Chris@1297 12 !exists(config.pri) {
Chris@1297 13 include(noconfig.pri)
Chris@1297 14
Chris@1297 15 macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz
Chris@1297 16 }
Chris@1297 17
Chris@1297 18 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1297 19 # normal Windows builds, but this may be necessary when cross-compiling
Chris@1297 20 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@1297 21
Chris@1297 22 macx*: CONFIG -= app_bundle
Chris@1297 23
Chris@1297 24 linux*: LIBS += -ldl
Chris@1297 25
Chris@1297 26 TARGET = piper-convert
Chris@1297 27
Chris@1297 28 OBJECTS_DIR = o
Chris@1297 29 MOC_DIR = o
Chris@1297 30
Chris@1297 31 INCLUDEPATH += piper-cpp vamp-plugin-sdk
Chris@1297 32
Chris@1297 33 include(vamp-plugin-sdk-files.pri)
Chris@1297 34
Chris@1297 35 for (file, VAMP_SOURCES) { SOURCES += $$file }
Chris@1297 36 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1297 37
Chris@1297 38 HEADERS += \
Chris@1297 39 piper-cpp/vamp-capnp/piper.capnp.h \
Chris@1297 40 piper-cpp/vamp-capnp/VampnProto.h
Chris@1297 41
Chris@1297 42 SOURCES += \
Chris@1297 43 piper-cpp/vamp-capnp/piper-capnp.cpp \
Chris@1297 44 piper-cpp/json11/json11.cpp \
Chris@1297 45 piper-cpp/vamp-server/convert.cpp