Skip to content
Open

Work #145

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
64 changes: 0 additions & 64 deletions CLAUDE.md

This file was deleted.

16 changes: 13 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,20 @@ set(BOOST_SRC_DIR ${DEFAULT_BOOST_SRC_DIR} CACHE STRING "Boost source dir to use
set(BOOST_BEAST2_DEPENDENCIES
Boost::asio
Boost::assert
Boost::buffers
Boost::capy
Boost::config
Boost::core
Boost::describe
Boost::endian
Boost::http_proto
Boost::json
Boost::mp11
Boost::static_assert
Boost::system
Boost::throw_exception
Boost::url
Boost::variant2
)

foreach (BOOST_BEAST2_DEPENDENCY ${BOOST_BEAST2_DEPENDENCIES})
Expand All @@ -70,10 +80,10 @@ foreach (BOOST_BEAST2_DEPENDENCY ${BOOST_BEAST2_DEPENDENCIES})
endforeach ()
# Conditional dependencies
if (BOOST_BEAST2_BUILD_TESTS)
set(BOOST_BEAST2_UNIT_TEST_LIBRARIES beast url)
set(BOOST_BEAST2_UNIT_TEST_LIBRARIES beast)
endif ()
if (BOOST_BEAST2_BUILD_EXAMPLES)
set(BOOST_BEAST2_EXAMPLE_LIBRARIES json program_options scope url multiprecision)
set(BOOST_BEAST2_EXAMPLE_LIBRARIES program_options scope multiprecision)
endif ()
# Complete dependency list
set(BOOST_INCLUDE_LIBRARIES ${BOOST_BEAST2_INCLUDE_LIBRARIES} ${BOOST_BEAST2_UNIT_TEST_LIBRARIES} ${BOOST_BEAST2_EXAMPLE_LIBRARIES})
Expand Down Expand Up @@ -115,7 +125,7 @@ if (BOOST_BEAST2_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 http_proto program_options scope url)
find_package(Boost REQUIRED COMPONENTS buffers capy http_proto json program_options scope system 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
1 change: 0 additions & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

add_subdirectory(client)
add_subdirectory(server)
add_subdirectory(cpp20)
1 change: 0 additions & 1 deletion example/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

build-project client ;
build-project server ;
build-project cpp20 ;
10 changes: 0 additions & 10 deletions example/cpp20/CMakeLists.txt

This file was deleted.

10 changes: 0 additions & 10 deletions example/cpp20/Jamfile

This file was deleted.

33 changes: 0 additions & 33 deletions example/cpp20/co_spawn/CMakeLists.txt

This file was deleted.

41 changes: 0 additions & 41 deletions example/cpp20/co_spawn/Jamfile

This file was deleted.

38 changes: 0 additions & 38 deletions example/cpp20/co_spawn/async_42.hpp

This file was deleted.

100 changes: 0 additions & 100 deletions example/cpp20/co_spawn/async_result.hpp

This file was deleted.

Loading
Loading