winamp/Src/external_dependencies/openmpt-trunk/build/premake/ext-rtmidi.lua

33 lines
715 B
Lua
Raw Normal View History

2024-09-24 14:54:57 +02:00
project "rtmidi"
uuid "05BBD03D-0985-4D76-8DDD-534DA631C3A8"
language "C++"
location ( "../../build/" .. mpt_projectpathname .. "/ext" )
mpt_projectname = "rtmidi"
dofile "../../build/premake/premake-defaults-LIB.lua"
dofile "../../build/premake/premake-defaults.lua"
targetname "openmpt-rtmidi"
filter {}
filter { "action:vs*" }
characterset "Unicode"
filter {}
files {
"../../include/rtmidi/RtMidi.cpp"
}
files {
"../../include/rtmidi/RtMidi.h"
}
defines {
"__WINDOWS_MM__",
"RTMIDI_DO_NOT_ENSURE_UNIQUE_PORTNAMES"
}
if _OPTIONS["clang"] then
filter { "not kind:StaticLib" }
links { "winmm" }
filter {}
else
filter {}
links { "winmm" }
filter {}
end