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