Merge pull request #124 from stanislas-m/feat/mingw-cross-compilation
Add config for mingw compiler for Windows
This commit is contained in:
commit
99c5fd04bc
1 changed files with 13 additions and 5 deletions
18
Jamulus.pro
18
Jamulus.pro
|
@ -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") {
|
||||||
|
|
Loading…
Reference in a new issue