Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ set(BOOST_HTTP_PROTO_DEPENDENCIES
Boost::capy
Boost::config
Boost::core
Boost::json
Boost::mp11
Boost::static_assert
Boost::system
Expand Down Expand Up @@ -122,7 +123,7 @@ if (BOOST_HTTP_PROTO_IS_ROOT)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${BOOST_SRC_DIR}/tools/cmake/include")
else ()
# From Boost Package
find_package(Boost REQUIRED COMPONENTS buffers filesystem url)
find_package(Boost REQUIRED COMPONENTS buffers filesystem json url)
foreach (BOOST_INCLUDE_LIBRARY ${BOOST_INCLUDE_LIBRARIES})
if (NOT TARGET Boost::${BOOST_INCLUDE_LIBRARY})
add_library(Boost::${BOOST_INCLUDE_LIBRARY} ALIAS Boost::headers)
Expand Down
2 changes: 2 additions & 0 deletions build/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ lib boost_http_proto
: requirements
<library>/boost//buffers
<library>/boost//capy
<library>/boost/json//boost_json/<warnings-as-errors>off
<library>/boost//url
<include>../
<define>BOOST_HTTP_PROTO_SOURCE
: usage-requirements
<library>/boost//buffers
<library>/boost//capy
<library>/boost/json//boost_json/<warnings-as-errors>off
<library>/boost//url
;

Expand Down
2 changes: 0 additions & 2 deletions include/boost/http_proto.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#include <boost/http_proto/field.hpp>
#include <boost/http_proto/fields.hpp>
#include <boost/http_proto/fields_base.hpp>
#include <boost/http_proto/file.hpp>
#include <boost/http_proto/file_mode.hpp>
#include <boost/http_proto/file_sink.hpp>
#include <boost/http_proto/file_source.hpp>
#include <boost/http_proto/header_limits.hpp>
Expand Down
116 changes: 0 additions & 116 deletions include/boost/http_proto/detail/file_posix.hpp

This file was deleted.

92 changes: 0 additions & 92 deletions include/boost/http_proto/detail/file_stdio.hpp

This file was deleted.

106 changes: 0 additions & 106 deletions include/boost/http_proto/detail/file_win32.hpp

This file was deleted.

Loading