]> git.proxmox.com Git - ceph.git/blob - ceph/src/Beast/test/zlib/CMakeLists.txt
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / test / zlib / CMakeLists.txt
1 # Part of Beast
2
3 GroupSources(extras/beast extras)
4 GroupSources(include/beast beast)
5 GroupSources(test/zlib "/")
6
7 if (MSVC)
8 set_source_files_properties (${ZLIB_SOURCES} PROPERTIES COMPILE_FLAGS "/wd4127 /wd4131 /wd4244")
9 endif()
10
11 add_executable (zlib-tests
12 ${BEAST_INCLUDES}
13 ${EXTRAS_INCLUDES}
14 ${ZLIB_SOURCES}
15 ../../extras/beast/unit_test/main.cpp
16 ztest.hpp
17 deflate_stream.cpp
18 error.cpp
19 inflate_stream.cpp
20 )
21
22 if (NOT WIN32)
23 target_link_libraries(zlib-tests ${Boost_LIBRARIES} Threads::Threads)
24 else()
25 target_link_libraries(zlib-tests ${Boost_LIBRARIES})
26 endif()