# HG changeset patch # User Chris Cannam # Date 1404468213 -3600 # Node ID 2f6472c74399c8cd688ccb10f56c975940f10a22 # Parent a6bfe009523afa92680783318a04878507157820 OS/X build/deploy fixes diff -r a6bfe009523a -r 2f6472c74399 base/test/test.pro --- a/base/test/test.pro Wed Jul 02 22:04:10 2014 +0100 +++ b/base/test/test.pro Fri Jul 04 11:03:33 2014 +0100 @@ -7,15 +7,34 @@ 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 +} +mac* { + INCLUDEPATH += ../../../sv-dependency-builds/osx/include + LIBS += -L../../../sv-dependency-builds/osx/lib +} exists(../../config.pri) { include(../../config.pri) } -win* { - !exists(../../config.pri) { - 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_2_0 - LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -llo -lz -lsord-0 -lserd-0 -lwinmm -lws2_32 +!exists(../../config.pri) { + + CONFIG += release + DEFINES += NDEBUG BUILD_RELEASE NO_TIMING + + 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_2_0 + + LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 + + win* { + LIBS += -llo -lwinmm -lws2_32 + } + macx* { + DEFINES += HAVE_COREAUDIO + LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate } } diff -r a6bfe009523a -r 2f6472c74399 data/fileio/test/test.pro --- a/data/fileio/test/test.pro Wed Jul 02 22:04:10 2014 +0100 +++ b/data/fileio/test/test.pro Fri Jul 04 11:03:33 2014 +0100 @@ -7,15 +7,34 @@ 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 +} +mac* { + INCLUDEPATH += ../../../../sv-dependency-builds/osx/include + LIBS += -L../../../../sv-dependency-builds/osx/lib +} exists(../../../config.pri) { include(../../../config.pri) } -win* { - !exists(../../../config.pri) { - 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_2_0 - LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -llo -lz -lsord-0 -lserd-0 -lwinmm -lws2_32 +!exists(../../../config.pri) { + + CONFIG += release + DEFINES += NDEBUG BUILD_RELEASE NO_TIMING + + 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_2_0 + + LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 + + win* { + LIBS += -llo -lwinmm -lws2_32 + } + macx* { + DEFINES += HAVE_COREAUDIO + LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate } } diff -r a6bfe009523a -r 2f6472c74399 svcore.pro --- a/svcore.pro Wed Jul 02 22:04:10 2014 +0100 +++ b/svcore.pro Fri Jul 04 11:03:33 2014 +0100 @@ -26,6 +26,7 @@ macx* { DEFINES += HAVE_COREAUDIO + DEFINES -= HAVE_LIBLO # for now } }