]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/beast/test/bench/zlib/CMakeLists.txt
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / beast / test / bench / zlib / CMakeLists.txt
CommitLineData
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
10GroupSources (include/boost/beast beast)
11GroupSources (test/extern/zlib-1.2.11 zlib)
12GroupSources (test/bench/zlib "/")
b32b8144
FG
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}
b32b8144 20 ${ZLIB_SOURCES}
b32b8144
FG
21 Jamfile
22 deflate_stream.cpp
23 inflate_stream.cpp
24)
92f5a8d4
TL
25target_link_libraries(bench-zlib
26 lib-asio
27 lib-beast
28 lib-test
29 )
b32b8144
FG
30
31set_property(TARGET bench-zlib PROPERTY FOLDER "tests-bench")