support native Jack support under Windows using the CONFIG switch "jackonwindows"
This commit is contained in:
parent
5c3bc50764
commit
b95ba0ffb1
1 changed files with 19 additions and 0 deletions
19
Jamulus.pro
19
Jamulus.pro
|
@ -44,6 +44,25 @@ win32 {
|
||||||
advapi32.lib \
|
advapi32.lib \
|
||||||
winmm.lib \
|
winmm.lib \
|
||||||
ws2_32.lib
|
ws2_32.lib
|
||||||
|
|
||||||
|
# replace ASIO with jack if requested
|
||||||
|
contains(CONFIG, "jackonwindows") {
|
||||||
|
message(Using Jack instead of ASIO.)
|
||||||
|
|
||||||
|
!exists("C:/Program Files (x86)/Jack/includes/jack/jack.h") {
|
||||||
|
message(Warning: jack.h was not found at the usual place, maybe jack is not installed)
|
||||||
|
}
|
||||||
|
|
||||||
|
HEADERS -= windows/sound.h
|
||||||
|
SOURCES -= windows/sound.cpp
|
||||||
|
HEADERS += linux/sound.h
|
||||||
|
SOURCES += linux/sound.cpp
|
||||||
|
DEFINES += WITH_SOUND
|
||||||
|
DEFINES += JACK_REPLACES_ASIO
|
||||||
|
DEFINES += _STDINT_H # supposed to solve compilation error in systemdeps.h
|
||||||
|
INCLUDEPATH += "C:/Program Files (x86)/Jack/includes"
|
||||||
|
LIBS += "C:/Program Files (x86)/Jack/lib/libjack64.lib"
|
||||||
|
}
|
||||||
} else:macx {
|
} else:macx {
|
||||||
QT += macextras
|
QT += macextras
|
||||||
HEADERS += mac/sound.h
|
HEADERS += mac/sound.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue