Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
|
@ -0,0 +1,56 @@
|
|||
|
||||
project "rtaudio"
|
||||
uuid "4886456b-1342-4ec8-ad3f-d92aeb8c1097"
|
||||
language "C++"
|
||||
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
|
||||
mpt_projectname = "rtaudio"
|
||||
dofile "../../build/premake/premake-defaults-LIB.lua"
|
||||
dofile "../../build/premake/premake-defaults.lua"
|
||||
targetname "openmpt-rtaudio"
|
||||
filter {}
|
||||
filter { "action:vs*" }
|
||||
characterset "Unicode"
|
||||
filter {}
|
||||
filter { "action:vs2017" }
|
||||
if _OPTIONS["winxp"] then
|
||||
defines {
|
||||
"__WINDOWS_DS__",
|
||||
}
|
||||
else
|
||||
defines {
|
||||
-- WASAPI causes link failure due to confused SDK headers
|
||||
}
|
||||
end
|
||||
filter { "not action:vs2017" }
|
||||
if _OPTIONS["winxp"] then
|
||||
defines {
|
||||
"__WINDOWS_DS__",
|
||||
}
|
||||
else
|
||||
defines {
|
||||
"__WINDOWS_WASAPI__",
|
||||
}
|
||||
end
|
||||
filter {}
|
||||
files {
|
||||
"../../include/rtaudio/RtAudio.cpp",
|
||||
"../../include/rtaudio/RtAudio.h",
|
||||
}
|
||||
if _OPTIONS["winxp"] then
|
||||
if _OPTIONS["clang"] then
|
||||
filter { "not kind:StaticLib" }
|
||||
links { "dsound" }
|
||||
filter {}
|
||||
else
|
||||
filter {}
|
||||
links { "dsound" }
|
||||
filter {}
|
||||
end
|
||||
end
|
||||
filter { }
|
||||
filter { "action:vs*" }
|
||||
buildoptions { "/wd4267" }
|
||||
filter {}
|
||||
filter { "action:vs*" }
|
||||
buildoptions { "/wd6031" } -- analyze
|
||||
filter {}
|
Loading…
Add table
Add a link
Reference in a new issue