mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
committed by
Klemens Morgenstern
parent
1fc340713c
commit
09bfca1fa1
@ -9,3 +9,4 @@
|
||||
|
||||
add_subdirectory (server)
|
||||
add_subdirectory (server-flex)
|
||||
add_subdirectory (server-flex-awaitable)
|
||||
|
@ -11,3 +11,6 @@ build-project server ;
|
||||
|
||||
# SSL
|
||||
build-project server-flex ;
|
||||
|
||||
# C++20
|
||||
build-project server-flex-awaitable ;
|
||||
|
31
example/advanced/server-flex-awaitable/CMakeLists.txt
Normal file
31
example/advanced/server-flex-awaitable/CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
#
|
||||
# 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)
|
||||
#
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
GroupSources(include/boost/beast beast)
|
||||
GroupSources(example/common common)
|
||||
GroupSources(example/advanced/server-flex-awaitable "/")
|
||||
|
||||
add_executable (advanced-server-flex-awaitable
|
||||
${BOOST_BEAST_FILES}
|
||||
${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp
|
||||
Jamfile
|
||||
advanced_server_flex_awaitable.cpp
|
||||
)
|
||||
|
||||
set_property(TARGET advanced-server-flex-awaitable PROPERTY FOLDER "example-advanced-server")
|
||||
|
||||
target_link_libraries (advanced-server-flex-awaitable
|
||||
OpenSSL::SSL OpenSSL::Crypto
|
||||
lib-asio
|
||||
lib-asio-ssl
|
||||
lib-beast
|
||||
)
|
||||
|
||||
endif()
|
22
example/advanced/server-flex-awaitable/Jamfile
Normal file
22
example/advanced/server-flex-awaitable/Jamfile
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
#
|
||||
# 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)
|
||||
#
|
||||
# Official repository: https://github.com/boostorg/beast
|
||||
#
|
||||
|
||||
import ac ;
|
||||
|
||||
project
|
||||
: requirements
|
||||
[ ac.check-library /boost/beast//lib-asio-ssl : <library>/boost/beast//lib-asio-ssl/<link>static : <build>no ]
|
||||
;
|
||||
|
||||
exe advanced-server-flex-awaitable :
|
||||
advanced_server_flex_awaitable.cpp
|
||||
:
|
||||
<variant>coverage:<build>no
|
||||
<variant>ubasan:<build>no
|
||||
;
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user