We can now build both the CLI and GUI binaries!

This commit is contained in:
David Given
2023-10-22 21:20:47 +02:00
parent 986be921f4
commit a24fe420c4
16 changed files with 256 additions and 13 deletions

14
extras/build.py Normal file
View File

@@ -0,0 +1,14 @@
from build.utils import objectify
from build.c import clibrary
icons = ["fluxfile", "hardware", "icon", "imagefile"]
clibrary(
name="icons",
hdrs={
f"icons/{n}.h": objectify(
name=n + "_h", src=f"./{n}.png", symbol=f"icon_{n}_png"
)
for n in icons
},
)