annotate base.pro @ 1827:e63cc95876cb baselib-win-build

Alternative build mechanism for Windows, with base as a library and a single script to run full builds
author Chris Cannam
date Thu, 24 May 2018 16:19:50 +0100
parents
children 65d244ee39f9
rev   line source
Chris@1827 1
Chris@1827 2 TEMPLATE = lib
Chris@1827 3
Chris@1827 4 exists(config.pri) {
Chris@1827 5 include(config.pri)
Chris@1827 6 }
Chris@1827 7
Chris@1827 8 !exists(config.pri) {
Chris@1827 9 include(noconfig.pri)
Chris@1827 10 }
Chris@1827 11
Chris@1827 12 include(base.pri)
Chris@1827 13
Chris@1827 14 CONFIG += staticlib
Chris@1827 15 QT += network xml
Chris@1827 16 QT -= gui
Chris@1827 17
Chris@1827 18 TARGET = base
Chris@1827 19
Chris@1827 20 OBJECTS_DIR = o
Chris@1827 21 MOC_DIR = o
Chris@1827 22
Chris@1827 23 include(bq-files.pri)
Chris@1827 24 include(vamp-plugin-sdk-files.pri)
Chris@1827 25 include(svcore/files.pri)
Chris@1827 26 include(capnp-regen.pri)
Chris@1827 27
Chris@1827 28 DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES)
Chris@1827 29 DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS)
Chris@1827 30
Chris@1827 31 CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES)
Chris@1827 32 CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS)
Chris@1827 33
Chris@1827 34 CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/qt/test.pro, HEADERS)
Chris@1827 35
Chris@1827 36 for (file, BQ_SOURCES) { SOURCES += $$file }
Chris@1827 37 for (file, BQ_HEADERS) { HEADERS += $$file }
Chris@1827 38
Chris@1827 39 for (file, VAMP_SOURCES) { SOURCES += $$file }
Chris@1827 40 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1827 41
Chris@1827 42 for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) }
Chris@1827 43 for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) }
Chris@1827 44
Chris@1827 45 for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) }
Chris@1827 46 for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) }
Chris@1827 47
Chris@1827 48 for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) }
Chris@1827 49 for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) }
Chris@1827 50
Chris@1827 51 for (file, CLIENT_HEADERS) {
Chris@1827 52 HEADERS += $$sprintf("piper-cpp/vamp-client/qt/%1", $$file)
Chris@1827 53 }
Chris@1827 54
Chris@1827 55 SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp
Chris@1827 56