annotate svcore.pro @ 1078:ce82bcdc95d0

Fail upfront if the file is going to be too large. We expect the caller to split up large data sets into several MatrixFiles
author Chris Cannam
date Wed, 10 Jun 2015 13:10:26 +0100
parents 98d4dabbf740
children 420fc961c0c4 def2db9c4ab0 b9faee02afa5
rev   line source
Chris@811 1
Chris@824 2 TEMPLATE = lib
Chris@811 3
Chris@824 4 exists(config.pri) {
Chris@824 5 include(config.pri)
Chris@824 6 }
Chris@869 7 !exists(config.pri) {
Chris@888 8
Chris@888 9 CONFIG += release
Chris@888 10 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@888 11
Chris@869 12 win32-g++ {
Chris@869 13 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
Chris@869 14 LIBS += -L../sv-dependency-builds/win32-mingw/lib
Chris@824 15 }
Chris@869 16 win32-msvc* {
Chris@869 17 INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
Chris@869 18 LIBS += -L../sv-dependency-builds/win32-msvc/lib
Chris@869 19 }
Chris@869 20 macx* {
Chris@869 21 INCLUDEPATH += ../sv-dependency-builds/osx/include
Chris@869 22 LIBS += -L../sv-dependency-builds/osx/lib
Chris@869 23 }
Chris@869 24
Chris@870 25 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_RUBBERBAND HAVE_LIBLO HAVE_MAD HAVE_ID3TAG
Chris@870 26
Chris@870 27 macx* {
Chris@870 28 DEFINES += HAVE_COREAUDIO
Chris@870 29 }
Chris@824 30 }
Chris@824 31
Chris@1054 32 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
Chris@824 33 QT += network xml
Chris@824 34 QT -= gui
Chris@824 35
Chris@824 36 TARGET = svcore
Chris@824 37
Chris@824 38 DEPENDPATH += . data plugin plugin/api/alsa
Chris@824 39 INCLUDEPATH += . data plugin plugin/api/alsa ../dataquay
Chris@824 40 OBJECTS_DIR = o
Chris@824 41 MOC_DIR = o
Chris@824 42
Chris@824 43 # Doesn't work with this library, which contains C99 as well as C++
Chris@824 44 PRECOMPILED_HEADER =
Chris@824 45
Chris@824 46 # Set up suitable platform defines for RtMidi
Chris@824 47 linux*: DEFINES += __LINUX_ALSASEQ__
Chris@824 48 macx*: DEFINES += __MACOSX_CORE__
Chris@824 49 win*: DEFINES += __WINDOWS_MM__
Chris@824 50 solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__
Chris@824 51
Chris@824 52 HEADERS += base/AudioLevel.h \
Chris@824 53 base/AudioPlaySource.h \
Chris@1038 54 base/BaseTypes.h \
Chris@824 55 base/Clipboard.h \
Chris@824 56 base/Command.h \
Chris@824 57 base/Debug.h \
Chris@824 58 base/Exceptions.h \
Chris@824 59 base/LogRange.h \
Chris@824 60 base/Pitch.h \
Chris@824 61 base/Playable.h \
Chris@824 62 base/PlayParameterRepository.h \
Chris@824 63 base/PlayParameters.h \
Chris@824 64 base/Preferences.h \
Chris@824 65 base/Profiler.h \
Chris@824 66 base/ProgressPrinter.h \
Chris@824 67 base/ProgressReporter.h \
Chris@824 68 base/PropertyContainer.h \
Chris@824 69 base/RangeMapper.h \
Chris@824 70 base/RealTime.h \
Chris@824 71 base/RecentFiles.h \
Chris@824 72 base/Resampler.h \
Chris@824 73 base/ResizeableBitset.h \
Chris@824 74 base/ResourceFinder.h \
Chris@824 75 base/RingBuffer.h \
Chris@824 76 base/Scavenger.h \
Chris@824 77 base/Selection.h \
Chris@824 78 base/Serialiser.h \
Chris@824 79 base/StorageAdviser.h \
Chris@824 80 base/StringBits.h \
Chris@824 81 base/TempDirectory.h \
Chris@824 82 base/TempWriteFile.h \
Chris@824 83 base/TextMatcher.h \
Chris@824 84 base/Thread.h \
Chris@824 85 base/UnitDatabase.h \
Chris@824 86 base/ViewManagerBase.h \
Chris@824 87 base/Window.h \
Chris@824 88 base/XmlExportable.h \
Chris@824 89 base/ZoomConstraint.h
Chris@824 90 SOURCES += base/AudioLevel.cpp \
Chris@824 91 base/Clipboard.cpp \
Chris@824 92 base/Command.cpp \
Chris@824 93 base/Debug.cpp \
Chris@824 94 base/Exceptions.cpp \
Chris@824 95 base/LogRange.cpp \
Chris@824 96 base/Pitch.cpp \
Chris@824 97 base/PlayParameterRepository.cpp \
Chris@824 98 base/PlayParameters.cpp \
Chris@824 99 base/Preferences.cpp \
Chris@824 100 base/Profiler.cpp \
Chris@824 101 base/ProgressPrinter.cpp \
Chris@824 102 base/ProgressReporter.cpp \
Chris@824 103 base/PropertyContainer.cpp \
Chris@824 104 base/RangeMapper.cpp \
Chris@824 105 base/RealTime.cpp \
Chris@824 106 base/RecentFiles.cpp \
Chris@824 107 base/Resampler.cpp \
Chris@824 108 base/ResourceFinder.cpp \
Chris@824 109 base/Selection.cpp \
Chris@824 110 base/Serialiser.cpp \
Chris@824 111 base/StorageAdviser.cpp \
Chris@824 112 base/StringBits.cpp \
Chris@824 113 base/TempDirectory.cpp \
Chris@824 114 base/TempWriteFile.cpp \
Chris@824 115 base/TextMatcher.cpp \
Chris@824 116 base/Thread.cpp \
Chris@824 117 base/UnitDatabase.cpp \
Chris@824 118 base/ViewManagerBase.cpp \
Chris@824 119 base/XmlExportable.cpp
Chris@824 120
Chris@824 121 HEADERS += data/fft/FFTapi.h \
Chris@824 122 data/fft/FFTCacheReader.h \
Chris@824 123 data/fft/FFTCacheStorageType.h \
Chris@824 124 data/fft/FFTCacheWriter.h \
Chris@824 125 data/fft/FFTDataServer.h \
Chris@824 126 data/fft/FFTFileCacheReader.h \
Chris@824 127 data/fft/FFTFileCacheWriter.h \
Chris@824 128 data/fft/FFTMemoryCache.h \
Chris@824 129 data/fileio/AudioFileReader.h \
Chris@824 130 data/fileio/AudioFileReaderFactory.h \
Chris@824 131 data/fileio/BZipFileDevice.h \
Chris@824 132 data/fileio/CachedFile.h \
Chris@824 133 data/fileio/CodedAudioFileReader.h \
Chris@824 134 data/fileio/CSVFileReader.h \
Chris@824 135 data/fileio/CSVFileWriter.h \
Chris@824 136 data/fileio/CSVFormat.h \
Chris@824 137 data/fileio/DataFileReader.h \
Chris@824 138 data/fileio/DataFileReaderFactory.h \
Chris@824 139 data/fileio/FileFinder.h \
Chris@824 140 data/fileio/FileReadThread.h \
Chris@824 141 data/fileio/FileSource.h \
Chris@824 142 data/fileio/MatrixFile.h \
Chris@824 143 data/fileio/MIDIFileReader.h \
Chris@824 144 data/fileio/MIDIFileWriter.h \
Chris@824 145 data/fileio/MP3FileReader.h \
Chris@824 146 data/fileio/OggVorbisFileReader.h \
Chris@824 147 data/fileio/PlaylistFileReader.h \
Chris@824 148 data/fileio/QuickTimeFileReader.h \
Chris@824 149 data/fileio/CoreAudioFileReader.h \
Chris@824 150 data/fileio/DecodingWavFileReader.h \
Chris@824 151 data/fileio/WavFileReader.h \
Chris@824 152 data/fileio/WavFileWriter.h \
Chris@824 153 data/midi/MIDIEvent.h \
Chris@824 154 data/midi/MIDIInput.h \
Chris@824 155 data/midi/rtmidi/RtError.h \
Chris@824 156 data/midi/rtmidi/RtMidi.h \
Chris@824 157 data/model/AggregateWaveModel.h \
Chris@824 158 data/model/AlignmentModel.h \
Chris@824 159 data/model/Dense3DModelPeakCache.h \
Chris@824 160 data/model/DenseThreeDimensionalModel.h \
Chris@824 161 data/model/DenseTimeValueModel.h \
Chris@824 162 data/model/EditableDenseThreeDimensionalModel.h \
Chris@824 163 data/model/FFTModel.h \
Chris@824 164 data/model/ImageModel.h \
Chris@824 165 data/model/IntervalModel.h \
Chris@824 166 data/model/Labeller.h \
Chris@824 167 data/model/Model.h \
Chris@824 168 data/model/ModelDataTableModel.h \
Chris@824 169 data/model/NoteModel.h \
Chris@826 170 data/model/FlexiNoteModel.h \
Chris@824 171 data/model/PathModel.h \
Chris@824 172 data/model/PowerOfSqrtTwoZoomConstraint.h \
Chris@824 173 data/model/PowerOfTwoZoomConstraint.h \
Chris@824 174 data/model/RangeSummarisableTimeValueModel.h \
Chris@824 175 data/model/RegionModel.h \
Chris@824 176 data/model/SparseModel.h \
Chris@824 177 data/model/SparseOneDimensionalModel.h \
Chris@824 178 data/model/SparseTimeValueModel.h \
Chris@824 179 data/model/SparseValueModel.h \
Chris@824 180 data/model/TabularModel.h \
Chris@824 181 data/model/TextModel.h \
Chris@824 182 data/model/WaveFileModel.h \
Chris@824 183 data/model/WritableWaveFileModel.h \
Chris@824 184 data/osc/OSCMessage.h \
Chris@824 185 data/osc/OSCQueue.h
Chris@824 186 SOURCES += data/fft/FFTapi.cpp \
Chris@824 187 data/fft/FFTDataServer.cpp \
Chris@824 188 data/fft/FFTFileCacheReader.cpp \
Chris@824 189 data/fft/FFTFileCacheWriter.cpp \
Chris@824 190 data/fft/FFTMemoryCache.cpp \
Chris@824 191 data/fileio/AudioFileReader.cpp \
Chris@824 192 data/fileio/AudioFileReaderFactory.cpp \
Chris@824 193 data/fileio/BZipFileDevice.cpp \
Chris@824 194 data/fileio/CachedFile.cpp \
Chris@824 195 data/fileio/CodedAudioFileReader.cpp \
Chris@824 196 data/fileio/CSVFileReader.cpp \
Chris@824 197 data/fileio/CSVFileWriter.cpp \
Chris@824 198 data/fileio/CSVFormat.cpp \
Chris@824 199 data/fileio/DataFileReaderFactory.cpp \
Chris@824 200 data/fileio/FileReadThread.cpp \
Chris@824 201 data/fileio/FileSource.cpp \
Chris@824 202 data/fileio/MatrixFile.cpp \
Chris@824 203 data/fileio/MIDIFileReader.cpp \
Chris@824 204 data/fileio/MIDIFileWriter.cpp \
Chris@824 205 data/fileio/MP3FileReader.cpp \
Chris@824 206 data/fileio/OggVorbisFileReader.cpp \
Chris@824 207 data/fileio/PlaylistFileReader.cpp \
Chris@824 208 data/fileio/QuickTimeFileReader.cpp \
Chris@824 209 data/fileio/CoreAudioFileReader.cpp \
Chris@824 210 data/fileio/DecodingWavFileReader.cpp \
Chris@824 211 data/fileio/WavFileReader.cpp \
Chris@824 212 data/fileio/WavFileWriter.cpp \
Chris@824 213 data/midi/MIDIInput.cpp \
Chris@824 214 data/midi/rtmidi/RtMidi.cpp \
Chris@824 215 data/model/AggregateWaveModel.cpp \
Chris@824 216 data/model/AlignmentModel.cpp \
Chris@824 217 data/model/Dense3DModelPeakCache.cpp \
Chris@824 218 data/model/DenseTimeValueModel.cpp \
Chris@824 219 data/model/EditableDenseThreeDimensionalModel.cpp \
Chris@824 220 data/model/FFTModel.cpp \
Chris@824 221 data/model/Model.cpp \
Chris@824 222 data/model/ModelDataTableModel.cpp \
Chris@824 223 data/model/PowerOfSqrtTwoZoomConstraint.cpp \
Chris@824 224 data/model/PowerOfTwoZoomConstraint.cpp \
Chris@824 225 data/model/RangeSummarisableTimeValueModel.cpp \
Chris@824 226 data/model/WaveFileModel.cpp \
Chris@824 227 data/model/WritableWaveFileModel.cpp \
Chris@824 228 data/osc/OSCMessage.cpp \
Chris@824 229 data/osc/OSCQueue.cpp
Chris@824 230
Chris@824 231 HEADERS += plugin/DSSIPluginFactory.h \
Chris@824 232 plugin/DSSIPluginInstance.h \
Chris@824 233 plugin/FeatureExtractionPluginFactory.h \
Chris@824 234 plugin/LADSPAPluginFactory.h \
Chris@824 235 plugin/LADSPAPluginInstance.h \
Chris@824 236 plugin/PluginIdentifier.h \
Chris@824 237 plugin/PluginXml.h \
Chris@824 238 plugin/RealTimePluginFactory.h \
Chris@824 239 plugin/RealTimePluginInstance.h \
Chris@824 240 plugin/api/dssi.h \
Chris@824 241 plugin/api/ladspa.h \
Chris@824 242 plugin/plugins/SamplePlayer.h \
Chris@824 243 plugin/api/alsa/asoundef.h \
Chris@824 244 plugin/api/alsa/asoundlib.h \
Chris@824 245 plugin/api/alsa/seq.h \
Chris@824 246 plugin/api/alsa/seq_event.h \
Chris@824 247 plugin/api/alsa/seq_midi_event.h \
Chris@824 248 plugin/api/alsa/sound/asequencer.h
Chris@824 249
Chris@824 250
Chris@824 251 SOURCES += plugin/DSSIPluginFactory.cpp \
Chris@824 252 plugin/DSSIPluginInstance.cpp \
Chris@824 253 plugin/FeatureExtractionPluginFactory.cpp \
Chris@824 254 plugin/LADSPAPluginFactory.cpp \
Chris@824 255 plugin/LADSPAPluginInstance.cpp \
Chris@824 256 plugin/PluginIdentifier.cpp \
Chris@824 257 plugin/PluginXml.cpp \
Chris@824 258 plugin/RealTimePluginFactory.cpp \
Chris@824 259 plugin/RealTimePluginInstance.cpp \
Chris@824 260 plugin/plugins/SamplePlayer.cpp
Chris@811 261
Chris@811 262 !linux* {
Chris@811 263 SOURCES += plugin/api/dssi_alsa_compat.c
Chris@811 264 }
Chris@824 265
Chris@824 266 HEADERS += rdf/PluginRDFIndexer.h \
Chris@824 267 rdf/PluginRDFDescription.h \
Chris@824 268 rdf/RDFExporter.h \
Chris@824 269 rdf/RDFFeatureWriter.h \
Chris@824 270 rdf/RDFImporter.h \
Chris@824 271 rdf/RDFTransformFactory.h
Chris@824 272 SOURCES += rdf/PluginRDFIndexer.cpp \
Chris@824 273 rdf/PluginRDFDescription.cpp \
Chris@824 274 rdf/RDFExporter.cpp \
Chris@824 275 rdf/RDFFeatureWriter.cpp \
Chris@824 276 rdf/RDFImporter.cpp \
Chris@824 277 rdf/RDFTransformFactory.cpp
Chris@824 278
Chris@824 279 HEADERS += system/Init.h \
Chris@824 280 system/System.h
Chris@824 281 SOURCES += system/Init.cpp \
Chris@824 282 system/System.cpp
Chris@824 283
Chris@824 284 HEADERS += transform/CSVFeatureWriter.h \
Chris@824 285 transform/FeatureExtractionModelTransformer.h \
Chris@824 286 transform/FeatureWriter.h \
Chris@824 287 transform/FileFeatureWriter.h \
Chris@824 288 transform/RealTimeEffectModelTransformer.h \
Chris@824 289 transform/Transform.h \
Chris@824 290 transform/TransformDescription.h \
Chris@824 291 transform/TransformFactory.h \
Chris@824 292 transform/ModelTransformer.h \
Chris@824 293 transform/ModelTransformerFactory.h
Chris@824 294 SOURCES += transform/CSVFeatureWriter.cpp \
Chris@824 295 transform/FeatureExtractionModelTransformer.cpp \
Chris@824 296 transform/FileFeatureWriter.cpp \
Chris@824 297 transform/RealTimeEffectModelTransformer.cpp \
Chris@824 298 transform/Transform.cpp \
Chris@824 299 transform/TransformFactory.cpp \
Chris@824 300 transform/ModelTransformer.cpp \
Chris@824 301 transform/ModelTransformerFactory.cpp