Files
boost_beast/test/http/CMakeLists.txt
T
Vinnie Falco fe75a7ca2a Refactor HTTP serialization and parsing (API Change):
fix #404

Parsing and serialization interfaces have been fine tuned and unified.

For parsing these stream operations are defined:

* read
* read_header
* read_some
* async_read
* async_read_header
* async_read_some

For serialization these stream operations are defined:

* write
* write_header
* write_some
* async_write
* async_write_header
* async_write_some
2017-06-02 19:12:34 -07:00

54 lines
1.1 KiB
CMake

# Part of Beast
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test/http "/")
add_executable (http-tests
${BEAST_INCLUDES}
${EXTRAS_INCLUDES}
message_fuzz.hpp
test_parser.hpp
../../extras/beast/unit_test/main.cpp
basic_parser.cpp
buffer_body.cpp
design.cpp
dynamic_body.cpp
empty_body.cpp
error.cpp
fields.cpp
header_parser.cpp
message.cpp
message_parser.cpp
read.cpp
rfc7230.cpp
serializer.cpp
status.cpp
string_body.cpp
type_traits.cpp
verb.cpp
write.cpp
)
if (NOT WIN32)
target_link_libraries(http-tests ${Boost_LIBRARIES} Threads::Threads)
else()
target_link_libraries(http-tests ${Boost_LIBRARIES})
endif()
add_executable (http-bench
${BEAST_INCLUDES}
${EXTRAS_INCLUDES}
nodejs_parser.hpp
message_fuzz.hpp
../../extras/beast/unit_test/main.cpp
nodejs_parser.cpp
parser_bench.cpp
)
if (NOT WIN32)
target_link_libraries(http-bench ${Boost_LIBRARIES} Threads::Threads)
else()
target_link_libraries(http-bench ${Boost_LIBRARIES})
endif()