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
25 lines
542 B
CMake
25 lines
542 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast extras)
|
|
GroupSources(include/beast beast)
|
|
GroupSources(test/zlib "/")
|
|
|
|
if (MSVC)
|
|
set_source_files_properties (${ZLIB_SOURCES} PROPERTIES COMPILE_FLAGS "/wd4127 /wd4131 /wd4244")
|
|
endif()
|
|
|
|
add_executable (zlib-tests
|
|
${BEAST_INCLUDES}
|
|
${EXTRAS_INCLUDES}
|
|
${ZLIB_SOURCES}
|
|
../../extras/beast/unit_test/main.cpp
|
|
ztest.hpp
|
|
deflate_stream.cpp
|
|
error.cpp
|
|
inflate_stream.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(zlib-tests ${Boost_LIBRARIES} Threads::Threads)
|
|
endif()
|