lv_port_pc_vscode icon indicating copy to clipboard operation
lv_port_pc_vscode copied to clipboard

Could it enhance the means of compile

Open HR1025 opened this issue 2 years ago • 0 comments

For now, lv_port_pc_vscode use the mean of Makefile to compile the simulator project.

I think there are two additional scenarios to consider:

  • Support compile options : to support the scenario for example I change the way of drivers (not use SDL but wayland)
  • git sub module not use Makefile to build project (for example https://github.com/lvgl/lv_drivers)

I think may be use if-else condition to support compile options, and use a smooth way to choose sources file instead of SRCS := $(shell find $(SRC_DIR) -type f -name '*.c' -not -path '*/\.*') .

And May be Support the Cmake mean to compile.

This is a very good project, it gives me a good feeling. I believe this is a good example to understand LVGL, and there is a possibility we may modify this project as a demo to explore LVGL and enjoy it.

(If think it useful, may be If I think it is meaningful, maybe I can improve it. Update code to keep consistent with https://github.com/lvgl/lv_port_pc_eclipse, modify Makefile and Support Cmake, and probably add a additional driver way wayland).

HR1025 avatar Oct 27 '22 06:10 HR1025