Files
LiHaohuaandClaude Opus 4.7 5a0c805a9b Add examples/hello_cz — minimal LVGL app using the cz_app.h ABI
Three files (src/hello_cz.c + CMakeLists.txt + app-builder.json)
exercise the full SDK: implement app_main/app_event, include
sdk/cmake/CZApp.cmake, and declare runtime=lvgl-dlopen. Serves as
the canonical template for new apps and the fixture for CI smoke.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 14:30:34 +08:00

10 lines
317 B
CMake

cmake_minimum_required(VERSION 3.16)
project(hello_cz C)
# Locate the AppBuilder SDK (two levels up from this example).
get_filename_component(_cz_root "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
list(APPEND CMAKE_MODULE_PATH "${_cz_root}/sdk/cmake")
include(CZApp)
cz_add_lvgl_app(hello_cz SOURCES src/hello_cz.c)