Mercurial > hg > svgui
comparison svgui.pro @ 1155:d1bab6a99100 project-file-rework
Cut down vastly on the number of config.pri files and places where their contents has to be effectively duplicated without them
author | Chris Cannam |
---|---|
date | Mon, 24 Oct 2016 17:53:33 +0100 |
parents | 0edfed2c8482 |
children |
comparison
equal
deleted
inserted
replaced
1153:c5a82068bd60 | 1155:d1bab6a99100 |
---|---|
1 | 1 |
2 TEMPLATE = lib | 2 TEMPLATE = lib |
3 | 3 |
4 INCLUDEPATH += ../vamp-plugin-sdk | 4 INCLUDEPATH += ../vamp-plugin-sdk |
5 DEFINES += HAVE_VAMP HAVE_VAMPHOSTSDK | |
6 | 5 |
7 exists(config.pri) { | 6 exists(config.pri) { |
8 include(config.pri) | 7 include(config.pri) |
9 } | |
10 !exists(config.pri) { | |
11 | |
12 CONFIG += release | |
13 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING | |
14 | |
15 win32-g++ { | |
16 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include | |
17 LIBS += -L../sv-dependency-builds/win32-mingw/lib | |
18 } | |
19 win32-msvc* { | |
20 # We actually expect MSVC to be used only for 64-bit builds, | |
21 # though the qmake spec is still called win32-msvc* | |
22 INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include | |
23 LIBS += -L../sv-dependency-builds/win64-msvc/lib | |
24 } | |
25 macx* { | |
26 INCLUDEPATH += ../sv-dependency-builds/osx/include | |
27 LIBS += -L../sv-dependency-builds/osx/lib | |
28 } | |
29 | |
30 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_RUBBERBAND HAVE_LIBLO HAVE_MAD HAVE_ID3TAG | |
31 | |
32 win32-msvc* { | |
33 DEFINES += NOMINMAX _USE_MATH_DEFINES | |
34 DEFINES -= HAVE_LIBLO | |
35 } | |
36 } | 8 } |
37 | 9 |
38 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11 | 10 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11 |
39 QT += network xml gui widgets svg | 11 QT += network xml gui widgets svg |
40 | 12 |
43 DEPENDPATH += . ../svcore | 15 DEPENDPATH += . ../svcore |
44 INCLUDEPATH += . ../svcore | 16 INCLUDEPATH += . ../svcore |
45 OBJECTS_DIR = o | 17 OBJECTS_DIR = o |
46 MOC_DIR = o | 18 MOC_DIR = o |
47 | 19 |
48 HEADERS += layer/Colour3DPlotLayer.h \ | 20 include(files.pri) |
49 layer/Colour3DPlotRenderer.h \ | |
50 layer/ColourDatabase.h \ | |
51 layer/ColourMapper.h \ | |
52 layer/ColourScale.h \ | |
53 layer/ColourScaleLayer.h \ | |
54 layer/FlexiNoteLayer.h \ | |
55 layer/ImageLayer.h \ | |
56 layer/ImageRegionFinder.h \ | |
57 layer/Layer.h \ | |
58 layer/LayerFactory.h \ | |
59 layer/LayerGeometryProvider.h \ | |
60 layer/LinearNumericalScale.h \ | |
61 layer/LogNumericalScale.h \ | |
62 layer/LinearColourScale.h \ | |
63 layer/LogColourScale.h \ | |
64 layer/NoteLayer.h \ | |
65 layer/PaintAssistant.h \ | |
66 layer/PianoScale.h \ | |
67 layer/RegionLayer.h \ | |
68 layer/RenderTimer.h \ | |
69 layer/ScrollableImageCache.h \ | |
70 layer/ScrollableMagRangeCache.h \ | |
71 layer/SingleColourLayer.h \ | |
72 layer/SliceableLayer.h \ | |
73 layer/SliceLayer.h \ | |
74 layer/SpectrogramLayer.h \ | |
75 layer/SpectrumLayer.h \ | |
76 layer/TextLayer.h \ | |
77 layer/TimeInstantLayer.h \ | |
78 layer/TimeRulerLayer.h \ | |
79 layer/TimeValueLayer.h \ | |
80 layer/VerticalScaleLayer.h \ | |
81 layer/WaveformLayer.h | |
82 SOURCES += layer/Colour3DPlotLayer.cpp \ | |
83 layer/Colour3DPlotRenderer.cpp \ | |
84 layer/ColourDatabase.cpp \ | |
85 layer/ColourMapper.cpp \ | |
86 layer/ColourScale.cpp \ | |
87 layer/FlexiNoteLayer.cpp \ | |
88 layer/ImageLayer.cpp \ | |
89 layer/ImageRegionFinder.cpp \ | |
90 layer/Layer.cpp \ | |
91 layer/LayerFactory.cpp \ | |
92 layer/LinearNumericalScale.cpp \ | |
93 layer/LogNumericalScale.cpp \ | |
94 layer/LinearColourScale.cpp \ | |
95 layer/LogColourScale.cpp \ | |
96 layer/NoteLayer.cpp \ | |
97 layer/PaintAssistant.cpp \ | |
98 layer/PianoScale.cpp \ | |
99 layer/RegionLayer.cpp \ | |
100 layer/ScrollableImageCache.cpp \ | |
101 layer/ScrollableMagRangeCache.cpp \ | |
102 layer/SingleColourLayer.cpp \ | |
103 layer/SliceLayer.cpp \ | |
104 layer/SpectrogramLayer.cpp \ | |
105 layer/SpectrumLayer.cpp \ | |
106 layer/TextLayer.cpp \ | |
107 layer/TimeInstantLayer.cpp \ | |
108 layer/TimeRulerLayer.cpp \ | |
109 layer/TimeValueLayer.cpp \ | |
110 layer/WaveformLayer.cpp | |
111 | 21 |
112 HEADERS += view/AlignmentView.h \ | 22 HEADERS = $$(SVGUI_HEADERS) |
113 view/Overview.h \ | 23 SOURCES = $$(SVGUI_SOURCES) |
114 view/Pane.h \ | |
115 view/PaneStack.h \ | |
116 view/View.h \ | |
117 view/ViewManager.h \ | |
118 view/ViewProxy.h | |
119 | |
120 SOURCES += view/AlignmentView.cpp \ | |
121 view/Overview.cpp \ | |
122 view/Pane.cpp \ | |
123 view/PaneStack.cpp \ | |
124 view/View.cpp \ | |
125 view/ViewManager.cpp | |
126 | |
127 HEADERS += widgets/ActivityLog.h \ | |
128 widgets/AudioDial.h \ | |
129 widgets/ClickableLabel.h \ | |
130 widgets/ColourNameDialog.h \ | |
131 widgets/CommandHistory.h \ | |
132 widgets/CSVFormatDialog.h \ | |
133 widgets/Fader.h \ | |
134 widgets/InteractiveFileFinder.h \ | |
135 widgets/IconLoader.h \ | |
136 widgets/ImageDialog.h \ | |
137 widgets/ItemEditDialog.h \ | |
138 widgets/KeyReference.h \ | |
139 widgets/LabelCounterInputDialog.h \ | |
140 widgets/LayerTree.h \ | |
141 widgets/LayerTreeDialog.h \ | |
142 widgets/LEDButton.h \ | |
143 widgets/LevelPanToolButton.h \ | |
144 widgets/LevelPanWidget.h \ | |
145 widgets/ListInputDialog.h \ | |
146 widgets/MIDIFileImportDialog.h \ | |
147 widgets/ModelDataTableDialog.h \ | |
148 widgets/NotifyingCheckBox.h \ | |
149 widgets/NotifyingComboBox.h \ | |
150 widgets/NotifyingPushButton.h \ | |
151 widgets/NotifyingTabBar.h \ | |
152 widgets/Panner.h \ | |
153 widgets/PluginParameterBox.h \ | |
154 widgets/PluginParameterDialog.h \ | |
155 widgets/ProgressDialog.h \ | |
156 widgets/PropertyBox.h \ | |
157 widgets/PropertyStack.h \ | |
158 widgets/RangeInputDialog.h \ | |
159 widgets/SelectableLabel.h \ | |
160 widgets/SubdividingMenu.h \ | |
161 widgets/TextAbbrev.h \ | |
162 widgets/Thumbwheel.h \ | |
163 widgets/TipDialog.h \ | |
164 widgets/TransformFinder.h \ | |
165 widgets/UnitConverter.h \ | |
166 widgets/WindowShapePreview.h \ | |
167 widgets/WindowTypeSelector.h | |
168 SOURCES += widgets/ActivityLog.cpp \ | |
169 widgets/AudioDial.cpp \ | |
170 widgets/ColourNameDialog.cpp \ | |
171 widgets/CommandHistory.cpp \ | |
172 widgets/CSVFormatDialog.cpp \ | |
173 widgets/Fader.cpp \ | |
174 widgets/InteractiveFileFinder.cpp \ | |
175 widgets/IconLoader.cpp \ | |
176 widgets/ImageDialog.cpp \ | |
177 widgets/ItemEditDialog.cpp \ | |
178 widgets/KeyReference.cpp \ | |
179 widgets/LabelCounterInputDialog.cpp \ | |
180 widgets/LayerTree.cpp \ | |
181 widgets/LayerTreeDialog.cpp \ | |
182 widgets/LEDButton.cpp \ | |
183 widgets/LevelPanToolButton.cpp \ | |
184 widgets/LevelPanWidget.cpp \ | |
185 widgets/ListInputDialog.cpp \ | |
186 widgets/MIDIFileImportDialog.cpp \ | |
187 widgets/ModelDataTableDialog.cpp \ | |
188 widgets/NotifyingCheckBox.cpp \ | |
189 widgets/NotifyingComboBox.cpp \ | |
190 widgets/NotifyingPushButton.cpp \ | |
191 widgets/NotifyingTabBar.cpp \ | |
192 widgets/Panner.cpp \ | |
193 widgets/PluginParameterBox.cpp \ | |
194 widgets/PluginParameterDialog.cpp \ | |
195 widgets/ProgressDialog.cpp \ | |
196 widgets/PropertyBox.cpp \ | |
197 widgets/PropertyStack.cpp \ | |
198 widgets/RangeInputDialog.cpp \ | |
199 widgets/SelectableLabel.cpp \ | |
200 widgets/SubdividingMenu.cpp \ | |
201 widgets/TextAbbrev.cpp \ | |
202 widgets/Thumbwheel.cpp \ | |
203 widgets/TipDialog.cpp \ | |
204 widgets/TransformFinder.cpp \ | |
205 widgets/UnitConverter.cpp \ | |
206 widgets/WindowShapePreview.cpp \ | |
207 widgets/WindowTypeSelector.cpp |