]>
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 | ||
92f5a8d4 TL |
10 | GroupSources (include/boost/beast beast) |
11 | GroupSources (test/extern/zlib-1.2.11 zlib) | |
12 | GroupSources (test/bench/zlib "/") | |
b32b8144 FG |
13 | |
14 | if (MSVC) | |
15 | set_source_files_properties (${ZLIB_SOURCES} PROPERTIES COMPILE_FLAGS "/wd4127 /wd4131 /wd4244") | |
16 | endif() | |
17 | ||
18 | add_executable (bench-zlib | |
19 | ${BOOST_BEAST_FILES} | |
b32b8144 | 20 | ${ZLIB_SOURCES} |
b32b8144 FG |
21 | Jamfile |
22 | deflate_stream.cpp | |
23 | inflate_stream.cpp | |
24 | ) | |
92f5a8d4 TL |
25 | target_link_libraries(bench-zlib |
26 | lib-asio | |
27 | lib-beast | |
28 | lib-test | |
29 | ) | |
b32b8144 FG |
30 | |
31 | set_property(TARGET bench-zlib PROPERTY FOLDER "tests-bench") |