Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
26 changed files
with
2,293 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
|
||
add_subdirectory (server) | ||
add_subdirectory (server-flex) | ||
add_subdirectory (server-flex-awaitable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ build-project server ; | |
|
||
# SSL | ||
build-project server-flex ; | ||
|
||
# C++20 | ||
build-project server-flex-awaitable ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
; |
Oops, something went wrong.