annotate server.pro @ 2049:fd4976627485

Fix inconsistency between centre frame actually set and centre frame notified as set, which caused the start frame location to creep out of place gradually as you page through
author Chris Cannam
date Tue, 30 Oct 2018 14:00:39 +0000
parents 555e3add86b2
children bc3d0c86ee2e 33668c5cc438
rev   line source
Chris@1278 1
Chris@1278 2 TEMPLATE = app
Chris@1278 3
Chris@1976 4 CONFIG += stl exceptions console warn_on
cannam@1285 5 CONFIG -= qt
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)
cannam@1289 13
cannam@1289 14 macx*: LIBS -= -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate -lbz2 -lz
Chris@1278 15 }
Chris@1278 16
Chris@1301 17 # Can't support this flag with the JSON11 and basen modules as they stand
Chris@1301 18 QMAKE_CXXFLAGS -= -Werror
Chris@1301 19
Chris@1278 20 # Using the "console" CONFIG flag above should ensure this happens for
Chris@1278 21 # normal Windows builds, but this may be necessary when cross-compiling
cannam@1285 22 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
cannam@1285 23
cannam@1285 24 macx*: CONFIG -= app_bundle
Chris@1278 25
Chris@1279 26 linux*: LIBS += -ldl
Chris@1278 27
Chris@1300 28 TARGET = piper-vamp-simple-server
Chris@1278 29
Chris@1278 30 OBJECTS_DIR = o
Chris@1278 31 MOC_DIR = o
Chris@1278 32
Chris@2045 33 INCLUDEPATH += piper-vamp-cpp piper-vamp-cpp/ext vamp-plugin-sdk
Chris@1279 34
Chris@1279 35 include(vamp-plugin-sdk-files.pri)
Chris@1279 36
cannam@1285 37 for (file, VAMP_SOURCES) { SOURCES += $$file }
cannam@1285 38 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1278 39
Chris@1278 40 HEADERS += \
Chris@2045 41 piper-vamp-cpp/vamp-capnp/piper.capnp.h \
Chris@2045 42 piper-vamp-cpp/vamp-capnp/VampnProto.h
Chris@1278 43
Chris@1278 44 SOURCES += \
Chris@2045 45 piper-vamp-cpp/vamp-capnp/piper-capnp.cpp \
Chris@2045 46 piper-vamp-cpp/ext/json11/json11.cpp \
Chris@2045 47 piper-vamp-cpp/vamp-server/simple-server.cpp