bullet3/btgui/enet/premake4.lua
2013-05-04 21:30:51 -07:00

32 lines
430 B
Lua

project "enet"
kind "StaticLib"
if os.is("Windows") then
defines { "WIN32" }
files{"win32.c"}
end
if os.is("Linux") then
defines {"HAS_SOCKLEN_T"}
files {"unix.c",}
end
if os.is("MacOSX") then
files{"unix.c"}
end
targetdir "../../lib"
includedirs {
".","include"
}
files {
"callbacks.c",
"compress.c",
"host.c",
"list.c",
"packet.c",
"peer.c",
"protocol.c",
"**.h"
}