add enet for some client/server tests
This commit is contained in:
31
examples/ThirdPartyLibs/enet/premake4.lua
Normal file
31
examples/ThirdPartyLibs/enet/premake4.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user