Mercurial > hg > sonic-visualiser
view noconfig.pri @ 2090:0a93e653e107 spectrogramparam
Use log-frequency rather than log-bin for calculating x coord in spectrum. This has the advantage that frequency positions don't move when we change the window size or oversampling ratio, but it does give us an unhelpfully large amount of space for very low frequencies - to be considered
author | Chris Cannam |
---|---|
date | Mon, 12 Nov 2018 11:35:03 +0000 |
parents | a96a5d88a84b |
children | 432ccdfd2c2b |
line wrap: on
line source
CONFIG += c++14 CONFIG += release #CONFIG += debug PREFIX_PATH = /usr/local DEFINES += NDEBUG BUILD_RELEASE DEFINES += NO_TIMING NO_HIT_COUNTS DEFINES += HAVE_PIPER HAVE_PLUGIN_CHECKER_HELPER # Full set of defines expected for all platforms when we have the # sv-dependency-builds subrepo available to provide the dependencies. DEFINES += \ HAVE_BZ2 \ HAVE_FFTW3 \ HAVE_FFTW3F \ HAVE_SNDFILE \ HAVE_SAMPLERATE \ HAVE_RUBBERBAND \ HAVE_LIBLO \ HAVE_MAD \ HAVE_ID3TAG \ HAVE_PORTAUDIO # Default set of libs for the above. Config sections below may update # these. LIBS += \ -lbase \ -lbz2 \ -lrubberband \ -lfftw3 \ -lfftw3f \ -lsndfile \ -lFLAC \ -logg \ -lvorbis \ -lvorbisenc \ -lvorbisfile \ -logg \ -lmad \ -lid3tag \ -lportaudio \ -lsamplerate \ -lz \ -lsord-0 \ -lserd-0 \ -llo \ -lcapnp \ -lkj win32-g++ { # This config is currently used for 32-bit Windows builds. INCLUDEPATH += $$PWD/sv-dependency-builds/win32-mingw/include LIBS += -Lrelease -L$$PWD/sv-dependency-builds/win32-mingw/lib DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE QMAKE_CXXFLAGS_RELEASE += -ffast-math # Don't have liblo DEFINES -= HAVE_LIBLO LIBS -= -llo LIBS += -lwinmm -lws2_32 } win32-msvc* { # This config is actually used only for 64-bit Windows builds. # even though the qmake spec is still called win32-msvc*. If # we want to do 32-bit builds with MSVC as well, then we'll # need to add a way to distinguish the two. INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include # This seems to be intruding even when we're supposed to be release # CONFIG(debug) { # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \ # -L$$PWD/sv-dependency-builds/win64-msvc/lib/debug \ # -L$$PWD/sv-dependency-builds/win64-msvc/lib # } CONFIG(release) { LIBS += -Lrelease \ -L$$PWD/sv-dependency-builds/win64-msvc/lib } DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl QMAKE_LFLAGS_RELEASE += -ltcg # No Ogg/FLAC support in the sndfile build on this platform yet LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile # These have different names LIBS -= -lsord-0 -lserd-0 LIBS += -lsord -lserd # Don't have liblo DEFINES -= HAVE_LIBLO LIBS -= -llo LIBS += -ladvapi32 -lwinmm -lws2_32 } macx* { # All Mac builds are 64-bit these days. INCLUDEPATH += $$PWD/sv-dependency-builds/osx/include LIBS += -L$$PWD/sv-dependency-builds/osx/lib -L$$PWD QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math DEFINES += HAVE_COREAUDIO HAVE_VDSP LIBS += \ -framework CoreAudio \ -framework CoreMidi \ -framework AudioUnit \ -framework AudioToolbox \ -framework CoreFoundation \ -framework CoreServices \ -framework Accelerate } linux* { message("Building without ./configure on Linux is unlikely to work") message("If you really want to try it, remove this from noconfig.pri") error("Refusing to build without ./configure first") }