]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/test/bench/zlib/CMakeLists.txt
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / beast / test / bench / zlib / CMakeLists.txt
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 GroupSources(include/boost/beast beast)
11 GroupSources(test/extras/include/boost/beast extras)
12 GroupSources(subtree/unit_test/include/boost/beast extras)
13 GroupSources(test/extern/zlib-1.2.11 zlib)
14 GroupSources(test/bench/zlib "/")
15
16 if (MSVC)
17 set_source_files_properties (${ZLIB_SOURCES} PROPERTIES COMPILE_FLAGS "/wd4127 /wd4131 /wd4244")
18 endif()
19
20 add_executable (bench-zlib
21 ${BOOST_BEAST_FILES}
22 ${EXTRAS_FILES}
23 ${ZLIB_SOURCES}
24 ${TEST_MAIN}
25 Jamfile
26 deflate_stream.cpp
27 inflate_stream.cpp
28 )
29
30 set_property(TARGET bench-zlib PROPERTY FOLDER "tests-bench")