adjusted clsocket build and test, so there is an EchoServer and QueryDayTime sending a string to the EchoServer.

This commit is contained in:
Erwin Coumans
2017-02-19 12:08:58 -08:00
parent 4faa6613c9
commit 3faab1b019
5 changed files with 74 additions and 8 deletions

View File

@@ -71,10 +71,17 @@
description = "Don't build Extras"
}
newoption
{
trigger = "no-clsocket",
description = "Disable clsocket and clsocket tests (used for optional TCP networking in pybullet and shared memory C-API)"
}
newoption
{
trigger = "no-enet",
description = "Disable enet and enet tests"
description = "Disable enet and enet tests (used for optional UDP networking in pybullet and shared memory C-API)"
}
newoption
@@ -271,18 +278,20 @@ end
include "../examples/ThirdPartyLibs/midi"
end
if not _OPTIONS["no_clsocket"] then
include "../examples/ThirdPartyLibs/clsocket"
if not _OPTIONS["no-clsocket"] then
defines {"BT_ENABLE_CLSOCKET"}
include "../examples/ThirdPartyLibs/clsocket"
include "../test/clsocket"
end
if not _OPTIONS["no-enet"] then
defines {"BT_ENABLE_ENET"}
include "../examples/ThirdPartyLibs/enet"
include "../test/enet/nat_punchthrough/client"
include "../test/enet/nat_punchthrough/server"
include "../test/enet/chat/client"
include "../test/enet/chat/server"
defines {"BT_ENABLE_ENET"}
end
if _OPTIONS["no-bullet3"] then