# HG changeset patch # User Chris Cannam # Date 1548860335 0 # Node ID 33668c5cc4381a0e009d3a42d86a190118a316fa # Parent 145e09dbbaab917da5ce1e05afea0da95463df5b Line endings diff -r 145e09dbbaab -r 33668c5cc438 server.pro --- a/server.pro Wed Jan 16 14:27:24 2019 +0000 +++ b/server.pro Wed Jan 30 14:58:55 2019 +0000 @@ -1,47 +1,47 @@ - -TEMPLATE = app - -CONFIG += stl 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 -} - -# Can't support this flag with the JSON11 and basen modules as they stand -QMAKE_CXXFLAGS -= -Werror - -# 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-vamp-simple-server - -OBJECTS_DIR = o -MOC_DIR = o - -INCLUDEPATH += piper-vamp-cpp piper-vamp-cpp/ext vamp-plugin-sdk - -include(vamp-plugin-sdk-files.pri) - -for (file, VAMP_SOURCES) { SOURCES += $$file } -for (file, VAMP_HEADERS) { HEADERS += $$file } - -HEADERS += \ - piper-vamp-cpp/vamp-capnp/piper.capnp.h \ - piper-vamp-cpp/vamp-capnp/VampnProto.h - -SOURCES += \ - piper-vamp-cpp/vamp-capnp/piper-capnp.cpp \ - piper-vamp-cpp/ext/json11/json11.cpp \ - piper-vamp-cpp/vamp-server/simple-server.cpp + +TEMPLATE = app + +CONFIG += stl 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 +} + +# Can't support this flag with the JSON11 and basen modules as they stand +QMAKE_CXXFLAGS -= -Werror + +# 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-vamp-simple-server + +OBJECTS_DIR = o +MOC_DIR = o + +INCLUDEPATH += piper-vamp-cpp piper-vamp-cpp/ext vamp-plugin-sdk + +include(vamp-plugin-sdk-files.pri) + +for (file, VAMP_SOURCES) { SOURCES += $$file } +for (file, VAMP_HEADERS) { HEADERS += $$file } + +HEADERS += \ + piper-vamp-cpp/vamp-capnp/piper.capnp.h \ + piper-vamp-cpp/vamp-capnp/VampnProto.h + +SOURCES += \ + piper-vamp-cpp/vamp-capnp/piper-capnp.cpp \ + piper-vamp-cpp/ext/json11/json11.cpp \ + piper-vamp-cpp/vamp-server/simple-server.cpp