fist API trys

This commit is contained in:
JohannesItten
2026-07-07 18:56:15 +03:00
parent 592686b6d7
commit 0b6e9ce46a
4 changed files with 373 additions and 208 deletions
+16
View File
@@ -115,5 +115,21 @@ endif()
add_subdirectory(nodes/videoin)
# ── Asio standalone (needed by Crow; no Boost) ───────────────────────────────
FetchContent_Declare(asio_fc
GIT_REPOSITORY https://github.com/chriskohlhoff/asio.git
GIT_TAG asio-1-30-2)
FetchContent_MakeAvailable(asio_fc)
set(ASIO_INCLUDE_DIR "${asio_fc_SOURCE_DIR}/asio/include" CACHE PATH "" FORCE)
# ── Crow (HTTP + WebSocket) ───────────────────────────────────────────────────
set(CROW_USE_BOOST OFF CACHE BOOL "" FORCE)
set(CROW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(CROW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
FetchContent_Declare(crow_fc
GIT_REPOSITORY https://github.com/CrowCpp/Crow.git
GIT_TAG v1.2.0)
FetchContent_MakeAvailable(crow_fc)
# ── Core server ──────────────────────────────────────────────────────────────
add_subdirectory(studio-manager)