comparison sv.pro @ 1332:587c0e53ea86 3.0-integration

Rearrange svcore tests so they can all be built from the top level
author Chris Cannam
date Mon, 14 Nov 2016 17:53:16 +0000
parents c6513cae4747
children 6399dba63753
comparison
equal deleted inserted replaced
1331:7b46591ba12d 1332:587c0e53ea86
7 7
8 !exists(config.pri) { 8 !exists(config.pri) {
9 include(noconfig.pri) 9 include(noconfig.pri)
10 } 10 }
11 11
12 CONFIG += qt thread warn_on stl rtti exceptions c++11 12 include(base.pri)
13
13 QT += network xml gui widgets svg 14 QT += network xml gui widgets svg
14 15
15 TARGET = "Sonic Visualiser" 16 TARGET = "Sonic Visualiser"
16 linux*:TARGET = sonic-visualiser 17 linux*:TARGET = sonic-visualiser
17 solaris*:TARGET = sonic-visualiser 18 solaris*:TARGET = sonic-visualiser
20 i18n/sonic-visualiser_ru.ts \ 21 i18n/sonic-visualiser_ru.ts \
21 i18n/sonic-visualiser_en_GB.ts \ 22 i18n/sonic-visualiser_en_GB.ts \
22 i18n/sonic-visualiser_en_US.ts \ 23 i18n/sonic-visualiser_en_US.ts \
23 i18n/sonic-visualiser_cs_CZ.ts 24 i18n/sonic-visualiser_cs_CZ.ts
24 25
25 # Platform defines for RtMidi
26 linux*: DEFINES += __LINUX_ALSASEQ__
27 macx*: DEFINES += __MACOSX_CORE__
28 win*: DEFINES += __WINDOWS_MM__
29 solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__
30
31 # Defines for Dataquay
32 DEFINES += USE_SORD
33
34 OBJECTS_DIR = o 26 OBJECTS_DIR = o
35 MOC_DIR = o 27 MOC_DIR = o
36 28
37 ICON = icons/sv-macicon.icns 29 ICON = icons/sv-macicon.icns
38 RC_FILE = icons/sv.rc 30 RC_FILE = icons/sv.rc
40 RESOURCES += sonic-visualiser.qrc 32 RESOURCES += sonic-visualiser.qrc
41 33
42 # Mac integration 34 # Mac integration
43 QMAKE_INFO_PLIST = deploy/osx/Info.plist 35 QMAKE_INFO_PLIST = deploy/osx/Info.plist
44 36
45 SV_INCLUDEPATH = \
46 . \
47 bqvec \
48 bqvec/bqvec \
49 bqresample \
50 bqaudioio \
51 bqaudioio/bqaudioio \
52 piper-cpp \
53 checker \
54 checker/checker \
55 dataquay \
56 dataquay/dataquay \
57 svcore \
58 svcore/data \
59 svcore/plugin/api/alsa \
60 svgui \
61 svapp \
62 vamp-plugin-sdk
63
64 DEPENDPATH += $$SV_INCLUDEPATH
65 INCLUDEPATH += $$SV_INCLUDEPATH
66
67 include(bq-files.pri)
68 include(vamp-plugin-sdk-files.pri)
69 include(svcore/files.pri)
70 include(svgui/files.pri) 37 include(svgui/files.pri)
71 include(svapp/files.pri) 38 include(svapp/files.pri)
72 39
73 DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES)
74 DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS)
75
76 CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES)
77 CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS)
78
79 CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/client.pro, HEADERS)
80
81 for (file, BQ_SOURCES) { SOURCES += $$file }
82 for (file, BQ_HEADERS) { HEADERS += $$file }
83
84 for (file, VAMP_SOURCES) { SOURCES += $$file }
85 for (file, VAMP_HEADERS) { HEADERS += $$file }
86
87 for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) }
88 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) } 40 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
89 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) } 41 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
90 for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) }
91 for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) }
92 42
93 for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) }
94 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) } 43 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
95 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) } 44 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
96 for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) }
97 for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) }
98
99 for (file, CLIENT_HEADERS) {
100 HEADERS += $$sprintf("piper-cpp/vamp-client/%1", $$file)
101 }
102
103 SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp
104 45
105 HEADERS += \ 46 HEADERS += \
106 main/MainWindow.h \ 47 main/MainWindow.h \
107 main/NetworkPermissionTester.h \ 48 main/NetworkPermissionTester.h \
108 main/Surveyer.h \ 49 main/Surveyer.h \