44026d0a70
- http_client.{h,cpp}: TCP plain (copia de registry_dashboard, sin SSL).
- data_http.{h,cpp}: API DAG (list/get/runs/trigger) + parser nlohmann/json.
- vendor/nlohmann/json.hpp: vendored.
- main.cpp: panel "Fetch /api/dags" demo, lista DAGs con schedule.
- CMakeLists.txt: anade http_client.cpp + data_http.cpp.
Build verificado. WS y tabs (data_table::render) en commits siguientes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 lines
499 B
CMake
17 lines
499 B
CMake
add_imgui_app(dag_engine_ui
|
|
main.cpp
|
|
http_client.cpp
|
|
data_http.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)
|
|
set_target_properties(dag_engine_ui PROPERTIES WIN32_EXECUTABLE TRUE)
|
|
endif()
|