mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +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_LUA = 1
|
||||||
# USE_SYSTEM_LIB_SQLITE3 = 1
|
# USE_SYSTEM_LIB_SQLITE3 = 1
|
||||||
# USE_SYSTEM_LIB_PORTMIDI = 1
|
# USE_SYSTEM_LIB_PORTMIDI = 1
|
||||||
|
# USE_SYSTEM_LIB_PORTAUDIO = 1
|
||||||
|
|
||||||
# MESA_INSTALL_ROOT = /opt/mesa
|
# MESA_INSTALL_ROOT = /opt/mesa
|
||||||
# SDL_INSTALL_ROOT = /opt/sdl2
|
# SDL_INSTALL_ROOT = /opt/sdl2
|
||||||
@ -336,6 +337,10 @@ ifndef USE_SYSTEM_LIB_PORTMIDI
|
|||||||
PARAMS += --with-bundled-portmidi
|
PARAMS += --with-bundled-portmidi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef USE_SYSTEM_LIB_PORTAUDIO
|
||||||
|
PARAMS += --with-bundled-portaudio
|
||||||
|
endif
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
# distribution may change things
|
# distribution may change things
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
@ -128,6 +128,11 @@ newoption {
|
|||||||
description = 'Build bundled PortMidi library',
|
description = 'Build bundled PortMidi library',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newoption {
|
||||||
|
trigger = 'with-bundled-portaudio',
|
||||||
|
description = 'Build bundled PortAudio library',
|
||||||
|
}
|
||||||
|
|
||||||
newoption {
|
newoption {
|
||||||
trigger = "distro",
|
trigger = "distro",
|
||||||
description = "Choose distribution",
|
description = "Choose distribution",
|
||||||
|
@ -650,6 +650,7 @@ end
|
|||||||
-- PortAudio library objects
|
-- PortAudio library objects
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
|
if _OPTIONS["with-bundled-portaudio"] then
|
||||||
project "portaudio"
|
project "portaudio"
|
||||||
uuid "0755c5f5-eccf-47f3-98a9-df67018a94d4"
|
uuid "0755c5f5-eccf-47f3-98a9-df67018a94d4"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
@ -775,6 +776,11 @@ project "portaudio"
|
|||||||
"-Wshadow"
|
"-Wshadow"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
links {
|
||||||
|
"portaudio",
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
-- UnitTest++ library objects
|
-- UnitTest++ library objects
|
||||||
|
Loading…
Reference in New Issue
Block a user