Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin

This commit is contained in:
2026-05-27 03:02:16 -05:00
parent 266ef5f830
commit 8413c67ec6
177 changed files with 20088 additions and 17948 deletions

14
cmake/staticlib.cmake Normal file
View File

@@ -0,0 +1,14 @@
add_library(tessesframework STATIC ${TESSESFRAMEWORK_SOURCE})
include(${CMAKE_CURRENT_LIST_DIR}/helpers.cmake)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoWii" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoGameCube")
target_link_libraries(tessesframework PUBLIC fat)
endif()
if("${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoWii")
target_link_libraries(tessesframework PUBLIC wiisocket)
target_compile_definitions(tessesframework PUBLIC TESSESFRAMEWORK_USE_WII_SOCKET)
endif()
list(APPEND TessesFrameworkLibs tessesframework)