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