annotate base.pro @ 1866:65d244ee39f9

Experimentally add a rule to re-run Repoint if the project or lock file is newer than the .repoint.point file. This sort of thing isn't sufficient for all uses of Repoint because some of the initial qmake project file info is brought in by Repoint, so it has to be run before qmake as well. Also it's not clear yet how it will interact with archived builds (i.e. source releases) -- to be tested.
author Chris Cannam
date Tue, 19 Jun 2018 15:03:24 +0100
parents e63cc95876cb
children ad590578bf57
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@1866 23 include(repoint.pri)
Chris@1827 24 include(bq-files.pri)
Chris@1827 25 include(vamp-plugin-sdk-files.pri)
Chris@1827 26 include(svcore/files.pri)
Chris@1827 27 include(capnp-regen.pri)
Chris@1827 28
Chris@1827 29 DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES)
Chris@1827 30 DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS)
Chris@1827 31
Chris@1827 32 CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES)
Chris@1827 33 CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS)
Chris@1827 34
Chris@1827 35 CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/qt/test.pro, HEADERS)
Chris@1827 36
Chris@1827 37 for (file, BQ_SOURCES) { SOURCES += $$file }
Chris@1827 38 for (file, BQ_HEADERS) { HEADERS += $$file }
Chris@1827 39
Chris@1827 40 for (file, VAMP_SOURCES) { SOURCES += $$file }
Chris@1827 41 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1827 42
Chris@1827 43 for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) }
Chris@1827 44 for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) }
Chris@1827 45
Chris@1827 46 for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) }
Chris@1827 47 for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) }
Chris@1827 48
Chris@1827 49 for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) }
Chris@1827 50 for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) }
Chris@1827 51
Chris@1827 52 for (file, CLIENT_HEADERS) {
Chris@1827 53 HEADERS += $$sprintf("piper-cpp/vamp-client/qt/%1", $$file)
Chris@1827 54 }
Chris@1827 55
Chris@1827 56 SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp
Chris@1827 57