To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / server.pro @ 101:ddc288a7977e
History | View | Annotate | Download (1.22 KB)
| 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 |
# Can't support this flag with the JSON11 and basen modules as they stand |
| 19 |
QMAKE_CXXFLAGS -= -Werror |
| 20 |
|
| 21 |
# Using the "console" CONFIG flag above should ensure this happens for |
| 22 |
# normal Windows builds, but this may be necessary when cross-compiling |
| 23 |
win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console |
| 24 |
|
| 25 |
macx*: CONFIG -= app_bundle |
| 26 |
|
| 27 |
linux*: LIBS += -ldl |
| 28 |
|
| 29 |
TARGET = piper-vamp-simple-server |
| 30 |
|
| 31 |
OBJECTS_DIR = o |
| 32 |
MOC_DIR = o |
| 33 |
|
| 34 |
INCLUDEPATH += piper-cpp vamp-plugin-sdk |
| 35 |
|
| 36 |
include(vamp-plugin-sdk-files.pri) |
| 37 |
|
| 38 |
for (file, VAMP_SOURCES) { SOURCES += $$file }
|
| 39 |
for (file, VAMP_HEADERS) { HEADERS += $$file }
|
| 40 |
|
| 41 |
HEADERS += \ |
| 42 |
piper-cpp/vamp-capnp/piper.capnp.h \ |
| 43 |
piper-cpp/vamp-capnp/VampnProto.h |
| 44 |
|
| 45 |
SOURCES += \ |
| 46 |
piper-cpp/vamp-capnp/piper-capnp.cpp \ |
| 47 |
piper-cpp/json11/json11.cpp \ |
| 48 |
piper-cpp/vamp-server/simple-server.cpp |