comparison noconfig.pri @ 2206:252c7c8a1a37 rubberband-static

Merge from default branch
author Chris Cannam
date Thu, 31 Jan 2019 10:32:45 +0000
parents e1adac799317
children 8fd5183efbd6
comparison
equal deleted inserted replaced
2129:02f15fb8ec68 2206:252c7c8a1a37
22 HAVE_SAMPLERATE \ 22 HAVE_SAMPLERATE \
23 HAVE_RUBBERBAND \ 23 HAVE_RUBBERBAND \
24 HAVE_LIBLO \ 24 HAVE_LIBLO \
25 HAVE_MAD \ 25 HAVE_MAD \
26 HAVE_ID3TAG \ 26 HAVE_ID3TAG \
27 HAVE_OPUS \
27 HAVE_PORTAUDIO 28 HAVE_PORTAUDIO
28 29
29 # Default set of libs for the above. Config sections below may update 30 # Default set of libs for the above. Config sections below may update
30 # these. 31 # these.
31 32
38 -lFLAC \ 39 -lFLAC \
39 -logg \ 40 -logg \
40 -lvorbis \ 41 -lvorbis \
41 -lvorbisenc \ 42 -lvorbisenc \
42 -lvorbisfile \ 43 -lvorbisfile \
44 -lopusfile \
45 -lopus \
43 -logg \ 46 -logg \
44 -lmad \ 47 -lmad \
45 -lid3tag \ 48 -lid3tag \
46 -lportaudio \ 49 -lportaudio \
47 -lsamplerate \ 50 -lsamplerate \
54 57
55 win32-g++ { 58 win32-g++ {
56 59
57 # This config is currently used for 32-bit Windows builds. 60 # This config is currently used for 32-bit Windows builds.
58 61
59 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
60 63
61 LIBS += -Lrelease -L$$PWD/sv-dependency-builds/win32-mingw/lib 64 LIBS += -Lrelease -L$$PWD/sv-dependency-builds/win32-mingw/lib
62 65
63 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE 66 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE
64 67
65 QMAKE_CXXFLAGS_RELEASE += -ffast-math 68 QMAKE_CXXFLAGS_RELEASE += -ffast-math
66 69
67 # Don't have liblo 70 # Don't have liblo
68 DEFINES -= HAVE_LIBLO 71 DEFINES -= HAVE_LIBLO
69 LIBS -= -llo 72 LIBS -= -llo
73
74 # (We don't have MediaFoundation support either, with this build sadly)
70 75
71 LIBS += -lwinmm -lws2_32 76 LIBS += -lwinmm -lws2_32
72 } 77 }
73 78
74 win32-msvc* { 79 win32-msvc* {
75 80
76 # This config is actually used only for 64-bit Windows builds. 81 # This config is actually used only for 64-bit Windows builds.
77 # even though the qmake spec is still called win32-msvc*. If 82 # even though the qmake spec is still called win32-msvc*. If
78 # we want to do 32-bit builds with MSVC as well, then we'll 83 # we want to do 32-bit builds with MSVC as well, then we'll
79 # need to add a way to distinguish the two. 84 # need to add a way to distinguish the two.
80 85
81 INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include 86 INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include $$PWD/sv-dependency-builds/win64-msvc/include/opus
82 87
83 # This seems to be intruding even when we're supposed to be release 88 # This seems to be intruding even when we're supposed to be release
84 # CONFIG(debug) { 89 # CONFIG(debug) {
85 # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \ 90 # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \
86 # -L$$PWD/sv-dependency-builds/win64-msvc/lib/debug \ 91 # -L$$PWD/sv-dependency-builds/win64-msvc/lib/debug \
87 # -L$$PWD/sv-dependency-builds/win64-msvc/lib 92 # -L$$PWD/sv-dependency-builds/win64-msvc/lib
88 # } 93 # }
89 CONFIG(release) { 94 CONFIG(release) {
90 LIBS += -Lrelease \ 95 LIBS += -NODEFAULTLIB:LIBCMT -Lrelease \
91 -L$$PWD/sv-dependency-builds/win64-msvc/lib 96 -L$$PWD/sv-dependency-builds/win64-msvc/lib
92 } 97 }
93 98
94 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE 99 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION
95 100
96 QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl 101 QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl
97 QMAKE_LFLAGS_RELEASE += -ltcg 102 QMAKE_LFLAGS_RELEASE += -ltcg
98 103
99 # No Ogg/FLAC support in the sndfile build on this platform yet 104 LIBS -= -lFLAC -lvorbis -lvorbisenc -lvorbisfile
100 LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile
101 105
102 # These have different names 106 # These have different names
103 LIBS -= -lsord-0 -lserd-0 107 LIBS -= -lsord-0 -lserd-0
104 LIBS += -lsord -lserd 108 LIBS += -lsord -lserd
105 109
106 # Don't have liblo 110 # Don't have liblo
107 DEFINES -= HAVE_LIBLO 111 DEFINES -= HAVE_LIBLO
108 LIBS -= -llo 112 LIBS -= -llo
109 113
110 LIBS += -ladvapi32 -lwinmm -lws2_32 114 LIBS += -lmfplat -lmfreadwrite -lmfuuid -lpropsys -ladvapi32 -lwinmm -lws2_32
111 } 115 }
112 116
113 macx* { 117 macx* {
114 118
115 # All Mac builds are 64-bit these days. 119 # All Mac builds are 64-bit these days.
116 120
117 INCLUDEPATH += $$PWD/sv-dependency-builds/osx/include 121 INCLUDEPATH += $$PWD/sv-dependency-builds/osx/include $$PWD/sv-dependency-builds/osx/include/opus
118 LIBS += -L$$PWD/sv-dependency-builds/osx/lib -L$$PWD 122 LIBS += -L$$PWD/sv-dependency-builds/osx/lib -L$$PWD
119 123
120 QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math -flto 124 QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math -flto
121 QMAKE_LFLAGS_RELEASE += -O3 -flto 125 QMAKE_LFLAGS_RELEASE += -O3 -flto
122 126