mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-02 10:14:30 +00:00
Moved the addSourceDirectory for physics/Bullet into the Engine/Source/CMakeLists.txt file that way it can actually appear where we expect it to in the solution explorer.
33 lines
472 B
Lua
33 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"
|
|
}
|