From 480f7932d491cfcddfd78397fc8f3997436d4a8b Mon Sep 17 00:00:00 2001 From: zqysara Date: Fri, 20 Jul 2018 15:32:22 +0800 Subject: Feat: implement send/recv in ks_common.c and vs_common.c An file can test only the send/receive API, exclude epoll and select; the app named ks_common and vs_common; Change-Id: Id1c751f78644dad4f00e4df0368fa7094af394fe Signed-off-by: zqysara --- app_example/perf-test/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app_example/perf-test/CMakeLists.txt') diff --git a/app_example/perf-test/CMakeLists.txt b/app_example/perf-test/CMakeLists.txt index 686cf4f..7f05b84 100644 --- a/app_example/perf-test/CMakeLists.txt +++ b/app_example/perf-test/CMakeLists.txt @@ -37,3 +37,11 @@ TARGET_LINK_LIBRARIES(ks_epoll pthread) ADD_EXECUTABLE(ks_select multi_tcp_select_app_Ser.c) TARGET_LINK_LIBRARIES(ks_select pthread) + +ADD_EXECUTABLE(vs_common multi_tcp_common_Ser.c) +ADD_DEPENDENCIES(vs_common nStackAPI) +TARGET_LINK_LIBRARIES(vs_common libnStackAPI.so -lpthread -lrt) + +ADD_EXECUTABLE(ks_common multi_tcp_common_Ser.c) +TARGET_LINK_LIBRARIES(ks_common pthread) + -- cgit 1.2.3-korg