Chris@811: Chris@824: TEMPLATE = lib Chris@811: Chris@1174: INCLUDEPATH += ../vamp-plugin-sdk Chris@1174: DEFINES += HAVE_VAMP HAVE_VAMPHOSTSDK Chris@1174: Chris@824: exists(config.pri) { Chris@824: include(config.pri) Chris@824: } Chris@869: !exists(config.pri) { Chris@888: Chris@888: CONFIG += release Chris@888: DEFINES += NDEBUG BUILD_RELEASE NO_TIMING Chris@888: Chris@869: win32-g++ { Chris@869: INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include Chris@869: LIBS += -L../sv-dependency-builds/win32-mingw/lib Chris@824: } Chris@869: win32-msvc* { Chris@869: INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include Chris@869: LIBS += -L../sv-dependency-builds/win32-msvc/lib Chris@869: } Chris@869: macx* { Chris@869: INCLUDEPATH += ../sv-dependency-builds/osx/include Chris@869: LIBS += -L../sv-dependency-builds/osx/lib Chris@869: } Chris@869: Chris@1174: DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_LIBLO HAVE_MAD HAVE_ID3TAG Chris@870: Chris@870: macx* { Chris@870: DEFINES += HAVE_COREAUDIO Chris@870: } Chris@824: } Chris@824: Chris@1054: CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11 Chris@824: QT += network xml Chris@824: QT -= gui Chris@824: Chris@824: TARGET = svcore Chris@824: Chris@1209: DEPENDPATH += . data plugin plugin/api/alsa ../dataquay ../checker ../piper-cpp Chris@1209: INCLUDEPATH += . data plugin plugin/api/alsa ../dataquay ../checker ../piper-cpp Chris@824: OBJECTS_DIR = o Chris@824: MOC_DIR = o Chris@824: Chris@824: # Doesn't work with this library, which contains C99 as well as C++ Chris@824: PRECOMPILED_HEADER = Chris@824: Chris@824: # Set up suitable platform defines for RtMidi Chris@824: linux*: DEFINES += __LINUX_ALSASEQ__ Chris@824: macx*: DEFINES += __MACOSX_CORE__ Chris@824: win*: DEFINES += __WINDOWS_MM__ Chris@824: solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__ Chris@824: Chris@824: HEADERS += base/AudioLevel.h \ Chris@824: base/AudioPlaySource.h \ Chris@1038: base/BaseTypes.h \ Chris@824: base/Clipboard.h \ Chris@1187: base/ColumnOp.h \ Chris@824: base/Command.h \ Chris@824: base/Debug.h \ Chris@824: base/Exceptions.h \ Chris@824: base/LogRange.h \ Chris@1186: base/MagnitudeRange.h \ Chris@824: base/Pitch.h \ Chris@824: base/Playable.h \ Chris@824: base/PlayParameterRepository.h \ Chris@824: base/PlayParameters.h \ Chris@824: base/Preferences.h \ Chris@824: base/Profiler.h \ Chris@824: base/ProgressPrinter.h \ Chris@824: base/ProgressReporter.h \ Chris@824: base/PropertyContainer.h \ Chris@824: base/RangeMapper.h \ Chris@824: base/RealTime.h \ Chris@824: base/RecentFiles.h \ Chris@824: base/Resampler.h \ Chris@824: base/ResourceFinder.h \ Chris@824: base/RingBuffer.h \ Chris@824: base/Scavenger.h \ Chris@824: base/Selection.h \ Chris@824: base/Serialiser.h \ Chris@824: base/StorageAdviser.h \ Chris@824: base/StringBits.h \ Chris@1203: base/Strings.h \ Chris@824: base/TempDirectory.h \ Chris@824: base/TempWriteFile.h \ Chris@824: base/TextMatcher.h \ Chris@824: base/Thread.h \ Chris@824: base/UnitDatabase.h \ Chris@824: base/ViewManagerBase.h \ Chris@824: base/Window.h \ Chris@824: base/XmlExportable.h \ Chris@824: base/ZoomConstraint.h Chris@824: SOURCES += base/AudioLevel.cpp \ Chris@824: base/Clipboard.cpp \ Chris@824: base/Command.cpp \ Chris@824: base/Debug.cpp \ Chris@824: base/Exceptions.cpp \ Chris@824: base/LogRange.cpp \ Chris@824: base/Pitch.cpp \ Chris@824: base/PlayParameterRepository.cpp \ Chris@824: base/PlayParameters.cpp \ Chris@824: base/Preferences.cpp \ Chris@824: base/Profiler.cpp \ Chris@824: base/ProgressPrinter.cpp \ Chris@824: base/ProgressReporter.cpp \ Chris@824: base/PropertyContainer.cpp \ Chris@824: base/RangeMapper.cpp \ Chris@824: base/RealTime.cpp \ Chris@824: base/RecentFiles.cpp \ Chris@824: base/Resampler.cpp \ Chris@824: base/ResourceFinder.cpp \ Chris@824: base/Selection.cpp \ Chris@824: base/Serialiser.cpp \ Chris@824: base/StorageAdviser.cpp \ Chris@824: base/StringBits.cpp \ Chris@1203: base/Strings.cpp \ Chris@824: base/TempDirectory.cpp \ Chris@824: base/TempWriteFile.cpp \ Chris@824: base/TextMatcher.cpp \ Chris@824: base/Thread.cpp \ Chris@824: base/UnitDatabase.cpp \ Chris@824: base/ViewManagerBase.cpp \ Chris@824: base/XmlExportable.cpp Chris@824: Chris@824: HEADERS += data/fft/FFTapi.h \ Chris@824: data/fileio/AudioFileReader.h \ Chris@824: data/fileio/AudioFileReaderFactory.h \ Chris@1098: data/fileio/AudioFileSizeEstimator.h \ Chris@824: data/fileio/BZipFileDevice.h \ Chris@824: data/fileio/CachedFile.h \ Chris@824: data/fileio/CodedAudioFileReader.h \ Chris@824: data/fileio/CSVFileReader.h \ Chris@824: data/fileio/CSVFileWriter.h \ Chris@824: data/fileio/CSVFormat.h \ Chris@824: data/fileio/DataFileReader.h \ Chris@824: data/fileio/DataFileReaderFactory.h \ Chris@824: data/fileio/FileFinder.h \ Chris@824: data/fileio/FileReadThread.h \ Chris@824: data/fileio/FileSource.h \ Chris@824: data/fileio/MatrixFile.h \ Chris@824: data/fileio/MIDIFileReader.h \ Chris@824: data/fileio/MIDIFileWriter.h \ Chris@824: data/fileio/MP3FileReader.h \ Chris@824: data/fileio/OggVorbisFileReader.h \ Chris@824: data/fileio/PlaylistFileReader.h \ Chris@824: data/fileio/QuickTimeFileReader.h \ Chris@824: data/fileio/CoreAudioFileReader.h \ Chris@824: data/fileio/DecodingWavFileReader.h \ Chris@824: data/fileio/WavFileReader.h \ Chris@824: data/fileio/WavFileWriter.h \ Chris@824: data/midi/MIDIEvent.h \ Chris@824: data/midi/MIDIInput.h \ Chris@824: data/midi/rtmidi/RtError.h \ Chris@824: data/midi/rtmidi/RtMidi.h \ Chris@824: data/model/AggregateWaveModel.h \ Chris@824: data/model/AlignmentModel.h \ Chris@824: data/model/Dense3DModelPeakCache.h \ Chris@824: data/model/DenseThreeDimensionalModel.h \ Chris@824: data/model/DenseTimeValueModel.h \ Chris@824: data/model/EditableDenseThreeDimensionalModel.h \ Chris@824: data/model/FFTModel.h \ Chris@824: data/model/ImageModel.h \ Chris@824: data/model/IntervalModel.h \ Chris@824: data/model/Labeller.h \ Chris@824: data/model/Model.h \ Chris@824: data/model/ModelDataTableModel.h \ Chris@824: data/model/NoteModel.h \ Chris@826: data/model/FlexiNoteModel.h \ Chris@824: data/model/PathModel.h \ Chris@824: data/model/PowerOfSqrtTwoZoomConstraint.h \ Chris@824: data/model/PowerOfTwoZoomConstraint.h \ Chris@824: data/model/RangeSummarisableTimeValueModel.h \ Chris@824: data/model/RegionModel.h \ Chris@824: data/model/SparseModel.h \ Chris@824: data/model/SparseOneDimensionalModel.h \ Chris@824: data/model/SparseTimeValueModel.h \ Chris@824: data/model/SparseValueModel.h \ Chris@824: data/model/TabularModel.h \ Chris@824: data/model/TextModel.h \ Chris@824: data/model/WaveFileModel.h \ Chris@1122: data/model/ReadOnlyWaveFileModel.h \ Chris@824: data/model/WritableWaveFileModel.h \ Chris@824: data/osc/OSCMessage.h \ Chris@824: data/osc/OSCQueue.h Chris@824: SOURCES += data/fft/FFTapi.cpp \ Chris@824: data/fileio/AudioFileReader.cpp \ Chris@824: data/fileio/AudioFileReaderFactory.cpp \ Chris@1098: data/fileio/AudioFileSizeEstimator.cpp \ Chris@824: data/fileio/BZipFileDevice.cpp \ Chris@824: data/fileio/CachedFile.cpp \ Chris@824: data/fileio/CodedAudioFileReader.cpp \ Chris@824: data/fileio/CSVFileReader.cpp \ Chris@824: data/fileio/CSVFileWriter.cpp \ Chris@824: data/fileio/CSVFormat.cpp \ Chris@824: data/fileio/DataFileReaderFactory.cpp \ Chris@824: data/fileio/FileReadThread.cpp \ Chris@824: data/fileio/FileSource.cpp \ Chris@824: data/fileio/MatrixFile.cpp \ Chris@824: data/fileio/MIDIFileReader.cpp \ Chris@824: data/fileio/MIDIFileWriter.cpp \ Chris@824: data/fileio/MP3FileReader.cpp \ Chris@824: data/fileio/OggVorbisFileReader.cpp \ Chris@824: data/fileio/PlaylistFileReader.cpp \ Chris@824: data/fileio/QuickTimeFileReader.cpp \ Chris@824: data/fileio/CoreAudioFileReader.cpp \ Chris@824: data/fileio/DecodingWavFileReader.cpp \ Chris@824: data/fileio/WavFileReader.cpp \ Chris@824: data/fileio/WavFileWriter.cpp \ Chris@824: data/midi/MIDIInput.cpp \ Chris@824: data/midi/rtmidi/RtMidi.cpp \ Chris@824: data/model/AggregateWaveModel.cpp \ Chris@824: data/model/AlignmentModel.cpp \ Chris@824: data/model/Dense3DModelPeakCache.cpp \ Chris@824: data/model/DenseTimeValueModel.cpp \ Chris@824: data/model/EditableDenseThreeDimensionalModel.cpp \ Chris@824: data/model/FFTModel.cpp \ Chris@824: data/model/Model.cpp \ Chris@824: data/model/ModelDataTableModel.cpp \ Chris@824: data/model/PowerOfSqrtTwoZoomConstraint.cpp \ Chris@824: data/model/PowerOfTwoZoomConstraint.cpp \ Chris@824: data/model/RangeSummarisableTimeValueModel.cpp \ Chris@824: data/model/WaveFileModel.cpp \ Chris@1122: data/model/ReadOnlyWaveFileModel.cpp \ Chris@824: data/model/WritableWaveFileModel.cpp \ Chris@824: data/osc/OSCMessage.cpp \ Chris@824: data/osc/OSCQueue.cpp Chris@824: Chris@1178: HEADERS += plugin/PluginScan.h \ Chris@1178: plugin/DSSIPluginFactory.h \ Chris@824: plugin/DSSIPluginInstance.h \ Chris@824: plugin/FeatureExtractionPluginFactory.h \ Chris@824: plugin/LADSPAPluginFactory.h \ Chris@824: plugin/LADSPAPluginInstance.h \ Chris@824: plugin/PluginIdentifier.h \ Chris@824: plugin/PluginXml.h \ Chris@824: plugin/RealTimePluginFactory.h \ Chris@824: plugin/RealTimePluginInstance.h \ Chris@824: plugin/api/dssi.h \ Chris@824: plugin/api/ladspa.h \ Chris@824: plugin/plugins/SamplePlayer.h \ Chris@824: plugin/api/alsa/asoundef.h \ Chris@824: plugin/api/alsa/asoundlib.h \ Chris@824: plugin/api/alsa/seq.h \ Chris@824: plugin/api/alsa/seq_event.h \ Chris@824: plugin/api/alsa/seq_midi_event.h \ Chris@824: plugin/api/alsa/sound/asequencer.h Chris@824: Chris@824: Chris@1178: SOURCES += plugin/PluginScan.cpp \ Chris@1178: plugin/DSSIPluginFactory.cpp \ Chris@824: plugin/DSSIPluginInstance.cpp \ Chris@824: plugin/FeatureExtractionPluginFactory.cpp \ Chris@824: plugin/LADSPAPluginFactory.cpp \ Chris@824: plugin/LADSPAPluginInstance.cpp \ Chris@824: plugin/PluginIdentifier.cpp \ Chris@824: plugin/PluginXml.cpp \ Chris@824: plugin/RealTimePluginFactory.cpp \ Chris@824: plugin/RealTimePluginInstance.cpp \ Chris@824: plugin/plugins/SamplePlayer.cpp Chris@811: Chris@811: !linux* { Chris@811: SOURCES += plugin/api/dssi_alsa_compat.c Chris@811: } Chris@824: Chris@824: HEADERS += rdf/PluginRDFIndexer.h \ Chris@824: rdf/PluginRDFDescription.h \ Chris@824: rdf/RDFExporter.h \ Chris@824: rdf/RDFFeatureWriter.h \ Chris@824: rdf/RDFImporter.h \ Chris@824: rdf/RDFTransformFactory.h Chris@824: SOURCES += rdf/PluginRDFIndexer.cpp \ Chris@824: rdf/PluginRDFDescription.cpp \ Chris@824: rdf/RDFExporter.cpp \ Chris@824: rdf/RDFFeatureWriter.cpp \ Chris@824: rdf/RDFImporter.cpp \ Chris@824: rdf/RDFTransformFactory.cpp Chris@824: Chris@824: HEADERS += system/Init.h \ Chris@824: system/System.h Chris@824: SOURCES += system/Init.cpp \ Chris@824: system/System.cpp Chris@824: Chris@824: HEADERS += transform/CSVFeatureWriter.h \ Chris@824: transform/FeatureExtractionModelTransformer.h \ Chris@824: transform/FeatureWriter.h \ Chris@824: transform/FileFeatureWriter.h \ Chris@824: transform/RealTimeEffectModelTransformer.h \ Chris@824: transform/Transform.h \ Chris@824: transform/TransformDescription.h \ Chris@824: transform/TransformFactory.h \ Chris@824: transform/ModelTransformer.h \ Chris@824: transform/ModelTransformerFactory.h Chris@824: SOURCES += transform/CSVFeatureWriter.cpp \ Chris@824: transform/FeatureExtractionModelTransformer.cpp \ Chris@824: transform/FileFeatureWriter.cpp \ Chris@824: transform/RealTimeEffectModelTransformer.cpp \ Chris@824: transform/Transform.cpp \ Chris@824: transform/TransformFactory.cpp \ Chris@824: transform/ModelTransformer.cpp \ Chris@824: transform/ModelTransformerFactory.cpp