aboutsummaryrefslogtreecommitdiffhomepage
path: root/project.janet
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2025-12-07 09:58:05 -0600
committerCalvin Rose <calsrose@gmail.com>2025-12-07 12:55:06 -0600
commit9d6dff7d933c5df448050757a28d74ee03128e22 (patch)
tree849365660f71d05f2c8bd61778daf98db1bcba85 /project.janet
parentAdd opengl example for cjanet (diff)
Integrate cjanet into build process and add gfx2d.janet
Begin adding simple drawing utilities to spork for visualization. This will provide some basic tools for image manipulation on the CPU for demos and graphing. TODO - make sure it works with JPM (legacy).
Diffstat (limited to 'project.janet')
-rw-r--r--project.janet5
1 files changed, 5 insertions, 0 deletions
diff --git a/project.janet b/project.janet
index b401307..1ffce2a 100644
--- a/project.janet
+++ b/project.janet
@@ -70,3 +70,8 @@
(declare-native
:name "spork/base64"
:source @["src/base64.c"])
+
+(declare-native
+ :name "spork/gfx2d"
+ :source @["src/gfx2d.janet"]
+ :cflags @[;default-cflags "-Ideps/stb"])