embed_fonts

This commit is contained in:
2023-04-01 17:03:29 +06:00
parent 20d662424e
commit 5dbd00a65c
17 changed files with 584 additions and 27 deletions

View File

@@ -4,8 +4,10 @@
all: build_exec_dbg
rebuild_all: rebuild_kerep rebuild_imgui rebuild_imgui_node_editor embed_fonts
# creates executable using profile info generated by profile
build_exec: rebuild_kerep rebuild_imgui profile
build_exec: rebuild_all profile
@cbuild/call_task.sh build_exec 2>&1 | tee -a make_raw.log
# creates executable with debug info and no optimizations
@@ -67,3 +69,11 @@ rebuild_kerep:
# recompile imgui.a in the next build task
rebuild_imgui:
@cbuild/call_task.sh rebuild_imgui
rebuild_imgui_node_editor:
@cbuild/call_task.sh rebuild_imgui_node_editor
# writes ttf fonts fron ./fonts/ to C compressed arrays in C source files
# builds static library from font arrays definitions
embed_fonts:
@cbuild/call_task.sh embed_fonts