idf_component_register(
    SRCS 
        "main.c"
        "drivers/display_driver.c"
        "drivers/touch_driver.c"
        "drivers/nvs_driver.c"
        "ui/splash_screen.c"
        "ui/calibration_screen.c"
        "ui/loading_anim.c"
        "ui/lottie_player.c"
        "ui/assets/splash_screen/logo_iro.c"
        "ui/assets/fonts/Geist.c"
        "sensors/shake_detector.cpp"
        "emotion-engine/emotion_manager.c"
        "emotion-engine/blink/blink_emotion.c"
        "emotion-engine/shake/shake_emotion.c"
    INCLUDE_DIRS 
        "."
        "config"
    REQUIRES 
        SensorLib 
        json
        nvs_flash
)

set_source_files_properties(
    ${LV_DEMOS_SOURCES}
    PROPERTIES COMPILE_OPTIONS
    -DLV_LVGL_H_INCLUDE_SIMPLE
)
