lv_drivers icon indicating copy to clipboard operation
lv_drivers copied to clipboard

CMake: developer experience improvements

Open amsobr opened this issue 8 months ago • 0 comments

This PR adds some improvements related to developer experience.

The bump to CMake v3.13 enables CMake policy #CMP0077, which makes it easier to define and use configuration variables, especially when bundling lv_drivers from another project.

Other improvements include:

  • automatically linking with SDL2
  • fix a bug in install rule which would install every single *.h file from the main project tree
  • add option to altogether disable installing lib and headers, when lv_drivers are bundled in another project

Please feel free to considers these changes as you see fit.

Thanks, António

amsobr avatar Oct 17 '23 23:10 amsobr