-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
248 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
add_executable(pingpongserver PingPongServer.cpp) | ||
if(WIN32) | ||
target_link_libraries(pingpongserver ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(pingpongserver pthread brynet) | ||
endif() | ||
|
||
add_executable(pingpongclient PingPongClient.cpp) | ||
if(WIN32) | ||
target_link_libraries(pingpongclient ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(pingpongclient pthread brynet) | ||
endif() | ||
|
||
add_executable(broadcastserver BroadCastServer.cpp) | ||
if(WIN32) | ||
target_link_libraries(broadcastserver ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(broadcastserver pthread brynet) | ||
endif() | ||
|
||
add_executable(broadcastclient BroadCastClient.cpp) | ||
if(WIN32) | ||
target_link_libraries(broadcastclient ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(broadcastclient pthread brynet) | ||
endif() | ||
|
||
add_executable(httpserver TestHttp.cpp) | ||
if(WIN32) | ||
target_link_libraries(httpserver ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(httpserver pthread brynet) | ||
endif() | ||
|
||
add_executable(benchwebsocket BenchWebsocket.cpp) | ||
if(WIN32) | ||
target_link_libraries(benchwebsocket ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(benchwebsocket pthread brynet) | ||
endif() | ||
|
||
add_executable(promisereceive TestPromiseReceive.cpp) | ||
if(WIN32) | ||
target_link_libraries(promisereceive ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(promisereceive pthread brynet) | ||
endif() | ||
|
||
add_executable(web_binary_proxy WebBinaryProxy.cpp) | ||
if(WIN32) | ||
target_link_libraries(web_binary_proxy ws2_32 brynet) | ||
elseif(UNIX) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(web_binary_proxy pthread brynet) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.