summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/beast/test/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/boost/libs/beast/test/CMakeLists.txt
parentInitial commit. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/libs/beast/test/CMakeLists.txt')
-rw-r--r--src/boost/libs/beast/test/CMakeLists.txt60
1 files changed, 60 insertions, 0 deletions
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)