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@1867
|
23 exists(repoint.pri) {
|
Chris@1867
|
24 include(repoint.pri)
|
Chris@1867
|
25 }
|
Chris@1867
|
26
|
Chris@1827
|
27 include(bq-files.pri)
|
Chris@1827
|
28 include(vamp-plugin-sdk-files.pri)
|
Chris@1827
|
29 include(svcore/files.pri)
|
Chris@1827
|
30 include(capnp-regen.pri)
|
Chris@1827
|
31
|
Chris@1827
|
32 DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES)
|
Chris@1827
|
33 DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS)
|
Chris@1827
|
34
|
Chris@1827
|
35 CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES)
|
Chris@1827
|
36 CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS)
|
Chris@1827
|
37
|
Chris@2045
|
38 CLIENT_HEADERS=$$fromfile(piper-vamp-cpp/vamp-client/qt/test.pro, HEADERS)
|
Chris@1827
|
39
|
Chris@1827
|
40 for (file, BQ_SOURCES) { SOURCES += $$file }
|
Chris@1827
|
41 for (file, BQ_HEADERS) { HEADERS += $$file }
|
Chris@1827
|
42
|
Chris@1827
|
43 for (file, VAMP_SOURCES) { SOURCES += $$file }
|
Chris@1827
|
44 for (file, VAMP_HEADERS) { HEADERS += $$file }
|
Chris@1827
|
45
|
Chris@1827
|
46 for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) }
|
Chris@1827
|
47 for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) }
|
Chris@1827
|
48
|
Chris@1827
|
49 for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) }
|
Chris@1827
|
50 for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) }
|
Chris@1827
|
51
|
Chris@1827
|
52 for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) }
|
Chris@1827
|
53 for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) }
|
Chris@1827
|
54
|
Chris@2576
|
55 win32-msvc* {
|
Chris@2576
|
56 SOURCES -= svcore/system/os-other.cpp
|
Chris@2576
|
57 }
|
Chris@2576
|
58
|
Chris@1827
|
59 for (file, CLIENT_HEADERS) {
|
Chris@2045
|
60 HEADERS += $$sprintf("piper-vamp-cpp/vamp-client/qt/%1", $$file)
|
Chris@1827
|
61 }
|
Chris@1827
|
62
|
Chris@2045
|
63 SOURCES += piper-vamp-cpp/vamp-capnp/piper-capnp.cpp
|
Chris@1827
|
64
|