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)
|
|
|
|
|
GroupSources(test/http "/")
|
|
|
|
|
|
|
|
|
|
add_executable (http-tests
|
|
|
|
|
${BEAST_INCLUDES}
|
2016-09-02 10:09:45 -04:00
|
|
|
${EXTRAS_INCLUDES}
|
2016-06-03 11:40:55 -04:00
|
|
|
message_fuzz.hpp
|
|
|
|
|
fail_parser.hpp
|
2016-05-07 07:08:21 -04:00
|
|
|
../../extras/beast/unit_test/main.cpp
|
2016-05-28 09:23:54 -04:00
|
|
|
basic_dynabuf_body.cpp
|
2016-05-07 07:08:21 -04:00
|
|
|
basic_headers.cpp
|
|
|
|
|
basic_parser_v1.cpp
|
|
|
|
|
body_type.cpp
|
2016-05-18 12:30:15 -04:00
|
|
|
concepts.cpp
|
2016-05-07 07:08:21 -04:00
|
|
|
empty_body.cpp
|
|
|
|
|
headers.cpp
|
|
|
|
|
message.cpp
|
2016-10-09 20:27:24 -04:00
|
|
|
parse.cpp
|
2016-05-07 07:08:21 -04:00
|
|
|
parse_error.cpp
|
|
|
|
|
parser_v1.cpp
|
|
|
|
|
read.cpp
|
|
|
|
|
reason.cpp
|
|
|
|
|
resume_context.cpp
|
|
|
|
|
rfc7230.cpp
|
|
|
|
|
streambuf_body.cpp
|
|
|
|
|
string_body.cpp
|
|
|
|
|
write.cpp
|
2016-09-02 10:09:45 -04:00
|
|
|
chunk_encode.cpp
|
2016-05-07 07:08:21 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if (NOT WIN32)
|
2016-06-15 22:03:18 -04:00
|
|
|
target_link_libraries(http-tests ${Boost_LIBRARIES} Threads::Threads)
|
2016-05-07 07:08:21 -04:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_executable (bench-tests
|
|
|
|
|
${BEAST_INCLUDES}
|
2016-09-02 10:09:45 -04:00
|
|
|
${EXTRAS_INCLUDES}
|
2016-06-03 11:40:55 -04:00
|
|
|
nodejs_parser.hpp
|
2016-05-07 07:08:21 -04:00
|
|
|
../../extras/beast/unit_test/main.cpp
|
|
|
|
|
nodejs_parser.cpp
|
|
|
|
|
parser_bench.cpp
|
|
|
|
|
)
|
2016-05-10 11:55:39 -04:00
|
|
|
|
|
|
|
|
if (NOT WIN32)
|
|
|
|
|
target_link_libraries(bench-tests ${Boost_LIBRARIES})
|
|
|
|
|
endif()
|