bullet3/test/clsocket/premake4.lua

57 lines
827 B
Lua
Raw Normal View History

project ("Test_clsocket_EchoServer")
language "C++"
kind "ConsoleApp"
includedirs {"../../examples/ThirdPartyLibs/clsocket/src"}
if os.is("Windows") then
defines { "WIN32" }
links {"Ws2_32","Winmm"}
end
if os.is("Linux") then
2017-02-20 17:52:59 +00:00
defines {"_LINUX"}
end
if os.is("MacOSX") then
2017-02-20 17:52:59 +00:00
defines {"_DARWIN"}
end
links {"clsocket"}
files {
"EchoServer.cpp",
}
project ("Test_clsocket_QueryDayTime")
language "C++"
kind "ConsoleApp"
includedirs {"../../examples/ThirdPartyLibs/clsocket/src"}
if os.is("Windows") then
defines { "WIN32" }
links {"Ws2_32","Winmm"}
end
2017-02-20 17:52:59 +00:00
if os.is("Linux") then
2017-02-20 17:52:59 +00:00
defines {"_LINUX"}
end
if os.is("MacOSX") then
defines {"_DARWIN"}
end
links {"clsocket"}
files {
"QueryDayTime.cpp",
}