annotate server.pro @ 1285:ac6db2ee1beb project-file-rework

OSX build fixes and logic
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 25 Oct 2016 14:48:56 +0100
parents c6513cae4747
children 39f769d666a2
rev   line source
Chris@1278 1
Chris@1278 2 TEMPLATE = app
Chris@1278 3
cannam@1285 4 CONFIG += stl c++11 exceptions console warn_on
cannam@1285 5
cannam@1285 6 CONFIG -= qt
Chris@1278 7
Chris@1278 8 exists(config.pri) {
Chris@1278 9 include(config.pri)
Chris@1278 10 }
Chris@1278 11
Chris@1279 12 !exists(config.pri) {
Chris@1279 13 include(noconfig.pri)
Chris@1278 14 }
Chris@1278 15
Chris@1278 16 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1278 17 # normal Windows builds, but this may be necessary when cross-compiling
cannam@1285 18 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
cannam@1285 19
cannam@1285 20 macx*: CONFIG -= app_bundle
Chris@1278 21
Chris@1279 22 linux*: LIBS += -ldl
Chris@1278 23
Chris@1278 24 TARGET = piper-vamp-server
Chris@1278 25
Chris@1278 26 OBJECTS_DIR = o
Chris@1278 27 MOC_DIR = o
Chris@1278 28
Chris@1278 29 INCLUDEPATH += piper-cpp vamp-plugin-sdk
Chris@1279 30
Chris@1279 31 include(vamp-plugin-sdk-files.pri)
Chris@1279 32
cannam@1285 33 for (file, VAMP_SOURCES) { SOURCES += $$file }
cannam@1285 34 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1278 35
Chris@1278 36 HEADERS += \
Chris@1278 37 piper-cpp/vamp-capnp/piper.capnp.h \
Chris@1278 38 piper-cpp/vamp-capnp/VampnProto.h
Chris@1278 39
Chris@1278 40 SOURCES += \
Chris@1278 41 piper-cpp/vamp-capnp/piper-capnp.cpp \
Chris@1278 42 piper-cpp/vamp-server/server.cpp