comparison noconfig.pri @ 2458:74d73990ac1d background-mode

Toward Windows background-mode support
author Chris Cannam
date Fri, 17 Jan 2020 21:43:40 +0000
parents 8fd5183efbd6
children 98321b83ac9b
comparison
equal deleted inserted replaced
2457:a94b289f0b93 2458:74d73990ac1d
1 1
2 CONFIG += c++14 2 win32-msvc* {
3 # Necessary for WinRT header used to determine background colour
4 CONFIG += c++17
5 }
6 !win32-msvc* {
7 CONFIG += c++14
8 }
3 9
4 CONFIG += release 10 CONFIG += release
5 #CONFIG += debug 11 #CONFIG += debug
6 12
7 PREFIX_PATH = /usr/local 13 PREFIX_PATH = /usr/local
95 CONFIG(release) { 101 CONFIG(release) {
96 LIBS += -NODEFAULTLIB:LIBCMT -Lrelease \ 102 LIBS += -NODEFAULTLIB:LIBCMT -Lrelease \
97 -L$$PWD/sv-dependency-builds/win64-msvc/lib 103 -L$$PWD/sv-dependency-builds/win64-msvc/lib
98 } 104 }
99 105
100 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION 106 DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION _HAS_STD_BYTE=0
101 107
102 QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl 108 QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl
103 QMAKE_LFLAGS_RELEASE += -ltcg 109 QMAKE_LFLAGS_RELEASE += -ltcg
104 110
105 LIBS -= -lFLAC -lvorbis -lvorbisenc -lvorbisfile 111 LIBS -= -lFLAC -lvorbis -lvorbisenc -lvorbisfile
109 LIBS += -lsord -lserd 115 LIBS += -lsord -lserd
110 116
111 # Don't have liblo 117 # Don't have liblo
112 DEFINES -= HAVE_LIBLO 118 DEFINES -= HAVE_LIBLO
113 LIBS -= -llo 119 LIBS -= -llo
120
121 ##!!! WindowsApp seems to be win10-specific! can I avoid this?
114 122
115 LIBS += -lmfplat -lmfreadwrite -lmfuuid -lpropsys -ladvapi32 -lwinmm -lws2_32 123 LIBS += -lWindowsApp -lmfplat -lmfreadwrite -lmfuuid -lpropsys -ladvapi32 -lwinmm -lws2_32
116 } 124 }
117 125
118 macx* { 126 macx* {
119 127
120 # All Mac builds are 64-bit these days. 128 # All Mac builds are 64-bit these days.