# Smoke test app para validar que text_editor + file_watcher compilan
# y enlazan correctamente. NO es una app del registry, solo build gate
# de las funciones nuevas del issue 0025. Sin ImGui events runtime — el
# test crea, settea texto, polea y destruye en 1 frame headless (no abre ventana).

add_imgui_app(text_editor_smoke
    main.cpp
    ${CMAKE_SOURCE_DIR}/functions/core/text_editor.cpp
    ${CMAKE_SOURCE_DIR}/functions/core/file_watcher.cpp
    ${CMAKE_SOURCE_DIR}/vendor/imgui_text_edit/TextEditor.cpp
)
target_include_directories(text_editor_smoke PRIVATE
    ${CMAKE_SOURCE_DIR}/vendor/imgui_text_edit
)
