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