Merge pull request #124 from stanislas-m/feat/mingw-cross-compilation

Add config for mingw compiler for Windows
This commit is contained in:
corrados 2020-04-21 15:44:50 +02:00 committed by GitHub
commit 99c5fd04bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,11 +40,19 @@ win32 {
INCLUDEPATH += windows/ASIOSDK2/common \ INCLUDEPATH += windows/ASIOSDK2/common \
windows/ASIOSDK2/host \ windows/ASIOSDK2/host \
windows/ASIOSDK2/host/pc windows/ASIOSDK2/host/pc
LIBS += ole32.lib \ mingw* {
user32.lib \ LIBS += -lole32 \
advapi32.lib \ -luser32 \
winmm.lib \ -ladvapi32 \
ws2_32.lib -lwinmm \
-lws2_32
} else {
LIBS += ole32.lib \
user32.lib \
advapi32.lib \
winmm.lib \
ws2_32.lib
}
# replace ASIO with jack if requested # replace ASIO with jack if requested
contains(CONFIG, "jackonwindows") { contains(CONFIG, "jackonwindows") {