annotate sv.pro @ 1035:28ccb621d1af bqaudioio

Initial work toward switching to bqaudioio library (so as to get I/O, not just O)
author Chris Cannam
date Tue, 04 Aug 2015 13:27:42 +0100
parents 6b683d12ab65
children 1f4e40be5aa2 46f0ca7040fa
rev   line source
Chris@451 1
Chris@451 2 TEMPLATE = app
Chris@451 3
Chris@639 4 win32-g++ {
Chris@639 5 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
Chris@639 6 LIBS += -Lsv-dependency-builds/win32-mingw/lib
Chris@639 7 }
Chris@639 8 win32-msvc* {
Chris@639 9 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
Chris@639 10 LIBS += -Lsv-dependency-builds/win32-msvc/lib
Chris@639 11 }
Chris@742 12 mac* {
Chris@742 13 INCLUDEPATH += sv-dependency-builds/osx/include
Chris@742 14 LIBS += -Lsv-dependency-builds/osx/lib
Chris@742 15 }
Chris@639 16
Chris@639 17 exists(config.pri) {
Chris@639 18 include(config.pri)
Chris@639 19 }
Chris@639 20
Chris@742 21 !exists(config.pri) {
Chris@742 22
Chris@742 23 CONFIG += release
Chris@742 24 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@742 25
Chris@1035 26 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@742 27
Chris@743 28 LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -llo
Chris@742 29
Chris@742 30 win* {
Chris@743 31 LIBS += -lwinmm -lws2_32
Chris@742 32 }
Chris@742 33 macx* {
Chris@742 34 DEFINES += HAVE_COREAUDIO
Chris@742 35 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@639 36 }
Chris@639 37 }
Chris@451 38
Chris@929 39 CONFIG += qt thread warn_on stl rtti exceptions c++11
Chris@528 40 QT += network xml gui widgets
Chris@451 41
Chris@451 42 TARGET = "Sonic Visualiser"
Chris@451 43 linux*:TARGET = sonic-visualiser
Chris@451 44 solaris*:TARGET = sonic-visualiser
Chris@451 45
Chris@1035 46 DEPENDPATH += . bqaudioio svcore svgui svapp
Chris@1035 47 INCLUDEPATH += . bqaudioio svcore svgui svapp
Chris@451 48
Chris@451 49 TRANSLATIONS += i18n/sonic-visualiser_ru.ts i18n/sonic-visualiser_en_GB.ts i18n/sonic-visualiser_en_US.ts i18n/sonic-visualiser_cs_CZ.ts
Chris@451 50
Chris@451 51 OBJECTS_DIR = o
Chris@451 52 MOC_DIR = o
Chris@451 53
Chris@451 54 ICON = icons/sv-macicon.icns
Chris@451 55 RC_FILE = icons/sv.rc
Chris@451 56
Chris@451 57 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
Chris@451 58
Chris@1035 59 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Ldataquay -L. \
Chris@1035 60 -lsvapp -lsvgui -lsvcore -ldataquay -lbq
Chris@528 61
Chris@528 62 linux* {
Chris@528 63 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
Chris@528 64 }
Chris@528 65
Chris@639 66 win* {
Chris@639 67 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Ldataquay/release $$MY_LIBS
Chris@639 68 }
Chris@639 69
Chris@528 70 LIBS = $$MY_LIBS $$LIBS
Chris@451 71
Chris@503 72 win* {
Chris@689 73 PRE_TARGETDEPS += svapp/release/libsvapp.a \
Chris@689 74 svgui/release/libsvgui.a \
Chris@689 75 svcore/release/libsvcore.a \
Chris@689 76 dataquay/release/libdataquay.a
Chris@503 77 }
Chris@503 78 !win* {
Chris@668 79 PRE_TARGETDEPS += svapp/libsvapp.a \
Chris@668 80 svgui/libsvgui.a \
Chris@668 81 svcore/libsvcore.a \
Chris@668 82 dataquay/libdataquay.a
Chris@503 83 }
Chris@451 84
Chris@451 85 RESOURCES += sonic-visualiser.qrc
Chris@451 86
Chris@451 87 HEADERS += main/MainWindow.h \
Chris@663 88 main/NetworkPermissionTester.h \
Chris@662 89 main/Surveyer.h \
Chris@528 90 main/PreferencesDialog.h
Chris@451 91 SOURCES += main/main.cpp \
Chris@451 92 main/OSCHandler.cpp \
Chris@451 93 main/MainWindow.cpp \
Chris@663 94 main/NetworkPermissionTester.cpp \
Chris@662 95 main/Surveyer.cpp \
Chris@528 96 main/PreferencesDialog.cpp
Chris@451 97
Chris@451 98 # for mac integration
Chris@451 99 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@451 100