forked from boostorg/beast
1 parent
a21250d12d
commit
75e45287fb
82 files changed
+916
-1359
No files matched your search
@@ -7,14 +7,14 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
add_subdirectory (async)
|
||||
add_subdirectory (awaitable)
|
||||
add_subdirectory (coro)
|
||||
add_subdirectory (sync)
|
||||
add_subdirectory(async)
|
||||
add_subdirectory(awaitable)
|
||||
add_subdirectory(coro)
|
||||
add_subdirectory(sync)
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
add_subdirectory (async-ssl)
|
||||
add_subdirectory (async-ssl-system-executor)
|
||||
add_subdirectory (coro-ssl)
|
||||
add_subdirectory (sync-ssl)
|
||||
endif()
|
||||
add_subdirectory(async-ssl)
|
||||
add_subdirectory(async-ssl-system-executor)
|
||||
add_subdirectory(coro-ssl)
|
||||
add_subdirectory(sync-ssl)
|
||||
endif ()
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,25 +8,15 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/common common)
|
||||
GroupSources(example/websocket/client/async-ssl-system-executor "/")
|
||||
add_executable(websocket-client-async-ssl-system-executor
|
||||
Jamfile
|
||||
websocket_client_async_ssl_system_executor.cpp)
|
||||
|
||||
add_executable (websocket-client-async-ssl-system-executor
|
||||
${BOOST_BEAST_FILES}
|
||||
${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp
|
||||
Jamfile
|
||||
websocket_client_async_ssl_system_executor.cpp
|
||||
)
|
||||
target_include_directories(websocket-client-async-ssl-system-executor
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
set_property(TARGET websocket-client-async-ssl-system-executor PROPERTY FOLDER "example-websocket-client")
|
||||
target_link_libraries(websocket-client-async-ssl-system-executor
|
||||
PRIVATE Boost::beast OpenSSL::SSL OpenSSL::Crypto)
|
||||
|
||||
target_link_libraries (websocket-client-async-ssl-system-executor
|
||||
OpenSSL::SSL OpenSSL::Crypto
|
||||
lib-asio
|
||||
lib-asio-ssl
|
||||
lib-beast
|
||||
)
|
||||
|
||||
endif()
|
||||
set_target_properties(websocket-client-async-ssl-system-executor
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,25 +8,15 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/common common)
|
||||
GroupSources(example/websocket/client/async-ssl "/")
|
||||
add_executable(websocket-client-async-ssl
|
||||
Jamfile
|
||||
websocket_client_async_ssl.cpp)
|
||||
|
||||
add_executable (websocket-client-async-ssl
|
||||
${BOOST_BEAST_FILES}
|
||||
${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp
|
||||
Jamfile
|
||||
websocket_client_async_ssl.cpp
|
||||
)
|
||||
target_include_directories(websocket-client-async-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
set_property(TARGET websocket-client-async-ssl PROPERTY FOLDER "example-websocket-client")
|
||||
target_link_libraries(websocket-client-async-ssl
|
||||
PRIVATE Boost::beast OpenSSL::SSL OpenSSL::Crypto)
|
||||
|
||||
target_link_libraries (websocket-client-async-ssl
|
||||
OpenSSL::SSL OpenSSL::Crypto
|
||||
lib-asio
|
||||
lib-asio-ssl
|
||||
lib-beast
|
||||
)
|
||||
|
||||
endif()
|
||||
set_target_properties(websocket-client-async-ssl
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,17 +8,11 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/websocket/client/async "/")
|
||||
|
||||
add_executable (websocket-client-async
|
||||
${BOOST_BEAST_FILES}
|
||||
add_executable(websocket-client-async
|
||||
Jamfile
|
||||
websocket_client_async.cpp
|
||||
)
|
||||
websocket_client_async.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-async
|
||||
lib-asio
|
||||
lib-beast)
|
||||
target_link_libraries(websocket-client-async PRIVATE Boost::beast)
|
||||
|
||||
set_property(TARGET websocket-client-async PROPERTY FOLDER "example-websocket-client")
|
||||
set_target_properties(websocket-client-async
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,17 +8,11 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/websocket/client/awaitable "/")
|
||||
|
||||
add_executable (websocket-client-awaitable
|
||||
${BOOST_BEAST_FILES}
|
||||
add_executable(websocket-client-awaitable
|
||||
Jamfile
|
||||
websocket_client_awaitable.cpp
|
||||
)
|
||||
websocket_client_awaitable.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-awaitable
|
||||
lib-asio
|
||||
lib-beast)
|
||||
target_link_libraries(websocket-client-awaitable PRIVATE Boost::beast)
|
||||
|
||||
set_property(TARGET websocket-client-awaitable PROPERTY FOLDER "example-websocket-client")
|
||||
set_target_properties(websocket-client-awaitable
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,25 +8,15 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/common common)
|
||||
GroupSources(example/websocket/client/coro-ssl "/")
|
||||
add_executable(websocket-client-coro-ssl
|
||||
Jamfile
|
||||
websocket_client_coro_ssl.cpp)
|
||||
|
||||
add_executable (websocket-client-coro-ssl
|
||||
${BOOST_BEAST_FILES}
|
||||
${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp
|
||||
Jamfile
|
||||
websocket_client_coro_ssl.cpp
|
||||
)
|
||||
target_include_directories(websocket-client-coro-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
set_property(TARGET websocket-client-coro-ssl PROPERTY FOLDER "example-websocket-client")
|
||||
target_link_libraries(websocket-client-coro-ssl
|
||||
PRIVATE Boost::beast OpenSSL::SSL OpenSSL::Crypto)
|
||||
|
||||
target_link_libraries (websocket-client-coro-ssl
|
||||
OpenSSL::SSL OpenSSL::Crypto
|
||||
lib-asio
|
||||
lib-asio-ssl
|
||||
lib-beast
|
||||
)
|
||||
|
||||
endif()
|
||||
set_target_properties(websocket-client-coro-ssl
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,17 +8,11 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/websocket/client/coro "/")
|
||||
|
||||
add_executable (websocket-client-coro
|
||||
${BOOST_BEAST_FILES}
|
||||
add_executable(websocket-client-coro
|
||||
Jamfile
|
||||
websocket_client_coro.cpp
|
||||
)
|
||||
websocket_client_coro.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-coro
|
||||
lib-asio
|
||||
lib-beast)
|
||||
target_link_libraries(websocket-client-coro PRIVATE Boost::beast)
|
||||
|
||||
set_property(TARGET websocket-client-coro PROPERTY FOLDER "example-websocket-client")
|
||||
set_target_properties(websocket-client-coro
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,25 +8,15 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/common common)
|
||||
GroupSources(example/websocket/client/sync-ssl "/")
|
||||
add_executable(websocket-client-sync-ssl
|
||||
Jamfile
|
||||
websocket_client_sync_ssl.cpp)
|
||||
|
||||
add_executable (websocket-client-sync-ssl
|
||||
${BOOST_BEAST_FILES}
|
||||
${PROJECT_SOURCE_DIR}/example/common/root_certificates.hpp
|
||||
Jamfile
|
||||
websocket_client_sync_ssl.cpp
|
||||
)
|
||||
target_include_directories(websocket-client-sync-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
set_property(TARGET websocket-client-sync-ssl PROPERTY FOLDER "example-websocket-client")
|
||||
target_link_libraries(websocket-client-sync-ssl
|
||||
PRIVATE Boost::beast OpenSSL::SSL OpenSSL::Crypto)
|
||||
|
||||
target_link_libraries (websocket-client-sync-ssl
|
||||
OpenSSL::SSL OpenSSL::Crypto
|
||||
lib-asio
|
||||
lib-asio-ssl
|
||||
lib-beast
|
||||
)
|
||||
|
||||
endif()
|
||||
set_target_properties(websocket-client-sync-ssl
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2024 Mohammad Nejati
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
@@ -7,17 +8,11 @@
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/websocket/client/sync "/")
|
||||
|
||||
add_executable (websocket-client-sync
|
||||
${BOOST_BEAST_FILES}
|
||||
add_executable(websocket-client-sync
|
||||
Jamfile
|
||||
websocket_client_sync.cpp
|
||||
)
|
||||
websocket_client_sync.cpp)
|
||||
|
||||
target_link_libraries(websocket-client-sync
|
||||
lib-asio
|
||||
lib-beast)
|
||||
target_link_libraries(websocket-client-sync PRIVATE Boost::beast)
|
||||
|
||||
set_property(TARGET websocket-client-sync PROPERTY FOLDER "example-websocket-client")
|
||||
set_target_properties(websocket-client-sync
|
||||
PROPERTIES FOLDER "example-websocket-client")
|
||||
Reference in new issue
Block a user