comparison noconfig.pri @ 2197:1a9541992121 bqaudiostream

Opus support on Windows (64-bit so far)
author Chris Cannam
date Fri, 25 Jan 2019 12:29:12 +0000
parents d97c264355a5
children be656d45bda0
comparison
equal deleted inserted replaced
2196:813bc4295860 2197:1a9541992121
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 HAVE_MEDIAFOUNDATION
67 67
68 #!!! to add
69 DEFINES -= HAVE_OPUS
70 LIBS -= -lopusfile
71
72 QMAKE_CXXFLAGS_RELEASE += -ffast-math 68 QMAKE_CXXFLAGS_RELEASE += -ffast-math
73 69
74 # Don't have liblo 70 # Don't have liblo
75 DEFINES -= HAVE_LIBLO 71 DEFINES -= HAVE_LIBLO
76 LIBS -= -llo 72 LIBS -= -llo
83 # This config is actually used only for 64-bit Windows builds. 79 # This config is actually used only for 64-bit Windows builds.
84 # even though the qmake spec is still called win32-msvc*. If 80 # even though the qmake spec is still called win32-msvc*. If
85 # we want to do 32-bit builds with MSVC as well, then we'll 81 # we want to do 32-bit builds with MSVC as well, then we'll
86 # need to add a way to distinguish the two. 82 # need to add a way to distinguish the two.
87 83
88 INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include 84 INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include $$PWD/sv-dependency-builds/win64-msvc/include/opus
89 85
90 # This seems to be intruding even when we're supposed to be release 86 # This seems to be intruding even when we're supposed to be release
91 # CONFIG(debug) { 87 # CONFIG(debug) {
92 # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \ 88 # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \
93 # -L$$PWD/sv-dependency-builds/win64-msvc/lib/debug \ 89 # -L$$PWD/sv-dependency-builds/win64-msvc/lib/debug \
98 -L$$PWD/sv-dependency-builds/win64-msvc/lib 94 -L$$PWD/sv-dependency-builds/win64-msvc/lib
99 } 95 }
100 96
101 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION 97 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION
102 98
103 #!!! to add
104 DEFINES -= HAVE_OPUS
105 LIBS -= -lopusfile
106
107 QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl 99 QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl
108 QMAKE_LFLAGS_RELEASE += -ltcg 100 QMAKE_LFLAGS_RELEASE += -ltcg
109 101
110 # No Ogg/FLAC support in the sndfile build on this platform yet 102 LIBS -= -lFLAC -lvorbis -lvorbisenc -lvorbisfile
111 LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile
112 103
113 # These have different names 104 # These have different names
114 LIBS -= -lsord-0 -lserd-0 105 LIBS -= -lsord-0 -lserd-0
115 LIBS += -lsord -lserd 106 LIBS += -lsord -lserd
116 107