Chris@1332: Chris@1332: SV_INCLUDEPATH = \ Chris@1332: . \ Chris@1332: bqvec \ Chris@1332: bqvec/bqvec \ Chris@1349: bqfft \ Chris@1332: bqresample \ Chris@1332: bqaudioio \ Chris@1332: bqaudioio/bqaudioio \ Chris@1332: piper-cpp \ Chris@1332: checker \ Chris@1332: checker/checker \ Chris@1332: dataquay \ Chris@1332: dataquay/dataquay \ Chris@1332: svcore \ Chris@1332: svcore/data \ Chris@1332: svcore/plugin/api/alsa \ Chris@1332: svgui \ Chris@1332: svapp \ Chris@1332: vamp-plugin-sdk Chris@1332: Chris@1332: DEPENDPATH += $$SV_INCLUDEPATH Chris@1332: INCLUDEPATH += $$SV_INCLUDEPATH Chris@1332: Chris@1332: # Platform defines for RtMidi Chris@1644: linux*: DEFINES += __LINUX_ALSASEQ__ __LINUX_ALSA__ Chris@1332: macx*: DEFINES += __MACOSX_CORE__ Chris@1332: win*: DEFINES += __WINDOWS_MM__ Chris@1332: solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__ Chris@1332: Chris@1332: # Defines for Dataquay Chris@1332: DEFINES += USE_SORD Chris@1332: Chris@1332: CONFIG += qt thread warn_on stl rtti exceptions c++11 Chris@1332: Chris@1332: include(bq-files.pri) Chris@1332: include(vamp-plugin-sdk-files.pri) Chris@1332: include(svcore/files.pri) Chris@1332: Chris@1332: DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES) Chris@1332: DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS) Chris@1332: Chris@1332: CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES) Chris@1332: CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS) Chris@1332: Chris@1560: CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/qt/test.pro, HEADERS) Chris@1332: Chris@1332: for (file, BQ_SOURCES) { SOURCES += $$file } Chris@1332: for (file, BQ_HEADERS) { HEADERS += $$file } Chris@1332: Chris@1332: for (file, VAMP_SOURCES) { SOURCES += $$file } Chris@1332: for (file, VAMP_HEADERS) { HEADERS += $$file } Chris@1332: Chris@1332: for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) } Chris@1332: for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) } Chris@1332: Chris@1332: for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) } Chris@1332: for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) } Chris@1332: Chris@1332: for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) } Chris@1332: for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) } Chris@1332: Chris@1332: for (file, CLIENT_HEADERS) { Chris@1560: HEADERS += $$sprintf("piper-cpp/vamp-client/qt/%1", $$file) Chris@1332: } Chris@1720: Chris@1332: SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp Chris@1720: Chris@1720: capnpc.target = piper-cpp/vamp-capnp/piper-capnp.h Chris@1720: capnpc.depends = piper/capnp/piper.capnp cannam@1725: cannam@1725: capnpc.commands = capnp compile --src-prefix=piper/capnp -oc++:piper-cpp/vamp-capnp $$capnpc.depends cannam@1725: cannam@1725: macx* { cannam@1725: capnpc.commands=./sv-dependency-builds/osx/bin/capnp -Isv-dependency-builds/osx/include compile --src-prefix=piper/capnp -osv-dependency-builds/osx/bin/capnpc-c++:piper-cpp/vamp-capnp $$capnpc.depends cannam@1725: } Chris@1720: Chris@1726: win* { Chris@1726: capnpc.commands=./sv-dependency-builds/win64-msvc/bin/capnp -Isv-dependency-builds/win64-msvc/include compile --src-prefix=piper/capnp -osv-dependency-builds/win64-msvc/bin/capnpc-c++:piper-cpp/vamp-capnp $$capnpc.depends Chris@1726: } Chris@1726: Chris@1720: QMAKE_EXTRA_TARGETS += capnpc Chris@1720: PRE_TARGETDEPS += $$capnpc.target