Can I get the resulting lv_conf.h when using LV_CONF_SKIP

Background

I am using yocto for building several products. The products have different configurations of lvgl, going forward I want to unify these to use the same bitbake recipe. I am thinking about setting ‘LV_CONF_SKIP’ and adding CMake options.

Description

Using this method will not result in a lv_conf.h file, for building lvgl this is not a problem however building lv-drivers package requiters it. So my question is there any way of having the lv_conf.h file created or can lv-drivers be build using the CMake options or other solutions.

What MCU/Processor/Board and compiler are you using?

GCC: 12.2
CMake: 3.24.2

What LVGL version are you using?

lvgl 8.1
lv_driver: 7.11

What do you want to achieve?

Using CMake options to build lvgl and create a lv_conf.h file.

What have you tried so far?

I have manage to set “LV_CONF_SKIP” and use CMake options to build lvgl.