Maj core & libssh2

This commit is contained in:
kali
2025-11-03 07:40:56 -05:00
parent f4c94c2dc5
commit 6cefaa81bb
2 changed files with 24 additions and 1 deletions
+23
View File
@@ -4,6 +4,9 @@ project(C2TeamServer VERSION 0.0.0 LANGUAGES CXX C)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
##
## Conan Dependencies
@@ -21,6 +24,26 @@ find_package(httplib REQUIRED)
include_directories(${CMAKE_INCLUDE_PATH})
##
## Fetch for core
##
include(FetchContent)
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared libraries" FORCE)
set(BUILD_STATIC_LIBS ON CACHE BOOL "Build static libraries" FORCE)
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
FetchContent_Declare(
libssh2
GIT_REPOSITORY https://github.com/libssh2/libssh2.git
GIT_TAG libssh2-1.11.1
)
FetchContent_MakeAvailable(libssh2)
##
## Config Tests et Logs
##
+1 -1
Submodule core updated: 2f6652ddbb...bd7e71a814