|
|
@@ -21,6 +21,7 @@ include_directories(${TOPROOT}/lua/include
|
|
|
${TOPROOT}/components/lcd
|
|
|
${TOPROOT}/luat/packages/u8g2
|
|
|
${TOPROOT}/luat/packages/qrcode
|
|
|
+ ${TOPROOT}/components/ui/sdl2
|
|
|
)
|
|
|
|
|
|
aux_source_directory(./port PORT_SRCS)
|
|
|
@@ -31,6 +32,8 @@ aux_source_directory(${TOPROOT}/components/lcd LCD_SRCS)
|
|
|
aux_source_directory(${TOPROOT}/luat/packages/u8g2 U8G2_SRCS)
|
|
|
aux_source_directory(${TOPROOT}/luat/packages/qrcode QRCODE_SRCS)
|
|
|
|
|
|
+aux_source_directory(${TOPROOT}/components/ui/sdl2 UI_SDL2_SRCS)
|
|
|
+
|
|
|
add_library(lua ${LUA_SRCS})
|
|
|
add_library(luatos_port ${PORT_SRCS})
|
|
|
add_library(cjson ${CJSON_SRCS})
|
|
|
@@ -51,6 +54,7 @@ add_library(luat ${TOPROOT}/luat/modules/luat_main.c
|
|
|
${TOPROOT}/luat/modules/luat_lib_i2c.c
|
|
|
${TOPROOT}/luat/modules/luat_lib_spi.c
|
|
|
${TOPROOT}/luat/modules/luat_lib_adc.c
|
|
|
+ ${TOPROOT}/luat/modules/luat_lib_pin.c
|
|
|
${TOPROOT}/luat/modules/crc.c
|
|
|
${TOPROOT}/luat/vfs/luat_vfs.c
|
|
|
${TOPROOT}/luat/vfs/luat_fs_luadb.c
|
|
|
@@ -61,6 +65,7 @@ add_library(luat ${TOPROOT}/luat/modules/luat_main.c
|
|
|
${LCD_SRCS}
|
|
|
${U8G2_SRCS}
|
|
|
${QRCODE_SRCS}
|
|
|
+ ${UI_SDL2_SRCS}
|
|
|
)
|
|
|
|
|
|
#-----------------------
|