X11 library (WIP)
This commit is contained in:
@@ -1,10 +1,23 @@
|
|||||||
{
|
{
|
||||||
"folders": [
|
"folders": [
|
||||||
{ "path": "packages/js" },
|
{
|
||||||
{ "path": "packages/media" },
|
"path": "packages/js"
|
||||||
{ "path": "packages/myid" },
|
},
|
||||||
{ "path": "packages/sciter" },
|
{
|
||||||
{ "path": "packages/vecmath" },
|
"path": "packages/media"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "packages/myid"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "packages/sciter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "packages/vecmath"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "packages/x11"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
|
|||||||
9
packages/x11/build.zig
Normal file
9
packages/x11/build.zig
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn build(b: *std.Build) void {
|
||||||
|
const mod = b.addModule("x11", .{
|
||||||
|
.root_source_file = b.path("src/root.zig"),
|
||||||
|
});
|
||||||
|
|
||||||
|
mod.linkSystemLibrary("X11", .{});
|
||||||
|
}
|
||||||
11
packages/x11/build.zig.zon
Normal file
11
packages/x11/build.zig.zon
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
.{
|
||||||
|
.name = .x11,
|
||||||
|
.version = "0.0.0",
|
||||||
|
.minimum_zig_version = "0.15.2",
|
||||||
|
.paths = .{
|
||||||
|
"src",
|
||||||
|
"build.zig",
|
||||||
|
"build.zig.zon",
|
||||||
|
},
|
||||||
|
.fingerprint = 0x3220e772d0ef0e80,
|
||||||
|
}
|
||||||
2842
packages/x11/src/root.zig
Normal file
2842
packages/x11/src/root.zig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user