changeset 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 65b75e23bbd5
children abfde177731f
files svapp.pro
diffstat 1 files changed, 18 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/svapp.pro	Wed Jan 08 13:41:57 2014 +0000
+++ b/svapp.pro	Thu Jan 09 09:18:26 2014 +0000
@@ -4,10 +4,26 @@
 exists(config.pri) {
     include(config.pri)
 }
-win* {
-    !exists(config.pri) {
+!exists(config.pri) {
+    win32-g++ {
+        INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
+        LIBS += -L../sv-dependency-builds/win32-mingw/lib
+    }
+    win32-msvc* {
+        INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
+        LIBS += -L../sv-dependency-builds/win32-msvc/lib
+    }
+    macx* {
+        INCLUDEPATH += ../sv-dependency-builds/osx/include
+        LIBS += -L../sv-dependency-builds/osx/lib
+    }
+
+    win* {
         DEFINES += HAVE_PORTAUDIO_2_0
     }
+    macx* {
+        DEFINES += HAVE_COREAUDIO
+    }
 }
 
 CONFIG += staticlib qt thread warn_on stl rtti exceptions
@@ -20,13 +36,6 @@
 OBJECTS_DIR = o
 MOC_DIR = o
 
-win32-g++ {
-    INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
-}
-win32-msvc* {
-    INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
-}
-
 HEADERS += audioio/AudioCallbackPlaySource.h \
            audioio/AudioCallbackPlayTarget.h \
            audioio/AudioCoreAudioTarget.h \