Chris@1284: Chris@1284: CONFIG += release Chris@1284: DEFINES += NDEBUG BUILD_RELEASE Chris@1284: DEFINES += NO_TIMING Chris@1284: Chris@1284: win32-g++ { Chris@1284: INCLUDEPATH += sv-dependency-builds/win32-mingw/include Chris@1284: LIBS += -Lrelease -Lsv-dependency-builds/win32-mingw/lib Chris@1284: } Chris@1284: Chris@1284: win32-msvc* { Chris@1284: # We actually expect MSVC to be used only for 64-bit builds, Chris@1284: # though the qmake spec is still called win32-msvc* Chris@1284: INCLUDEPATH += sv-dependency-builds/win64-msvc/include Chris@1284: # bah, this is happening even if not debug build Chris@1284: # CONFIG(debug) { Chris@1284: # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \ Chris@1284: # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib/debug \ Chris@1284: # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib Chris@1284: # } Chris@1284: CONFIG(release) { Chris@1284: LIBS += -Lrelease \ Chris@1284: -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib Chris@1284: } Chris@1284: } Chris@1284: Chris@1284: mac* { Chris@1284: INCLUDEPATH += sv-dependency-builds/osx/include Chris@1284: LIBS += -Lsv-dependency-builds/osx/lib Chris@1284: } Chris@1284: Chris@1284: 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 HAVE_PORTAUDIO Chris@1284: Chris@1284: LIBS += -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -llo Chris@1284: Chris@1284: win* { Chris@1284: DEFINES += NOMINMAX _USE_MATH_DEFINES Chris@1284: DEFINES -= HAVE_LIBLO Chris@1284: LIBS += -lwinmm -lws2_32 Chris@1284: } Chris@1284: win32-msvc* { Chris@1284: LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -lsord-0 -lserd-0 -llo Chris@1284: LIBS += -lsord -lserd -ladvapi32 Chris@1284: } Chris@1284: macx* { cannam@1285: DEFINES += HAVE_COREAUDIO MALLOC_IS_ALIGNED HAVE_LIBSAMPLERATE HAVE_VDSP Chris@1284: LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate Chris@1284: } Chris@1284: Chris@1284: cannam@1285: LIBS += -lcapnp -lkj