* fix(CMake) split CMakeLists.txt, add options, includes and dependencies
* fix(CMake) do not use 'project' keyword with ESP_PLATFORM
* fix(CMake) prefix includes with CMAKE_CURRENT_LIST_DIR
* Don't depend on CMAKE_CURRENT_SOURCE_DIR
* fix(CMake) rename baremetal.cmake to custom.cmake
* fix(CMake) add CMake documentation
This will simplify packaging recipes, it's not mandatory,
but there is no reason to have it as an option if it does
not imply any regressions.
Relate-to: https://github.com/lvgl/lvgl/issues/2534
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
* build: Add install rule
This can help to install lvgl on systems,
for clients applications.
It's made for unix (Linux OE/Yocto actually)
if needed it can be enabled for other platforms too.
Relate-to: https://github.com/lvgl/lvgl/issues/2534
Forwarded: https://github.com/lvgl/lvgl/pull/2621
Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
* build: Make install rules optionnal
This change may be reverted, once verified it's harmless
It was tested using:
cmake -Dinstall=ON . && make install DESTDIR=/tmp/
Forwarded: https://github.com/lvgl/lvgl/pull/2621
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
* Convert tests/Makefile to a cmake project file.
This change switches the building of LVGL tests to use cmake
which is more portable than make. Additionally, whenever
cmake can be used, instead of the Python script (`main.py`),
the former is preferred.
The interface to `main.py` is unchanged, and tests are built
and executated the same as before.
This closes https://github.com/lvgl/lvgl/issues/2474.
* Installing `gcovr` in GitHub workflow.
* Documented steps to install libpng-dev.
* Added missing stdout flush when running tests.
* Grammar tweak in README.
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Commit f2c2393b30 (#2420) breaks lv_micropython esp32 port. Apparently main dependency is require for LVGL when building Micropython, otherwise GC related code breaks
This commit adds 'main' dependency to LVGL conditionally only if building inside lv_micropython.
* Removed src/lv_conf_zephyr.h
Removed src/lv_conf_zephyr.h as it is maintained in the Zephyr build it self.
* CMakeLists.txt: Added support for Zephyr RTOS
Added support to build LVGL as library for Zephyr RTOS
* Added support to use LVGL repo as Zephyr module
Added support to use the LVGL repository as a Zephyr module repository
* Removed LV_CONF_SKIP definition from CMake to avoid redefinition warnings; added more Kconfig options
* Bumped up version and removed unnecessary default values
* Added user data configuration to KConfig
* Moved user data options to "Feature Usage" menu