forked from boostorg/beast
This implements the permessage-deflate WebSocket extension as described in HyBi Working Group draft-ietf-hybi-permessage-compression-28: https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-28 This extension allows messages to be compressed using the raw "deflate" algorithm described in RFC 1951, "DEFLATE Compressed Data Format Specification version 1.3": https://www.ietf.org/rfc/rfc1951.txt
44 lines
962 B
CMake
44 lines
962 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast extras)
|
|
GroupSources(include/beast beast)
|
|
GroupSources(test/websocket "/")
|
|
|
|
add_executable (websocket-tests
|
|
${BEAST_INCLUDES}
|
|
${EXTRAS_INCLUDES}
|
|
../../extras/beast/unit_test/main.cpp
|
|
options_set.hpp
|
|
websocket_async_echo_server.hpp
|
|
websocket_sync_echo_server.hpp
|
|
error.cpp
|
|
option.cpp
|
|
rfc6455.cpp
|
|
stream.cpp
|
|
teardown.cpp
|
|
frame.cpp
|
|
mask.cpp
|
|
utf8_checker.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(websocket-tests ${Boost_LIBRARIES} Threads::Threads)
|
|
endif()
|
|
|
|
if (MINGW)
|
|
set_target_properties(websocket-tests PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj -Og")
|
|
endif()
|
|
|
|
add_executable (websocket-echo
|
|
${BEAST_INCLUDES}
|
|
${EXTRAS_INCLUDES}
|
|
options_set.hpp
|
|
websocket_async_echo_server.hpp
|
|
websocket_sync_echo_server.hpp
|
|
websocket_echo.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(websocket-echo ${Boost_LIBRARIES} Threads::Threads)
|
|
endif()
|