add_imgui_app(tables_qa
    main.cpp
    qa_state.cpp
    qa_panel.cpp
    test_suite.cpp
    perf_tests.cpp
    tab_basic.cpp
    tab_renderers.cpp
    tab_buttons.cpp
    tab_color_rules.cpp
    tab_dots.cpp
    tab_joins.cpp
    tab_tql.cpp
    tab_drill.cpp
    tab_events.cpp
    tab_compat.cpp
)
target_include_directories(tables_qa PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

# fn_module_data_table: provides data_table::render(), viz_render, TQL engine, Lua, LLM.
if(TARGET fn_module_data_table)
    target_link_libraries(tables_qa PRIVATE fn_module_data_table)
endif()

if(WIN32)
    set_target_properties(tables_qa PROPERTIES WIN32_EXECUTABLE TRUE)
endif()
