mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
508550c5e9
See also issue #1538
34 lines
472 B
Lua
34 lines
472 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"
|
|
}
|
|
if os.is("Linux") then
|
|
buildoptions{"-fPIC"}
|
|
end
|
|
files {
|
|
"callbacks.c",
|
|
"compress.c",
|
|
"host.c",
|
|
"list.c",
|
|
"packet.c",
|
|
"peer.c",
|
|
"protocol.c",
|
|
"**.h"
|
|
}
|