Remove graphics add email
This commit is contained in:
@ -13,6 +13,7 @@ src/Http/HttpUtils.cpp
|
||||
src/Http/HttpClient.cpp
|
||||
src/Http/HttpStream.cpp
|
||||
src/Http/ContentDisposition.cpp
|
||||
src/Mail/Smtp.cpp
|
||||
src/Streams/FileStream.cpp
|
||||
src/Streams/MemoryStream.cpp
|
||||
src/Streams/NetworkStream.cpp
|
||||
@ -34,12 +35,6 @@ src/Filesystem/NullFilesystem.cpp
|
||||
src/Filesystem/MountableFilesystem.cpp
|
||||
src/Crypto/ClientTLSStream.cpp
|
||||
src/Crypto/MbedHelpers.cpp
|
||||
src/Graphics/ImageFormats/Bitmap.cpp
|
||||
src/Graphics/ImageFormats/ImageFormat.cpp
|
||||
src/Graphics/Renderers/ImageRenderer.cpp
|
||||
src/Graphics/Renderers/Renderer.cpp
|
||||
src/Graphics/Color.cpp
|
||||
src/Graphics/Image.cpp
|
||||
src/TF_Init.cpp
|
||||
src/wrapper.cpp
|
||||
src/HiddenField.cpp
|
||||
@ -48,7 +43,6 @@ src/HiddenField.cpp
|
||||
set(TESSESFRAMEWORK_CERT_BUNDLE_FILE "/etc/ssl/certs/ca-certificates.crt" CACHE FILEPATH "Path to ca-chain")
|
||||
option(TESSESFRAMEWORK_EMBED_CERT_BUNDLE "Embed the certificate chain bundle" ON)
|
||||
option(TESSESFRAMEWORK_ENABLE_MBED "Enable Tesses Framework mbedtls" ON)
|
||||
option(TESSESFRAMEWORK_ENABLE_LIBWEBCAM "Enable LibWebCam" OFF)
|
||||
option(TESSESFRAMEWORK_ENABLE_NETWORKING "Enable Networking" ON)
|
||||
option(TESSESFRAMEWORK_ENABLE_THREADING "Enable Threading" ON)
|
||||
|
||||
@ -74,18 +68,13 @@ endif()
|
||||
endif()
|
||||
set(MBEDTLS_DIR "" CACHE PATH "Mbed tls directory")
|
||||
|
||||
function(link_deps TessesFramework_TARGET)
|
||||
function(TESSESFRAMEWORK_LINKDEPS TessesFramework_TARGET)
|
||||
if(TESSESFRAMEWORK_ENABLE_THREADING)
|
||||
target_compile_definitions(${TessesFramework_TARGET} PUBLIC TESSESFRAMEWORK_ENABLE_THREADING)
|
||||
endif()
|
||||
if(TESSESFRAMEWORK_ENABLE_NETWORKING)
|
||||
target_compile_definitions(${TessesFramework_TARGET} PUBLIC TESSESFRAMEWORK_ENABLE_NETWORKING)
|
||||
endif()
|
||||
if(TESSESFRAMEWORK_ENABLE_LIBWEBCAM)
|
||||
target_compile_definitions(${TessesFramework_TARGET} PUBLIC TESSESFRAMEWORK_ENABLE_LIBWEBCAM)
|
||||
find_package(libwebcam REQUIRED)
|
||||
target_link_libraries(${TessesFramework_TARGET} PUBLIC libwebcam)
|
||||
endif()
|
||||
if(TESSESFRAMEWORK_ENABLE_MBED)
|
||||
target_compile_definitions(${TessesFramework_TARGET} PUBLIC TESSESFRAMEWORK_ENABLE_MBED)
|
||||
if(TESSESFRAMEWORK_EMBED_CERT_BUNDLE)
|
||||
@ -131,7 +120,7 @@ include(GNUInstallDirs)
|
||||
if(TESSESFRAMEWORK_ENABLE_STATIC)
|
||||
|
||||
add_library(tessesframework STATIC ${TESSESFRAMEWORK_SOURCE})
|
||||
link_deps(tessesframework)
|
||||
TESSESFRAMEWORK_LINKDEPS(tessesframework)
|
||||
list(APPEND TessesFrameworkLibs tessesframework)
|
||||
endif()
|
||||
|
||||
@ -139,7 +128,7 @@ endif()
|
||||
if(TESSESFRAMEWORK_ENABLE_SHARED)
|
||||
|
||||
add_library(tessesframework_shared SHARED ${TESSESFRAMEWORK_SOURCE})
|
||||
link_deps(tessesframework_shared)
|
||||
TESSESFRAMEWORK_LINKDEPS(tessesframework_shared)
|
||||
list(APPEND TessesFrameworkLibs tessesframework_shared)
|
||||
endif()
|
||||
|
||||
@ -189,14 +178,6 @@ if(TESSESFRAMEWORK_ENABLE_EXAMPLES)
|
||||
add_executable(mountabletest examples/mountabletest.cpp)
|
||||
target_link_libraries(mountabletest PUBLIC tessesframework)
|
||||
|
||||
add_executable(bmp examples/bmp.cpp)
|
||||
target_link_libraries(bmp PUBLIC tessesframework)
|
||||
add_executable(bmp2 examples/bmp2.cpp)
|
||||
target_link_libraries(bmp2 PUBLIC tessesframework)
|
||||
add_executable(bmp3 examples/bmp3.cpp)
|
||||
target_link_libraries(bmp3 PUBLIC tessesframework)
|
||||
add_executable(bmp4 examples/bmp4.cpp)
|
||||
target_link_libraries(bmp4 PUBLIC tessesframework)
|
||||
endif()
|
||||
|
||||
if(TESSESFRAMEWORK_ENABLE_APPS)
|
||||
|
||||
Reference in New Issue
Block a user