Mercurial > hg > svcore
annotate data/fileio/test/test.pro @ 1008:d9e0e59a1581
When using an aggregate model to pass data to a transform, zero-pad the shorter input to the duration of the longer rather than truncating the longer. (This is better behaviour for e.g. MATCH, and in any case the code was previously truncating incorrectly and ending up with garbage data at the end.)
author | Chris Cannam |
---|---|
date | Fri, 14 Nov 2014 13:51:33 +0000 |
parents | 2f6472c74399 |
children | 0559f25b99f2 |
rev | line source |
---|---|
Chris@756 | 1 |
Chris@756 | 2 TEMPLATE = app |
Chris@756 | 3 |
Chris@807 | 4 LIBS += -L../../.. -L../../../../dataquay -L../../../release -L../../../../dataquay/release -lsvcore -ldataquay |
Chris@756 | 5 |
Chris@782 | 6 win32-g++ { |
Chris@782 | 7 INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include |
Chris@782 | 8 LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib |
Chris@782 | 9 } |
Chris@945 | 10 win32-msvc* { |
Chris@945 | 11 INCLUDEPATH += ../../../../sv-dependency-builds/win32-msvc/include |
Chris@945 | 12 LIBS += -L../../../../sv-dependency-builds/win32-msvc/lib |
Chris@945 | 13 } |
Chris@945 | 14 mac* { |
Chris@945 | 15 INCLUDEPATH += ../../../../sv-dependency-builds/osx/include |
Chris@945 | 16 LIBS += -L../../../../sv-dependency-builds/osx/lib |
Chris@945 | 17 } |
Chris@782 | 18 |
Chris@782 | 19 exists(../../../config.pri) { |
Chris@782 | 20 include(../../../config.pri) |
Chris@782 | 21 } |
Chris@782 | 22 |
Chris@945 | 23 !exists(../../../config.pri) { |
Chris@945 | 24 |
Chris@945 | 25 CONFIG += release |
Chris@945 | 26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING |
Chris@945 | 27 |
Chris@945 | 28 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 |
Chris@945 | 29 |
Chris@945 | 30 LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 |
Chris@945 | 31 |
Chris@945 | 32 win* { |
Chris@945 | 33 LIBS += -llo -lwinmm -lws2_32 |
Chris@945 | 34 } |
Chris@945 | 35 macx* { |
Chris@945 | 36 DEFINES += HAVE_COREAUDIO |
Chris@945 | 37 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate |
Chris@782 | 38 } |
Chris@782 | 39 } |
Chris@756 | 40 |
Chris@756 | 41 CONFIG += qt thread warn_on stl rtti exceptions console |
Chris@756 | 42 QT += network xml testlib |
Chris@756 | 43 QT -= gui |
Chris@756 | 44 |
Chris@879 | 45 TARGET = svcore-data-fileio-test |
Chris@756 | 46 |
Chris@756 | 47 DEPENDPATH += ../../.. |
Chris@756 | 48 INCLUDEPATH += ../../.. |
Chris@756 | 49 OBJECTS_DIR = o |
Chris@756 | 50 MOC_DIR = o |
Chris@756 | 51 |
Chris@756 | 52 HEADERS += AudioFileReaderTest.h \ |
Chris@756 | 53 AudioTestData.h |
Chris@756 | 54 SOURCES += main.cpp |
Chris@756 | 55 |
Chris@756 | 56 win* { |
Chris@782 | 57 //PRE_TARGETDEPS += ../../../svcore.lib |
Chris@756 | 58 } |
Chris@756 | 59 !win* { |
Chris@756 | 60 PRE_TARGETDEPS += ../../../libsvcore.a |
Chris@756 | 61 } |
Chris@756 | 62 |
Chris@756 | 63 !win32 { |
Chris@756 | 64 !macx* { |
Chris@756 | 65 QMAKE_POST_LINK=./$${TARGET} |
Chris@756 | 66 } |
Chris@756 | 67 macx* { |
Chris@756 | 68 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET} |
Chris@756 | 69 } |
Chris@756 | 70 } |
Chris@756 | 71 |
Chris@765 | 72 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe |
Chris@756 | 73 |