1 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-access-control")
3 add_executable(io_test io_test.cpp)
4 target_link_libraries(io_test ${Boost_LIBRARIES})
5 target_link_libraries(io_test ${CMAKE_THREAD_LIBS_INIT})
7 add_executable(parse_test parse_test.cpp)
8 target_link_libraries(parse_test ${Boost_LIBRARIES})
9 target_link_libraries(parse_test ${CMAKE_THREAD_LIBS_INIT})
11 if(MSYS) #TODO: Is MSYS true when MSVC is true?
12 target_link_libraries(io_test ws2_32 wsock32)
13 target_link_libraries(parse_test ws2_32 wsock32)
16 add_test(io_test io_test)
17 add_test(parse_test parse_test)
20 add_executable(crypto_test crypto_test.cpp)
21 target_link_libraries(crypto_test ${OPENSSL_CRYPTO_LIBRARY})
22 add_test(crypto_test crypto_test)