Mercurial > hg > sonic-visualiser
comparison 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 |
comparison
equal
deleted
inserted
replaced
1823:1b6ffed298a2 | 1827:e63cc95876cb |
---|---|
1 | |
2 TEMPLATE = lib | |
3 | |
4 exists(config.pri) { | |
5 include(config.pri) | |
6 } | |
7 | |
8 !exists(config.pri) { | |
9 include(noconfig.pri) | |
10 } | |
11 | |
12 include(base.pri) | |
13 | |
14 CONFIG += staticlib | |
15 QT += network xml | |
16 QT -= gui | |
17 | |
18 TARGET = base | |
19 | |
20 OBJECTS_DIR = o | |
21 MOC_DIR = o | |
22 | |
23 include(bq-files.pri) | |
24 include(vamp-plugin-sdk-files.pri) | |
25 include(svcore/files.pri) | |
26 include(capnp-regen.pri) | |
27 | |
28 DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES) | |
29 DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS) | |
30 | |
31 CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES) | |
32 CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS) | |
33 | |
34 CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/qt/test.pro, HEADERS) | |
35 | |
36 for (file, BQ_SOURCES) { SOURCES += $$file } | |
37 for (file, BQ_HEADERS) { HEADERS += $$file } | |
38 | |
39 for (file, VAMP_SOURCES) { SOURCES += $$file } | |
40 for (file, VAMP_HEADERS) { HEADERS += $$file } | |
41 | |
42 for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) } | |
43 for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) } | |
44 | |
45 for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) } | |
46 for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) } | |
47 | |
48 for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) } | |
49 for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) } | |
50 | |
51 for (file, CLIENT_HEADERS) { | |
52 HEADERS += $$sprintf("piper-cpp/vamp-client/qt/%1", $$file) | |
53 } | |
54 | |
55 SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp | |
56 |