bullet3/examples/ThirdPartyLibs/enet/premake4.lua
erwincoumans 9708392322 work-in-progress
add UDP network connection for physics client <-> server.
also set spinning friction in rolling friction demo (otherwise objects may keep on spinning forever)
2016-11-04 13:15:10 -07:00

31 lines
407 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
includedirs {
".","include"
}
files {
"callbacks.c",
"compress.c",
"host.c",
"list.c",
"packet.c",
"peer.c",
"protocol.c",
"**.h"
}