fist API trys
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user