1+ set (LV_CONF_INCLUDE_SIMPLE OFF )
2+ add_subdirectory (lib/lvgl)
3+
4+ add_library (droidboot_gui STATIC
5+ # List C/C++ source files with relative paths to this CMakeLists.txt.
6+ common/droidboot_helpers.c
7+ common/droidboot_init.c
8+ common/droidboot_logging.c
9+ common/droidboot_main.c
10+ common/droidboot_screens.c
11+ common/droidboot_stdfunc.c
12+ common/droidboot_theme.c
13+ storage/droidboot_gpt.c
14+ storage/droidboot_mapped.c
15+ config_parser/droidboot_config.c
16+ config_parser/droidboot_fs_util.c
17+ dualboot_gui/droidboot_boot_logo.c
18+ dualboot_gui/dualboot_menu.c
19+ extras/droidboot_dtb.c
20+ extras/droidboot_kernel_helper.c
21+ droidboot_platforms/common/droidboot_platform_common.c
22+ droidboot_platforms/simulator/simulator.c
23+ backend/droidboot_drivers.c
24+ backend/droidboot_dualboot_backend.c)
25+ target_link_libraries (droidboot_gui PUBLIC lvgl)
26+ add_compile_definitions (PLATFORM_SIMULATOR)
27+ target_include_directories (droidboot_gui PUBLIC
28+ lib/libufdt/sysdeps/include
29+ lib/libufdt/include
30+ lib/ext4/include
31+ lib/minigz
32+ droidboot_platforms/common
33+ droidboot_platforms/simulator
34+ droidboot_platforms/libc-hack
35+ droidboot_platforms/libc-hack/lk
36+ include
37+ .
38+ )
0 commit comments