view svgui.pro @ 1126:5c3333fb70b3 spectrogram-minor-refactor

Must set range mappers before default values -- the presence of a range mapper alters the way the default is set up
author Chris Cannam
date Mon, 01 Aug 2016 16:13:29 +0100
parents 175d4e15884d
children 0edfed2c8482
line wrap: on
line source

TEMPLATE = lib

INCLUDEPATH += ../vamp-plugin-sdk
DEFINES += HAVE_VAMP HAVE_VAMPHOSTSDK

exists(config.pri) {
    include(config.pri)
}
!exists(config.pri) {

    CONFIG += release
    DEFINES += NDEBUG BUILD_RELEASE NO_TIMING

    win32-g++ {
        INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
        LIBS += -L../sv-dependency-builds/win32-mingw/lib
    }
    win32-msvc* {
        INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
        LIBS += -L../sv-dependency-builds/win32-msvc/lib
    }
    macx* {
        INCLUDEPATH += ../sv-dependency-builds/osx/include
        LIBS += -L../sv-dependency-builds/osx/lib
    }

    DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_RUBBERBAND HAVE_LIBLO HAVE_MAD HAVE_ID3TAG
}

CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
QT += network xml gui widgets svg

TARGET = svgui

DEPENDPATH += . ../svcore
INCLUDEPATH += . ../svcore
OBJECTS_DIR = o
MOC_DIR = o

HEADERS += layer/Colour3DPlotLayer.h \
	   layer/Colour3DPlotRenderer.h \
	   layer/ColourDatabase.h \
	   layer/ColourMapper.h \
           layer/ColourScale.h \
           layer/ColourScaleLayer.h \
           layer/FlexiNoteLayer.h \
           layer/ImageLayer.h \
           layer/ImageRegionFinder.h \
           layer/Layer.h \
           layer/LayerFactory.h \
           layer/LayerGeometryProvider.h \
           layer/LinearNumericalScale.h \
           layer/LogNumericalScale.h \
           layer/LinearColourScale.h \
           layer/LogColourScale.h \
           layer/NoteLayer.h \
           layer/PaintAssistant.h \
           layer/PianoScale.h \
           layer/RegionLayer.h \
           layer/RenderTimer.h \
           layer/ScrollableImageCache.h \
           layer/ScrollableMagRangeCache.h \
           layer/SingleColourLayer.h \
           layer/SliceableLayer.h \
           layer/SliceLayer.h \
           layer/SpectrogramLayer.h \
           layer/SpectrumLayer.h \
           layer/TextLayer.h \
           layer/TimeInstantLayer.h \
           layer/TimeRulerLayer.h \
           layer/TimeValueLayer.h \
           layer/VerticalScaleLayer.h \
           layer/WaveformLayer.h
SOURCES += layer/Colour3DPlotLayer.cpp \
	   layer/Colour3DPlotRenderer.cpp \
	   layer/ColourDatabase.cpp \
	   layer/ColourMapper.cpp \
	   layer/ColourScale.cpp \
           layer/FlexiNoteLayer.cpp \
           layer/ImageLayer.cpp \
           layer/ImageRegionFinder.cpp \
           layer/Layer.cpp \
           layer/LayerFactory.cpp \
           layer/LinearNumericalScale.cpp \
           layer/LogNumericalScale.cpp \
           layer/LinearColourScale.cpp \
           layer/LogColourScale.cpp \
           layer/NoteLayer.cpp \
           layer/PaintAssistant.cpp \
           layer/PianoScale.cpp \
           layer/RegionLayer.cpp \
           layer/ScrollableImageCache.cpp \
           layer/ScrollableMagRangeCache.cpp \
           layer/SingleColourLayer.cpp \
           layer/SliceLayer.cpp \
           layer/SpectrogramLayer.cpp \
           layer/SpectrumLayer.cpp \
           layer/TextLayer.cpp \
           layer/TimeInstantLayer.cpp \
           layer/TimeRulerLayer.cpp \
           layer/TimeValueLayer.cpp \
           layer/WaveformLayer.cpp

HEADERS += view/AlignmentView.h \
           view/Overview.h \
           view/Pane.h \
           view/PaneStack.h \
           view/View.h \
           view/ViewManager.h \
           view/ViewProxy.h
           
SOURCES += view/AlignmentView.cpp \
           view/Overview.cpp \
           view/Pane.cpp \
           view/PaneStack.cpp \
           view/View.cpp \
           view/ViewManager.cpp

HEADERS += widgets/ActivityLog.h \
           widgets/AudioDial.h \
           widgets/ClickableLabel.h \
           widgets/ColourNameDialog.h \
           widgets/CommandHistory.h \
           widgets/CSVFormatDialog.h \
           widgets/Fader.h \
           widgets/InteractiveFileFinder.h \
           widgets/IconLoader.h \
           widgets/ImageDialog.h \
           widgets/ItemEditDialog.h \
           widgets/KeyReference.h \
           widgets/LabelCounterInputDialog.h \
           widgets/LayerTree.h \
           widgets/LayerTreeDialog.h \
           widgets/LEDButton.h \
           widgets/LevelPanToolButton.h \
           widgets/LevelPanWidget.h \
           widgets/ListInputDialog.h \
           widgets/MIDIFileImportDialog.h \
           widgets/ModelDataTableDialog.h \
           widgets/NotifyingCheckBox.h \
           widgets/NotifyingComboBox.h \
           widgets/NotifyingPushButton.h \
           widgets/NotifyingTabBar.h \
           widgets/Panner.h \
           widgets/PluginParameterBox.h \
           widgets/PluginParameterDialog.h \
           widgets/ProgressDialog.h \
           widgets/PropertyBox.h \
           widgets/PropertyStack.h \
           widgets/RangeInputDialog.h \
           widgets/SelectableLabel.h \
           widgets/SubdividingMenu.h \
           widgets/TextAbbrev.h \
           widgets/Thumbwheel.h \
           widgets/TipDialog.h \
           widgets/TransformFinder.h \
           widgets/UnitConverter.h \
           widgets/WindowShapePreview.h \
           widgets/WindowTypeSelector.h
SOURCES += widgets/ActivityLog.cpp \
           widgets/AudioDial.cpp \
           widgets/ColourNameDialog.cpp \
           widgets/CommandHistory.cpp \
           widgets/CSVFormatDialog.cpp \
           widgets/Fader.cpp \
           widgets/InteractiveFileFinder.cpp \
           widgets/IconLoader.cpp \
           widgets/ImageDialog.cpp \
           widgets/ItemEditDialog.cpp \
           widgets/KeyReference.cpp \
           widgets/LabelCounterInputDialog.cpp \
           widgets/LayerTree.cpp \
           widgets/LayerTreeDialog.cpp \
           widgets/LEDButton.cpp \
           widgets/LevelPanToolButton.cpp \
           widgets/LevelPanWidget.cpp \
           widgets/ListInputDialog.cpp \
           widgets/MIDIFileImportDialog.cpp \
           widgets/ModelDataTableDialog.cpp \
           widgets/NotifyingCheckBox.cpp \
           widgets/NotifyingComboBox.cpp \
           widgets/NotifyingPushButton.cpp \
           widgets/NotifyingTabBar.cpp \
           widgets/Panner.cpp \
           widgets/PluginParameterBox.cpp \
           widgets/PluginParameterDialog.cpp \
           widgets/ProgressDialog.cpp \
           widgets/PropertyBox.cpp \
           widgets/PropertyStack.cpp \
           widgets/RangeInputDialog.cpp \
           widgets/SelectableLabel.cpp \
           widgets/SubdividingMenu.cpp \
           widgets/TextAbbrev.cpp \
           widgets/Thumbwheel.cpp \
           widgets/TipDialog.cpp \
           widgets/TransformFinder.cpp \
           widgets/UnitConverter.cpp \
           widgets/WindowShapePreview.cpp \
           widgets/WindowTypeSelector.cpp