treewide: add Wayland and SDL2 backends

This commit is contained in:
Dylan Van Assche 2025-11-29 21:37:51 +01:00 committed by Johannes Marbach
parent 271cdf8534
commit e69bcf5dc2
11 changed files with 44 additions and 3 deletions

View file

@ -23,6 +23,13 @@ else
f0rmz_args += '-DLV_USE_LINUX_DRM=0'
endif
if deplibsdl.found()
f0rmz_dependencies += deplibsdl
f0rmz_args += '-DLV_USE_SDL=1'
else
f0rmz_args += '-DLV_USE_SDL=0'
endif
executable('f0rmz',
include_directories: common_include_dirs,
sources: f0rmz_sources + shared_sources + shared_sources_ul_f0 + squeek2lvgl_sources + lvgl_sources,