# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only

idf_component_register(
  SRCS "lua_thread.cpp" "bridge.cpp" "property.cpp" "lua_database.cpp"
  "lua_queue.cpp" "lua_version.cpp" "lua_controls.cpp"
  INCLUDE_DIRS "include"
  REQUIRES "drivers" "lvgl" "tinyfsm" "events" "system_fsm" "database"
  "esp_timer" "battery" "esp-idf-lua" "luavgl" "lua-linenoise" "lua-term"
  "esp_app_format")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
