annotate bq.pro @ 1332:587c0e53ea86 3.0-integration

Rearrange svcore tests so they can all be built from the top level
author Chris Cannam
date Mon, 14 Nov 2016 17:53:16 +0000
parents 65b8c009a9f2
children
rev   line source
Chris@1035 1
Chris@1035 2 TEMPLATE = lib
Chris@1035 3
Chris@1035 4 win32-g++ {
Chris@1035 5 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
Chris@1035 6 LIBS += -Lsv-dependency-builds/win32-mingw/lib
Chris@1035 7 }
Chris@1035 8 win32-msvc* {
Chris@1264 9 # We actually expect MSVC to be used only for 64-bit builds,
Chris@1264 10 # though the qmake spec is still called win32-msvc*
Chris@1264 11 INCLUDEPATH += sv-dependency-builds/win64-msvc/include
Chris@1264 12 LIBS += -Lrelease -Lsv-dependency-builds/win64-msvc/lib
Chris@1035 13 }
Chris@1035 14 mac* {
Chris@1035 15 INCLUDEPATH += sv-dependency-builds/osx/include
Chris@1035 16 LIBS += -Lsv-dependency-builds/osx/lib
Chris@1035 17 }
Chris@1035 18
Chris@1035 19 exists(config.pri) {
Chris@1035 20 include(config.pri)
Chris@1035 21 }
Chris@1035 22
Chris@1035 23 !exists(config.pri) {
Chris@1035 24
Chris@1035 25 CONFIG += release
Chris@1035 26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@1035 27
Chris@1264 28 linux* {
Chris@1264 29 DEFINES += HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_LIBSAMPLERATE HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO
Chris@1264 30 LIBS += -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz
Chris@1264 31 }
Chris@1035 32
Chris@1264 33 win32-g++ {
Chris@1264 34 DEFINES += HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_LIBSAMPLERATE HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO
Chris@1264 35 LIBS += -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz
Chris@1059 36 DEFINES += USE_OWN_ALIGNED_MALLOC _USE_MATH_DEFINES
Chris@1035 37 LIBS += -lwinmm -lws2_32
Chris@1035 38 }
Chris@1264 39 win32-msvc* {
Chris@1264 40 DEFINES += HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_LIBSAMPLERATE HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO
Chris@1264 41 LIBS += -lfftw3 -lfftw3f -lportaudio
Chris@1264 42 DEFINES += USE_OWN_ALIGNED_MALLOC _USE_MATH_DEFINES
Chris@1264 43 LIBS += -lwinmm -lws2_32
Chris@1264 44 }
Chris@1264 45
Chris@1035 46 macx* {
Chris@1114 47 DEFINES += HAVE_COREAUDIO MALLOC_IS_ALIGNED
Chris@1035 48 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@1035 49 }
Chris@1035 50 }
Chris@1035 51
Chris@1035 52 CONFIG += staticlib warn_on stl exceptions c++11
Chris@1035 53 CONFIG -= qt
Chris@1035 54
Chris@1035 55 TARGET = bq
Chris@1035 56
Chris@1035 57 DEPENDPATH += bqvec bqresample bqaudioio bqvec/bqvec bqresample/bqresample bqaudioio/bqaudioio
Chris@1035 58 INCLUDEPATH += bqvec bqresample bqaudioio bqvec/bqvec bqresample/bqresample bqaudioio/bqaudioio
Chris@1035 59
Chris@1035 60 OBJECTS_DIR = o
Chris@1035 61
Chris@1035 62 HEADERS += \
Chris@1035 63 bqvec/bqvec/Allocators.h \
Chris@1035 64 bqvec/bqvec/Barrier.h \
Chris@1035 65 bqvec/bqvec/ComplexTypes.h \
Chris@1035 66 bqvec/bqvec/Restrict.h \
Chris@1035 67 bqvec/bqvec/RingBuffer.h \
Chris@1035 68 bqvec/bqvec/VectorOpsComplex.h \
Chris@1035 69 bqvec/bqvec/VectorOps.h \
Chris@1035 70 bqvec/pommier/neon_mathfun.h \
Chris@1035 71 bqvec/pommier/sse_mathfun.h \
Chris@1035 72 bqresample/bqresample/Resampler.h \
Chris@1035 73 bqresample/speex/speex_resampler.h \
Chris@1035 74 bqaudioio/bqaudioio/ApplicationPlaybackSource.h \
Chris@1035 75 bqaudioio/bqaudioio/ApplicationRecordTarget.h \
Chris@1035 76 bqaudioio/bqaudioio/AudioFactory.h \
Chris@1035 77 bqaudioio/bqaudioio/SystemAudioIO.h \
Chris@1035 78 bqaudioio/bqaudioio/SystemPlaybackTarget.h \
Chris@1035 79 bqaudioio/bqaudioio/SystemRecordSource.h \
Chris@1035 80 bqaudioio/src/DynamicJACK.h \
Chris@1035 81 bqaudioio/src/JACKAudioIO.h \
Chris@1035 82 bqaudioio/src/JACKPlaybackTarget.h \
Chris@1035 83 bqaudioio/src/JACKRecordSource.h \
Chris@1035 84 bqaudioio/src/PortAudioIO.h \
Chris@1035 85 bqaudioio/src/PortAudioPlaybackTarget.h \
Chris@1035 86 bqaudioio/src/PortAudioRecordSource.h \
Chris@1035 87 bqaudioio/src/PulseAudioIO.h \
Chris@1035 88 bqaudioio/src/PulseAudioPlaybackTarget.h
Chris@1035 89
Chris@1035 90 SOURCES += \
Chris@1035 91 bqvec/src/Allocators.cpp \
Chris@1035 92 bqvec/src/Barrier.cpp \
Chris@1035 93 bqvec/src/VectorOpsComplex.cpp \
Chris@1035 94 bqresample/src/Resampler.cpp \
Chris@1035 95 bqaudioio/src/AudioFactory.cpp \
Chris@1035 96 bqaudioio/src/JACKAudioIO.cpp \
Chris@1035 97 bqaudioio/src/JACKPlaybackTarget.cpp \
Chris@1035 98 bqaudioio/src/JACKRecordSource.cpp \
Chris@1035 99 bqaudioio/src/PortAudioIO.cpp \
Chris@1035 100 bqaudioio/src/PortAudioPlaybackTarget.cpp \
Chris@1035 101 bqaudioio/src/PortAudioRecordSource.cpp \
Chris@1035 102 bqaudioio/src/PulseAudioIO.cpp \
Chris@1035 103 bqaudioio/src/PulseAudioPlaybackTarget.cpp \
Chris@1035 104 bqaudioio/src/SystemPlaybackTarget.cpp \
Chris@1035 105 bqaudioio/src/SystemRecordSource.cpp
Chris@1035 106