# Web UI - Static assets and frontend build integration

# This directory contains the web UI frontend assets.
# For now, we create a library for any C++ utilities that might be needed
# for serving static content or WebSocket handling.

add_library(smartbotic_webui STATIC
    src/webui.cpp
)

target_include_directories(smartbotic_webui
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
        $<INSTALL_INTERFACE:include>
)

target_link_libraries(smartbotic_webui
    PUBLIC
        smartbotic::common
)

add_library(smartbotic::webui ALIAS smartbotic_webui)
