annotate svcore.pro @ 811:f85050b6f522 sv_v2.1

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