adjusted clsocket build and test, so there is an EchoServer and QueryDayTime sending a string to the EchoServer.
This commit is contained in:
51
test/clsocket/premake4.lua
Normal file
51
test/clsocket/premake4.lua
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
|
||||
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
|
||||
end
|
||||
if os.is("MacOSX") then
|
||||
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
|
||||
if os.is("Linux") then
|
||||
end
|
||||
if os.is("MacOSX") then
|
||||
end
|
||||
|
||||
links {"clsocket"}
|
||||
|
||||
files {
|
||||
"QueryDayTime.cpp",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user