Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64, msi-walmart) (push) Successful in 1m44s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7, msi-walmart) (push) Successful in 2m11s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386, asrock) (push) Successful in 2m33s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64, asrock) (push) Successful in 2m34s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64, asrock) (push) Successful in 2m38s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 2m57s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Successful in 3m13s
40 lines
1.1 KiB
CMake
40 lines
1.1 KiB
CMake
if(TESSESFRAMEWORK_ENABLE_MBED)
|
|
if(TESSESFRAMEWORK_FETCHCONTENT)
|
|
set(MBEDTLS_FATAL_WARNINGS OFF CACHE INTERNAL "For TessesFramework" FORCE)
|
|
set(ENABLE_TESTING OFF CACHE INTERNAL "For TessesFramework" FORCE)
|
|
set(ENABLE_PROGRAMS OFF CACHE INTERNAL "For TessesFramework" FORCE)
|
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build static libraries" FORCE)
|
|
|
|
if(NOT TESSESFRAMEWORK_STATIC)
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Build with PIC" FORCE)
|
|
endif()
|
|
|
|
FetchContent_Declare(
|
|
mbedtls
|
|
URL https://downloads.tesses.net/cache/libraries/source/mbedtls-3.6.7.tar.bz2
|
|
|
|
)
|
|
if(NOT mbedtls_POPULATED)
|
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build static" FORCE)
|
|
if(NOT TESSESFRAMEWORK_STATIC)
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Build PIC" FORCE)
|
|
endif()
|
|
|
|
|
|
FetchContent_Populate(mbedtls)
|
|
|
|
|
|
|
|
if(NOT TESSESFRAMEWORK_STATIC)
|
|
add_subdirectory(${mbedtls_SOURCE_DIR} ${mbedtls_BINARY_DIR} EXCLUDE_FROM_ALL)
|
|
else()
|
|
add_subdirectory(${mbedtls_SOURCE_DIR} ${mbedtls_BINARY_DIR})
|
|
endif()
|
|
|
|
endif()
|
|
else()
|
|
if(TESSESFRAMEWORK_MBEDTLS_PORTLIB STREQUAL "")
|
|
find_package(MbedTLS REQUIRED)
|
|
endif()
|
|
endif()
|
|
endif() |