]>
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 | ||
11fdf7f2 TL |
10 | add_definitions (-DBOOST_BEAST_ALLOW_DEPRECATED) |
11 | ||
92f5a8d4 TL |
12 | # For buffers_cat |
13 | add_definitions (-DBOOST_BEAST_TESTS) | |
14 | ||
15 | add_subdirectory (_experimental) | |
16 | add_subdirectory (core) | |
17 | add_subdirectory (http) | |
18 | add_subdirectory (ssl) | |
19 | add_subdirectory (websocket) | |
20 | add_subdirectory (zlib) | |
21 | ||
22 | #------------------------------------------------------------------------------- | |
23 | ||
24 | GroupSources (include/boost/beast beast) | |
25 | GroupSources (test/extras/include/boost /) | |
26 | GroupSources (test/beast /) | |
b32b8144 FG |
27 | |
28 | add_executable (tests-beast | |
29 | ${BOOST_BEAST_FILES} | |
30 | ${EXTRAS_FILES} | |
b32b8144 FG |
31 | Jamfile |
32 | core.cpp | |
33 | http.cpp | |
92f5a8d4 | 34 | ssl.cpp |
b32b8144 FG |
35 | version.cpp |
36 | websocket.cpp | |
37 | zlib.cpp | |
38 | ) | |
39 | ||
92f5a8d4 TL |
40 | target_link_libraries(tests-beast |
41 | lib-asio | |
42 | lib-asio-ssl | |
43 | lib-beast | |
44 | lib-test) | |
b32b8144 FG |
45 | |
46 | set_property(TARGET tests-beast PROPERTY FOLDER "tests") |