annotate sv.pro @ 688:ddfa8ce5bc2d imaf_enc

Build fix, version
author Chris Cannam
date Thu, 12 Dec 2013 15:41:48 +0000
parents bfd68cc71a25
children 5e6e1e074080
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@639 12
Chris@639 13 exists(config.pri) {
Chris@639 14 include(config.pri)
Chris@639 15 }
Chris@639 16
Chris@639 17 win* {
Chris@639 18 !exists(config.pri) {
Chris@639 19 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@639 20 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
Chris@639 21 }
Chris@639 22 }
Chris@451 23
Chris@451 24 CONFIG += qt thread warn_on stl rtti exceptions
Chris@528 25 QT += network xml gui widgets
Chris@451 26
Chris@451 27 TARGET = "Sonic Visualiser"
Chris@451 28 linux*:TARGET = sonic-visualiser
Chris@451 29 solaris*:TARGET = sonic-visualiser
Chris@451 30
Chris@517 31 DEPENDPATH += . svcore svgui svapp
Chris@517 32 INCLUDEPATH += . svcore svgui svapp
Chris@451 33
Chris@451 34 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 35
Chris@451 36 OBJECTS_DIR = o
Chris@451 37 MOC_DIR = o
Chris@451 38
Chris@451 39 ICON = icons/sv-macicon.icns
Chris@451 40 RC_FILE = icons/sv.rc
Chris@451 41
Chris@451 42 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
Chris@451 43
Chris@528 44 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Ldataquay -lsvapp -lsvgui -lsvcore -ldataquay
Chris@528 45
Chris@528 46 linux* {
Chris@528 47 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
Chris@528 48 }
Chris@528 49
Chris@639 50 win* {
Chris@639 51 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Ldataquay/release $$MY_LIBS
Chris@639 52 }
Chris@639 53
Chris@528 54 LIBS = $$MY_LIBS $$LIBS
Chris@451 55
Chris@503 56 win* {
Chris@688 57 PRE_TARGETDEPS += svapp/release/libsvapp.a \
Chris@688 58 svgui/release/libsvgui.a \
Chris@688 59 svcore/release/libsvcore.a \
Chris@688 60 dataquay/release/libdataquay.a
Chris@503 61 }
Chris@503 62 !win* {
Chris@668 63 PRE_TARGETDEPS += svapp/libsvapp.a \
Chris@668 64 svgui/libsvgui.a \
Chris@668 65 svcore/libsvcore.a \
Chris@668 66 dataquay/libdataquay.a
Chris@503 67 }
Chris@451 68
Chris@451 69 RESOURCES += sonic-visualiser.qrc
Chris@451 70
Chris@451 71 HEADERS += main/MainWindow.h \
Chris@634 72 main/IMAFencoder.h \
Chris@677 73 main/checkbox.h \
Chris@663 74 main/NetworkPermissionTester.h \
Chris@662 75 main/Surveyer.h \
Chris@528 76 main/PreferencesDialog.h
Chris@677 77
Chris@451 78 SOURCES += main/main.cpp \
Chris@451 79 main/OSCHandler.cpp \
Chris@451 80 main/MainWindow.cpp \
Chris@634 81 main/IMAFencoder.c \
Chris@677 82 main/imafdecoder.cpp \
Chris@663 83 main/NetworkPermissionTester.cpp \
Chris@662 84 main/Surveyer.cpp \
Chris@528 85 main/PreferencesDialog.cpp
Chris@451 86
Chris@451 87 # for mac integration
Chris@451 88 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@451 89