diff svapp.pro @ 527:8d873a022873 3.0-integration

Merge from branch "msvc2015_64"
author Chris Cannam
date Thu, 20 Oct 2016 11:20:01 +0100
parents 3ab6a5f7aca8
children d5ca6c5bad13 4826330c4f97
line wrap: on
line diff
--- a/svapp.pro	Tue Sep 20 09:17:13 2016 +0100
+++ b/svapp.pro	Thu Oct 20 11:20:01 2016 +0100
@@ -10,15 +10,18 @@
 !exists(config.pri) {
 
     CONFIG += release
-    DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
+    DEFINES += NDEBUG BUILD_RELEASE
+    DEFINES += NO_TIMING
 
     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
+        # We actually expect MSVC to be used only for 64-bit builds,
+        # though the qmake spec is still called win32-msvc*
+        INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include
+        LIBS += -L../sv-dependency-builds/win64-msvc/lib
     }
     macx* {
         INCLUDEPATH += ../sv-dependency-builds/osx/include
@@ -31,6 +34,10 @@
     macx* {
         DEFINES += HAVE_COREAUDIO HAVE_PORTAUDIO
     }
+    win32-msvc* {
+        DEFINES += NOMINMAX _USE_MATH_DEFINES
+        DEFINES -= HAVE_LIBLO
+    }
 }
 
 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11