Files
boost_beast/test/zlib/CMakeLists.txt
T
2017-07-20 08:12:20 -07:00

27 lines
606 B
CMake

# Part of Beast
GroupSources(extras/beast extras)
GroupSources(include/beast beast)
GroupSources(test/zlib "/")
if (MSVC)
set_source_files_properties (${ZLIB_SOURCES} PROPERTIES COMPILE_FLAGS "/wd4127 /wd4131 /wd4244")
endif()
add_executable (zlib-tests
${BEAST_INCLUDES}
${EXTRAS_INCLUDES}
${ZLIB_SOURCES}
../../extras/beast/unit_test/main.cpp
ztest.hpp
deflate_stream.cpp
error.cpp
inflate_stream.cpp
)
if (NOT WIN32)
target_link_libraries(zlib-tests ${Boost_LIBRARIES} Threads::Threads)
else()
target_link_libraries(zlib-tests ${Boost_LIBRARIES})
endif()