comparison noconfig.pri @ 2199:be656d45bda0 bqaudiostream

Opus fix for win32
author Chris Cannam
date Wed, 30 Jan 2019 10:31:36 +0000
parents 1a9541992121
children e1adac799317
comparison
equal deleted inserted replaced
2198:1105789f9adc 2199:be656d45bda0
1 1
2 CONFIG += c++14 2 CONFIG += c++14
3 3
4 #CONFIG += release 4 CONFIG += release
5 CONFIG += debug 5 #CONFIG += debug
6 6
7 PREFIX_PATH = /usr/local 7 PREFIX_PATH = /usr/local
8 8
9 DEFINES += NDEBUG BUILD_RELEASE 9 DEFINES += NDEBUG BUILD_RELEASE
10 DEFINES += NO_TIMING NO_HIT_COUNTS 10 DEFINES += NO_TIMING NO_HIT_COUNTS
57 57
58 win32-g++ { 58 win32-g++ {
59 59
60 # This config is currently used for 32-bit Windows builds. 60 # This config is currently used for 32-bit Windows builds.
61 61
62 INCLUDEPATH += $$PWD/sv-dependency-builds/win32-mingw/include 62 INCLUDEPATH += $$PWD/sv-dependency-builds/win32-mingw/include $$PWD/sv-dependency-builds/win32-mingw/include/opus
63 63
64 LIBS += -Lrelease -L$$PWD/sv-dependency-builds/win32-mingw/lib 64 LIBS += -Lrelease -L$$PWD/sv-dependency-builds/win32-mingw/lib
65 65
66 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION 66 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE
67 67
68 QMAKE_CXXFLAGS_RELEASE += -ffast-math 68 QMAKE_CXXFLAGS_RELEASE += -ffast-math
69 69
70 # Don't have liblo 70 # Don't have liblo
71 DEFINES -= HAVE_LIBLO 71 DEFINES -= HAVE_LIBLO
72 LIBS -= -llo 72 LIBS -= -llo
73
74 # (We don't have MediaFoundation support either, with this build sadly)
73 75
74 LIBS += -lmfplat -lmfreadwrite -lmfuuid -lpropsys -lwinmm -lws2_32 76 LIBS += -lwinmm -lws2_32
75 } 77 }
76 78
77 win32-msvc* { 79 win32-msvc* {
78 80
79 # This config is actually used only for 64-bit Windows builds. 81 # This config is actually used only for 64-bit Windows builds.