forked from boostorg/beast
1 parent
a21250d12d
commit
75e45287fb
82 files changed
+916
-1359
No files matched your search
@@ -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/http/server/stackless-ssl "/")
|
||||
add_executable(http-server-stackless-ssl
|
||||
Jamfile
|
||||
http_server_stackless_ssl.cpp)
|
||||
|
||||
add_executable (http-server-stackless-ssl
|
||||
${BOOST_BEAST_FILES}
|
||||
${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp
|
||||
Jamfile
|
||||
http_server_stackless_ssl.cpp
|
||||
)
|
||||
target_include_directories(http-server-stackless-ssl
|
||||
PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
|
||||
set_property(TARGET http-server-stackless-ssl PROPERTY FOLDER "example-http-server")
|
||||
target_link_libraries(http-server-stackless-ssl
|
||||
PRIVATE Boost::beast OpenSSL::SSL OpenSSL::Crypto)
|
||||
|
||||
target_link_libraries (http-server-stackless-ssl
|
||||
OpenSSL::SSL OpenSSL::Crypto
|
||||
lib-asio
|
||||
lib-asio-ssl
|
||||
lib-beast
|
||||
)
|
||||
|
||||
endif()
|
||||
set_target_properties(http-server-stackless-ssl
|
||||
PROPERTIES FOLDER "example-http-server")
|
||||
Reference in new issue
Block a user