7c7923ac6a
http_client + ws_client llaman socket(), send(), recv(), WSAStartup, etc. En MinGW-w64 hay que enlazar ws2_32 explicitamente o el linker falla con __imp_* undefined references. registry_dashboard ya lo hace igual. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
641 B
CMake
21 lines
641 B
CMake
add_imgui_app(dag_engine_ui
|
|
main.cpp
|
|
http_client.cpp
|
|
data_http.cpp
|
|
ws_client.cpp
|
|
tabs.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/core/empty_state.cpp
|
|
)
|
|
target_include_directories(dag_engine_ui PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
# fn_table_viz: provides data_table::render(), viz_render, TQL engine, Lua, LLM.
|
|
# Guard keeps the app compilable in builds where vendor/lua is absent.
|
|
if(TARGET fn_table_viz)
|
|
target_link_libraries(dag_engine_ui PRIVATE fn_table_viz)
|
|
endif()
|
|
|
|
if(WIN32)
|
|
target_link_libraries(dag_engine_ui PRIVATE ws2_32)
|
|
set_target_properties(dag_engine_ui PROPERTIES WIN32_EXECUTABLE TRUE)
|
|
endif()
|