annotate server.pro @ 1279:c6513cae4747 project-file-rework

Cut down vastly on the number of config.pri files and places where their contents has to be effectively duplicated without them
author Chris Cannam
date Mon, 24 Oct 2016 17:53:33 +0100
parents eb60f984c66c
children ac6db2ee1beb
rev   line source
Chris@1278 1
Chris@1278 2 TEMPLATE = app
Chris@1278 3
Chris@1278 4 CONFIG += qt stl c++11 exceptions console warn_on
Chris@1278 5 QT -= xml network gui widgets
Chris@1278 6
Chris@1278 7 exists(config.pri) {
Chris@1278 8 include(config.pri)
Chris@1278 9 }
Chris@1278 10
Chris@1279 11 !exists(config.pri) {
Chris@1279 12 include(noconfig.pri)
Chris@1278 13 }
Chris@1278 14
Chris@1278 15 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1278 16 # normal Windows builds, but this may be necessary when cross-compiling
Chris@1278 17 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@1278 18
Chris@1279 19 linux*: LIBS += -ldl
Chris@1278 20
Chris@1278 21 TARGET = piper-vamp-server
Chris@1278 22
Chris@1278 23 OBJECTS_DIR = o
Chris@1278 24 MOC_DIR = o
Chris@1278 25
Chris@1278 26 INCLUDEPATH += piper-cpp vamp-plugin-sdk
Chris@1279 27
Chris@1279 28 include(vamp-plugin-sdk-files.pri)
Chris@1279 29
Chris@1279 30 for (file, VAMP_SOURCES) { SOURCES += $$file }
Chris@1279 31 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1278 32
Chris@1278 33 HEADERS += \
Chris@1278 34 piper-cpp/vamp-capnp/piper.capnp.h \
Chris@1278 35 piper-cpp/vamp-capnp/VampnProto.h
Chris@1278 36
Chris@1278 37 SOURCES += \
Chris@1278 38 piper-cpp/vamp-capnp/piper-capnp.cpp \
Chris@1278 39 piper-cpp/vamp-server/server.cpp