mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-11 16:04:00 +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.
27 lines
484 B
Lua
27 lines
484 B
Lua
project "clsocket"
|
|
|
|
kind "StaticLib"
|
|
|
|
if os.is("Windows") then
|
|
defines { "WIN32","_WINSOCK_DEPRECATED_NO_WARNINGS" }
|
|
end
|
|
if os.is("Linux") then
|
|
defines {"HAS_SOCKLEN_T","_LINUX"}
|
|
end
|
|
if os.is("MacOSX") then
|
|
defines {"HAS_SOCKLEN_T","_DARWIN"}
|
|
end
|
|
|
|
|
|
includedirs {
|
|
".","include","src"
|
|
}
|
|
if os.is("Linux") then
|
|
buildoptions{"-fPIC"}
|
|
end
|
|
files {
|
|
"src/SimpleSocket.cpp",
|
|
"src/ActiveSocket.cpp",
|
|
"src/PassiveSocket.cpp",
|
|
"**.h"
|
|
}
|