lv_drivers
lv_drivers copied to clipboard
CMake: developer experience improvements
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