annotate sv.pro @ 773:885e89a6c11d 2.4beta1 sv_v2.4beta1

Update for Qt 5.3 and WiX 3.8
author Chris Cannam
date Thu, 14 Aug 2014 11:43:22 +0100
parents 4cec335bba8f
children
rev   line source
Chris@451 1
Chris@451 2 TEMPLATE = app
Chris@451 3
Chris@773 4 DEFINES += BETA_RELEASE
Chris@773 5
Chris@639 6 win32-g++ {
Chris@639 7 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
Chris@639 8 LIBS += -Lsv-dependency-builds/win32-mingw/lib
Chris@639 9 }
Chris@639 10 win32-msvc* {
Chris@639 11 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
Chris@639 12 LIBS += -Lsv-dependency-builds/win32-msvc/lib
Chris@639 13 }
Chris@742 14 mac* {
Chris@742 15 INCLUDEPATH += sv-dependency-builds/osx/include
Chris@742 16 LIBS += -Lsv-dependency-builds/osx/lib
Chris@742 17 }
Chris@639 18
Chris@639 19 exists(config.pri) {
Chris@639 20 include(config.pri)
Chris@639 21 }
Chris@639 22
Chris@742 23 !exists(config.pri) {
Chris@742 24
Chris@742 25 CONFIG += release
Chris@742 26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@742 27
Chris@742 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@742 29
Chris@743 30 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 31
Chris@742 32 win* {
Chris@743 33 LIBS += -lwinmm -lws2_32
Chris@742 34 }
Chris@742 35 macx* {
Chris@742 36 DEFINES += HAVE_COREAUDIO
Chris@742 37 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@639 38 }
Chris@639 39 }
Chris@451 40
Chris@451 41 CONFIG += qt thread warn_on stl rtti exceptions
Chris@528 42 QT += network xml gui widgets
Chris@451 43
Chris@451 44 TARGET = "Sonic Visualiser"
Chris@451 45 linux*:TARGET = sonic-visualiser
Chris@451 46 solaris*:TARGET = sonic-visualiser
Chris@451 47
Chris@517 48 DEPENDPATH += . svcore svgui svapp
Chris@517 49 INCLUDEPATH += . svcore svgui svapp
Chris@451 50
Chris@451 51 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 52
Chris@451 53 OBJECTS_DIR = o
Chris@451 54 MOC_DIR = o
Chris@451 55
Chris@451 56 ICON = icons/sv-macicon.icns
Chris@451 57 RC_FILE = icons/sv.rc
Chris@451 58
Chris@451 59 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
Chris@451 60
Chris@528 61 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Ldataquay -lsvapp -lsvgui -lsvcore -ldataquay
Chris@528 62
Chris@528 63 linux* {
Chris@528 64 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
Chris@528 65 }
Chris@528 66
Chris@639 67 win* {
Chris@639 68 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Ldataquay/release $$MY_LIBS
Chris@639 69 }
Chris@639 70
Chris@528 71 LIBS = $$MY_LIBS $$LIBS
Chris@451 72
Chris@503 73 win* {
Chris@689 74 PRE_TARGETDEPS += svapp/release/libsvapp.a \
Chris@689 75 svgui/release/libsvgui.a \
Chris@689 76 svcore/release/libsvcore.a \
Chris@689 77 dataquay/release/libdataquay.a
Chris@503 78 }
Chris@503 79 !win* {
Chris@668 80 PRE_TARGETDEPS += svapp/libsvapp.a \
Chris@668 81 svgui/libsvgui.a \
Chris@668 82 svcore/libsvcore.a \
Chris@668 83 dataquay/libdataquay.a
Chris@503 84 }
Chris@451 85
Chris@451 86 RESOURCES += sonic-visualiser.qrc
Chris@451 87
Chris@451 88 HEADERS += main/MainWindow.h \
Chris@663 89 main/NetworkPermissionTester.h \
Chris@662 90 main/Surveyer.h \
Chris@528 91 main/PreferencesDialog.h
Chris@451 92 SOURCES += main/main.cpp \
Chris@451 93 main/OSCHandler.cpp \
Chris@451 94 main/MainWindow.cpp \
Chris@663 95 main/NetworkPermissionTester.cpp \
Chris@662 96 main/Surveyer.cpp \
Chris@528 97 main/PreferencesDialog.cpp
Chris@451 98
Chris@451 99 # for mac integration
Chris@451 100 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@451 101