Commit Graph

20 Commits

Author SHA1 Message Date
Ju1He1
97aef2bfa5
fix(cmake): declspecs usage for msvc (#5190) 2024-01-09 11:44:49 +01:00
Peter Bee
b42cb43074
fix(cmake): add asm file compile definitions (#4884)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-11-28 09:17:21 +01:00
1000len-4959
361663ee5f feat(build): make it work with MSVC build (#4704)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: bjsylvia <bjsylvia@163.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: Niklas Fiekas <niklas.fiekas@backscattering.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lhdjply <1029652979@qq.com>
2023-11-06 14:35:06 +01:00
Gabor Kiss-Vamosi
773d50f0ac arch(env): arch(env): move the cmake folder into the env_support folder 2022-01-19 22:14:04 +01:00
Vincent Hamp
a8f30120ce
fix(CMake) split CMakeLists.txt, add options, includes and dependencies (#2753)
* 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
2021-11-22 10:51:51 +01:00
Xiang Xiao
c9e3760464
fix(config): remove the nonexistent Kconfig (#2654)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-11 14:02:59 +02:00
Philippe Coval
d0f08563a5
build: always enable CMake install rule in default configuration (#2636)
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>
2021-10-06 15:31:37 -04:00
Philippe Coval
7b7bed37d3
build: fix lib name in CMakeLists (#2641)
Fixup for #2640
2021-10-06 08:54:14 -04:00
Philippe Coval
28af180daf
build: remove use of 'project' keyword in CMakeLists (#2640)
It looks like it's not supported on ESP32: "project command is not scriptable"

Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
2021-10-05 08:16:02 -04:00
Philippe Coval
a28f14c3c6
build add install rule to CMakeList.txt (#2621)
* 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>
2021-10-04 16:54:33 +02:00
eudoxos
715d580d8c
feat(make) add lvgl interface target for micropython (#2529)
* Add lvgl interface target for micropython

* Add indentation to CMakeLists.txt
2021-09-06 10:39:51 +02:00
Chris Mumford
9c846ee493
test convert Makefile to CMake (#2495)
* 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>
2021-08-27 15:49:31 +02:00
Amir Gonnen
e602b3f0eb
fix(cmake) require 'main' for Micropython (#2444)
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.
2021-08-13 13:30:00 -04:00
Kevin Sidwar
f2c2393b30
fix(build) remove main component dependency (#2420)
Resolves #2403
2021-08-02 13:26:36 +02:00
Amir Gonnen
d0fb10724b feat(cmake) Allow building LVGL without kconfig (#2165) 2021-03-25 20:15:39 +01:00
Alex Kalmuk
0bdcf362ff
feat(cmake) build a static liblvgl.a library by default (#2079) 2021-02-18 07:41:54 -05:00
Jan Van Winkel
ed5f91ab72
Add support for Zephyr intergartion (#1979)
* 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
2021-01-04 14:18:11 +01:00
Mattia Maldini
62d21734d9
Improved ESP-IDF integration (#1961)
* 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
2020-12-20 13:34:48 +01:00
Carlos Diaz
3c55dfb672
CMakeLists.txt: Let the user configure whether LV_ATTRIBUTE_FAST_MEM is IRAM_ATTR (#1939) 2020-11-27 13:17:15 -05:00
Carlos Diaz
f9da89d77d
Add CMakeLists.txt (#1868) 2020-10-26 10:05:32 -04:00