mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-17 09:35:51 +00:00
Conform to the Networking TS by renaming the Streambuf concept to DynamicBuffer in all places. Values of types meeting the requirements of DynamicBuffer are renamed to dynabuf. See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4478.html#requirements.dynamic_buffers * Headers renamed * Formal parameter names renamed * Template argument types renamed * Documentation updated
46 lines
916 B
CMake
46 lines
916 B
CMake
# Part of Beast
|
|
|
|
GroupSources(extras/beast beast)
|
|
GroupSources(include/beast beast)
|
|
GroupSources(test/http "/")
|
|
|
|
add_executable (http-tests
|
|
${BEAST_INCLUDES}
|
|
../../extras/beast/unit_test/main.cpp
|
|
basic_dynabuf_body.cpp
|
|
basic_headers.cpp
|
|
basic_parser_v1.cpp
|
|
body_type.cpp
|
|
concepts.cpp
|
|
empty_body.cpp
|
|
headers.cpp
|
|
message.cpp
|
|
message_v1.cpp
|
|
parse_error.cpp
|
|
parser_v1.cpp
|
|
read.cpp
|
|
reason.cpp
|
|
resume_context.cpp
|
|
rfc7230.cpp
|
|
status.cpp
|
|
streambuf_body.cpp
|
|
string_body.cpp
|
|
write.cpp
|
|
detail/chunk_encode.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(http-tests ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
|
endif()
|
|
|
|
add_executable (bench-tests
|
|
${BEAST_INCLUDES}
|
|
../../extras/beast/unit_test/main.cpp
|
|
nodejs_parser.cpp
|
|
parser_bench.cpp
|
|
)
|
|
|
|
if (NOT WIN32)
|
|
target_link_libraries(bench-tests ${Boost_LIBRARIES})
|
|
endif()
|