Files
bullet3/btgui/MidiTest/premake4.lua
Erwin Coumans 7cec30dede fix Linux build
optional Midi under Linux (ALSA/libasound)
2014-05-05 15:37:02 -07:00

38 lines
511 B
Lua

project "rtMidiTest"
kind "ConsoleApp"
-- defines { }
targetdir "../../bin"
includedirs
{
".",
}
-- links { }
files {
"**.cpp",
"**.h"
}
if os.is("Windows") then
links {"winmm"}
defines {"__WINDOWS_MM__", "WIN32"}
end
if os.is("Linux") then
defines {"__LINUX_ALSA__"}
links {"asound","pthread"}
end
if os.is("MacOSX") then
links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
defines {"__MACOSX_CORE__"}
print ("hi!")
end