summaryrefslogtreecommitdiff
path: root/project.json
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-04-26 09:24:22 +0200
committerandromeda <andromeda@lenovo>2026-04-26 09:24:22 +0200
commiteb757fdef5a611e92cce10899dedb6bedc350371 (patch)
tree99f50feb4f916d764d021396f5b2089b1f4b427d /project.json
parentc101e6571135cfd963e3c3f9543e64c445af7fd8 (diff)
modularise
Diffstat (limited to 'project.json')
-rw-r--r--project.json33
1 files changed, 19 insertions, 14 deletions
diff --git a/project.json b/project.json
index b735bad..9a3f712 100644
--- a/project.json
+++ b/project.json
@@ -1,28 +1,33 @@
{
"langrev": "1",
"warnings": [ "no-unused" ],
- "authors": [ "Andromeda-fp" ],
+ "authors": [ "andromeda" ],
"version": "0.1.0",
- "sources": [ "**" ],
- "linked-libraries": [ "wayland-client", "xkbcommon", "wayland-cursor", "wayland-egl", "m", "GL"],
- "c-sources": [ "**" ],
- "c-include-dirs": [ "include" ],
"build-dir": "build",
"output": "build",
- "features": [
- // rgfw
- // "OPENGL",
-
- // rsgl
- // "RFONT",
- // "HIGHLEVEL",
- // "OPENGL",
- ],
"targets": {
"c3term-linux-x64": {
"name": "c3term",
"type": "executable",
"target": "linux-x64",
+ "sources": [ "main.c3" ],
+ "dependency-search-paths": [ "lib" ],
+ "c-sources": [
+ "shim.c",
+ "wl", // wayland-generated code
+ ],
+ "c-include-dirs": [
+ "lib/rfont.c3l/include",
+ "lib/rgfw.c3l/include",
+ "lib/rsgl.c3l/include",
+ "include",
+ "wl", // wayland-generated headers
+ ],
+ "dependencies": [
+ "rgfw",
+ "rsgl",
+ "rfont",
+ ],
"features": [
"OPENGL",
"RFONT",