Files
boost_beast/test/websocket/CMakeLists.txt
T

38 lines
800 B
CMake
Raw Normal View History

2016-05-07 07:08:21 -04:00
# Part of Beast
2016-09-02 10:09:45 -04:00
GroupSources(extras/beast extras)
2016-05-07 07:08:21 -04:00
GroupSources(include/beast beast)
2017-06-20 17:16:07 -07:00
2016-05-07 07:08:21 -04:00
GroupSources(test/websocket "/")
2017-06-20 17:16:07 -07:00
#include_directories(../../example/)
2017-06-19 12:49:42 -07:00
2016-05-07 07:08:21 -04:00
add_executable (websocket-tests
${BEAST_INCLUDES}
2016-09-02 10:09:45 -04:00
${EXTRAS_INCLUDES}
2016-05-07 07:08:21 -04:00
../../extras/beast/unit_test/main.cpp
2016-08-26 09:11:06 -04:00
websocket_async_echo_server.hpp
websocket_sync_echo_server.hpp
2017-06-07 16:30:49 -07:00
doc_snippets.cpp
2016-05-07 07:08:21 -04:00
error.cpp
option.cpp
rfc6455.cpp
stream.cpp
teardown.cpp
2016-09-02 10:09:45 -04:00
frame.cpp
mask.cpp
utf8_checker.cpp
2016-05-07 07:08:21 -04:00
)
2017-06-19 09:01:56 -07:00
target_link_libraries(websocket-tests
Beast
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
${Boost_COROUTINE_LIBRARY}
${Boost_THREAD_LIBRARY}
${Boost_CONTEXT_LIBRARY}
)
2017-06-19 12:49:42 -07:00
if (OPENSSL_FOUND)
2017-06-20 17:16:07 -07:00
target_link_libraries(websocket-tests ${OPENSSL_LIBRARIES})
2017-06-19 12:49:42 -07:00
endif()