Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 2887f7d..77c9123 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -4,12 +4,19 @@ add_executable(crypto_test crypto_test.cpp)
target_link_libraries(crypto_test ${OPENSSL_CRYPTO_LIBRARY})
add_test(crypto_test crypto_test)
+add_executable(io_test io_test.cpp)
+target_link_libraries(io_test ${Boost_LIBRARIES})
+target_link_libraries(io_test ${OPENSSL_CRYPTO_LIBRARY})
+target_link_libraries(io_test ${CMAKE_THREAD_LIBS_INIT})
+
add_executable(parse_test parse_test.cpp)
target_link_libraries(parse_test ${Boost_LIBRARIES})
target_link_libraries(parse_test ${CMAKE_THREAD_LIBS_INIT})
if(MSYS)
+ target_link_libraries(io_test ws2_32 wsock32)
target_link_libraries(parse_test ws2_32 wsock32)
endif()
+add_test(io_test io_test)
add_test(parse_test parse_test)