annotate server.pro @ 1301:26da0e253e68 project-file-rework

Don't -Werror here
author Chris Cannam
date Fri, 28 Oct 2016 11:32:22 +0100
parents f7481cb5a1ff
children 409ee88107e8
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)
cannam@1289 14
cannam@1289 15 macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz
Chris@1299 16
Chris@1299 17 LIBS -= -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -lpthread
Chris@1299 18
Chris@1299 19 win32-g++: {
Chris@1299 20 QMAKE_CXXFLAGS += -static-libgcc -static-libstdc++
Chris@1299 21 QMAKE_LFLAGS += -static-libgcc -static-libstdc++
Chris@1299 22 }
Chris@1278 23 }
Chris@1278 24
Chris@1301 25 # Can't support this flag with the JSON11 and basen modules as they stand
Chris@1301 26 QMAKE_CXXFLAGS -= -Werror
Chris@1301 27
Chris@1278 28 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1278 29 # normal Windows builds, but this may be necessary when cross-compiling
cannam@1285 30 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
cannam@1285 31
cannam@1285 32 macx*: CONFIG -= app_bundle
Chris@1278 33
Chris@1279 34 linux*: LIBS += -ldl
Chris@1278 35
Chris@1300 36 TARGET = piper-vamp-simple-server
Chris@1278 37
Chris@1278 38 OBJECTS_DIR = o
Chris@1278 39 MOC_DIR = o
Chris@1278 40
Chris@1278 41 INCLUDEPATH += piper-cpp vamp-plugin-sdk
Chris@1279 42
Chris@1279 43 include(vamp-plugin-sdk-files.pri)
Chris@1279 44
cannam@1285 45 for (file, VAMP_SOURCES) { SOURCES += $$file }
cannam@1285 46 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1278 47
Chris@1278 48 HEADERS += \
Chris@1278 49 piper-cpp/vamp-capnp/piper.capnp.h \
Chris@1278 50 piper-cpp/vamp-capnp/VampnProto.h
Chris@1278 51
Chris@1278 52 SOURCES += \
Chris@1278 53 piper-cpp/vamp-capnp/piper-capnp.cpp \
Chris@1296 54 piper-cpp/json11/json11.cpp \
Chris@1300 55 piper-cpp/vamp-server/simple-server.cpp