mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
Added ability to use system PortAudio
This commit is contained in:
parent
e3e03e67d1
commit
1b5d213aaa
5
makefile
5
makefile
@ -60,6 +60,7 @@
|
||||
# USE_SYSTEM_LIB_LUA = 1
|
||||
# USE_SYSTEM_LIB_SQLITE3 = 1
|
||||
# USE_SYSTEM_LIB_PORTMIDI = 1
|
||||
# USE_SYSTEM_LIB_PORTAUDIO = 1
|
||||
|
||||
# MESA_INSTALL_ROOT = /opt/mesa
|
||||
# SDL_INSTALL_ROOT = /opt/sdl2
|
||||
@ -336,6 +337,10 @@ ifndef USE_SYSTEM_LIB_PORTMIDI
|
||||
PARAMS += --with-bundled-portmidi
|
||||
endif
|
||||
|
||||
ifndef USE_SYSTEM_LIB_PORTAUDIO
|
||||
PARAMS += --with-bundled-portaudio
|
||||
endif
|
||||
|
||||
#-------------------------------------------------
|
||||
# distribution may change things
|
||||
#-------------------------------------------------
|
||||
|
@ -128,6 +128,11 @@ newoption {
|
||||
description = 'Build bundled PortMidi library',
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = 'with-bundled-portaudio',
|
||||
description = 'Build bundled PortAudio library',
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "distro",
|
||||
description = "Choose distribution",
|
||||
|
@ -650,6 +650,7 @@ end
|
||||
-- PortAudio library objects
|
||||
--------------------------------------------------
|
||||
|
||||
if _OPTIONS["with-bundled-portaudio"] then
|
||||
project "portaudio"
|
||||
uuid "0755c5f5-eccf-47f3-98a9-df67018a94d4"
|
||||
kind "StaticLib"
|
||||
@ -775,6 +776,11 @@ project "portaudio"
|
||||
"-Wshadow"
|
||||
}
|
||||
end
|
||||
else
|
||||
links {
|
||||
"portaudio",
|
||||
}
|
||||
end
|
||||
|
||||
--------------------------------------------------
|
||||
-- UnitTest++ library objects
|
||||
|
Loading…
Reference in New Issue
Block a user