From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/boost/libs/beast/test/CMakeLists.txt | 60 ++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/boost/libs/beast/test/CMakeLists.txt (limited to 'src/boost/libs/beast/test/CMakeLists.txt') diff --git a/src/boost/libs/beast/test/CMakeLists.txt b/src/boost/libs/beast/test/CMakeLists.txt new file mode 100644 index 00000000..9e474bc1 --- /dev/null +++ b/src/boost/libs/beast/test/CMakeLists.txt @@ -0,0 +1,60 @@ +# +# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) +# +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +# +# Official repository: https://github.com/boostorg/beast +# + +include_directories (./extern) +include_directories (./extras/include) + +file (GLOB_RECURSE EXTRAS_FILES + ${PROJECT_SOURCE_DIR}/test/extras/include/*.hpp + ${PROJECT_SOURCE_DIR}/test/extras/include/*.ipp + ${PROJECT_SOURCE_DIR}/test/lib_ssl.cpp + ) + +if (OPENSSL_FOUND) + link_libraries (${OPENSSL_LIBRARIES}) +endif() + +set (ZLIB_SOURCES + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/crc32.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/deflate.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inffast.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inffixed.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inflate.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inftrees.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/trees.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/zlib.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/zutil.h + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/adler32.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/compress.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/crc32.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/deflate.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/infback.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inffast.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inflate.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/inftrees.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/trees.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/uncompr.c + ${CMAKE_CURRENT_LIST_DIR}/extern/zlib-1.2.11/zutil.c +) + +set (TEST_MAIN ${PROJECT_SOURCE_DIR}/test/lib_beast.cpp) + +GroupSources (. "/") + +add_library ( + lib-test STATIC + ${CMAKE_CURRENT_LIST_DIR}/lib_test.cpp +) + +set_property(TARGET lib-test PROPERTY FOLDER "static-libs") + +add_subdirectory (beast) +add_subdirectory (bench) +add_subdirectory (doc) +add_subdirectory (example) -- cgit v1.2.3