summaryrefslogtreecommitdiff
path: root/src/displayapp/fonts/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2022-12-31Revert "prepare cmake unity build"Riku Isokoski1-6/+0
This reverts commit 21f3bd708261ece47096961039e65d5b6f113c73.
2022-12-27prepare cmake unity buildtnixeu1-0/+6
Exclude files from unity build which currently cause compile erros because of redefinitions.
2022-06-16Patch hole in the letter M in jetbrains_mono_bold_20 (#1175)Riku Isokoski1-0/+2
2022-05-16generalize lv-font creationReinhold Gschweicher1-13/+29
In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font generation capabilites were added. Generalize the font creation to make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file for `InfiniSim` and just add the new cmake file to the project and link against the new `infinitime_fonts` target. In the following a list of changes. Allow non-global installed `lv_font_conv` executable installed with ```sh npm install lv_font_conv@1.5.2 ``` In CMake we search for `lv_font_conv` executable. Add the found executable to the python script `generate.py`, to remove the need for `lv_font_conv` to be in the path. Search for `python3` executable, if CMake version 3.12 is available. Otherwise use `python` as hard coded executable. Instead of adding the generated fonts to `SOURCE_FILES` variable, create a static library `infinitime_fonts`. Link this library to the executables instead. Use `add_custom_target()` together with `add_custom_command()` to generate the font.c files once (like the original PR does).
2022-05-10fontgen: changes to allow CMake to work from other projectYehoshua Pesach Wallach1-4/+4
2022-05-10fontgen: verify lv_font_conv at cmakeYehoshua Pesach Wallach1-1/+1
2022-05-10fontgen: generate font .c files in build dirYehoshua Pesach Wallach1-4/+7
2022-05-10fontgen: generate fonts at runtime with CMakeYehoshua Pesach Wallach1-0/+16