CMakeLists.txt 587 B

12345678910111213141516171819202122
  1. # Web UI - Static assets and frontend build integration
  2. # This directory contains the web UI frontend assets.
  3. # For now, we create a library for any C++ utilities that might be needed
  4. # for serving static content or WebSocket handling.
  5. add_library(smartbotic_webui STATIC
  6. src/webui.cpp
  7. )
  8. target_include_directories(smartbotic_webui
  9. PUBLIC
  10. $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
  11. $<INSTALL_INTERFACE:include>
  12. )
  13. target_link_libraries(smartbotic_webui
  14. PUBLIC
  15. smartbotic::common
  16. )
  17. add_library(smartbotic::webui ALIAS smartbotic_webui)