comparison svapp.pro @ 316:e86596839f27 tonioni

Use sv-dependency-builds on OS/X as well if no config.pri
author Chris Cannam
date Thu, 09 Jan 2014 09:18:26 +0000
parents 58582119c92a
children ccd3c927638b
comparison
equal deleted inserted replaced
315:65b75e23bbd5 316:e86596839f27
2 TEMPLATE = lib 2 TEMPLATE = lib
3 3
4 exists(config.pri) { 4 exists(config.pri) {
5 include(config.pri) 5 include(config.pri)
6 } 6 }
7 win* { 7 !exists(config.pri) {
8 !exists(config.pri) { 8 win32-g++ {
9 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
10 LIBS += -L../sv-dependency-builds/win32-mingw/lib
11 }
12 win32-msvc* {
13 INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
14 LIBS += -L../sv-dependency-builds/win32-msvc/lib
15 }
16 macx* {
17 INCLUDEPATH += ../sv-dependency-builds/osx/include
18 LIBS += -L../sv-dependency-builds/osx/lib
19 }
20
21 win* {
9 DEFINES += HAVE_PORTAUDIO_2_0 22 DEFINES += HAVE_PORTAUDIO_2_0
23 }
24 macx* {
25 DEFINES += HAVE_COREAUDIO
10 } 26 }
11 } 27 }
12 28
13 CONFIG += staticlib qt thread warn_on stl rtti exceptions 29 CONFIG += staticlib qt thread warn_on stl rtti exceptions
14 QT += network xml gui widgets 30 QT += network xml gui widgets
17 33
18 DEPENDPATH += . ../svcore ../svgui 34 DEPENDPATH += . ../svcore ../svgui
19 INCLUDEPATH += . ../svcore ../svgui 35 INCLUDEPATH += . ../svcore ../svgui
20 OBJECTS_DIR = o 36 OBJECTS_DIR = o
21 MOC_DIR = o 37 MOC_DIR = o
22
23 win32-g++ {
24 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
25 }
26 win32-msvc* {
27 INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
28 }
29 38
30 HEADERS += audioio/AudioCallbackPlaySource.h \ 39 HEADERS += audioio/AudioCallbackPlaySource.h \
31 audioio/AudioCallbackPlayTarget.h \ 40 audioio/AudioCallbackPlayTarget.h \
32 audioio/AudioCoreAudioTarget.h \ 41 audioio/AudioCoreAudioTarget.h \
33 audioio/AudioGenerator.h \ 42 audioio/AudioGenerator.h \