This commit is contained in:
2025-02-15 09:53:11 +01:00
commit 0922b77fad
44 changed files with 3384 additions and 0 deletions

24
networking/CMakeLists.txt Normal file
View File

@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.15)
add_library(networking
include/Server.hpp
src/Server.cpp
include/Client.hpp
src/Client.cpp
include/Helpers.hpp
src/Helpers.cpp
src/AsyncSslTransport.cpp
include/AsyncSslTransport.hpp
src/AsyncSslClientTransport.cpp
include/AsyncSslClientTransport.hpp
include/AsyncSslServerTransport.hpp
src/AsyncSslServerTransport.cpp
)
target_include_directories(networking PUBLIC include)
find_package(OpenSSL REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(FUSE REQUIRED IMPORTED_TARGET fuse)
target_link_libraries(networking PRIVATE utils OpenSSL::SSL OpenSSL::Crypto PkgConfig::FUSE)