]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # |
2 | # Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) | |
3 | # | |
4 | # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | # | |
7 | # Official repository: https://github.com/boostorg/beast | |
8 | # | |
9 | ||
10 | if (OPENSSL_FOUND) | |
11 | GroupSources(include/boost/beast beast) | |
12 | GroupSources(example/common common) | |
13 | GroupSources(example/advanced/server-flex "/") | |
14 | ||
15 | add_executable (advanced-server-flex | |
16 | ${BOOST_BEAST_FILES} | |
b32b8144 | 17 | ${PROJECT_SOURCE_DIR}/example/common/server_certificate.hpp |
b32b8144 FG |
18 | Jamfile |
19 | advanced_server_flex.cpp | |
20 | ) | |
21 | ||
22 | set_property(TARGET advanced-server-flex PROPERTY FOLDER "example-advanced-server") | |
23 | ||
24 | target_link_libraries (advanced-server-flex | |
92f5a8d4 TL |
25 | OpenSSL::SSL OpenSSL::Crypto |
26 | lib-asio | |
27 | lib-asio-ssl | |
28 | lib-beast | |
b32b8144 FG |
29 | ) |
30 | ||
31 | endif() |