feat(conf) automatically enable LV_LVGL_H_INCLUDE_SIMPLE if lvgl.h can be included
This commit is contained in:
@@ -42,6 +42,11 @@ fout.write(
|
|||||||
# define LV_CONF_INCLUDE_SIMPLE
|
# define LV_CONF_INCLUDE_SIMPLE
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*If lv_conf.h is not skipped include it*/
|
/*If lv_conf.h is not skipped include it*/
|
||||||
|
|||||||
@@ -25,6 +25,11 @@
|
|||||||
# define LV_CONF_INCLUDE_SIMPLE
|
# define LV_CONF_INCLUDE_SIMPLE
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
# if __has_include("lvgl.h")
|
||||||
|
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# define LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*If lv_conf.h is not skipped include it*/
|
/*If lv_conf.h is not skipped include it*/
|
||||||
|
|||||||
Reference in New Issue
Block a user