diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-19 13:25:16 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-19 13:25:16 +0200 |
| commit | 0904dc53467d9e94cdce050c493e9377da8ebfcc (patch) | |
| tree | 393073533252d7c3ef92332ecb87aa6d9835ff41 /build.zig | |
| parent | 82d74d938c0e54bd62dd4d525b312a0cd048608a (diff) | |
| download | river-0904dc53467d9e94cdce050c493e9377da8ebfcc.tar.gz river-0904dc53467d9e94cdce050c493e9377da8ebfcc.tar.xz | |
Create WindowManagement struct
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -45,6 +45,7 @@ pub fn build(b: *std.build.Builder) !void { fn addDeps(exe: *std.build.LibExeObjStep, protocol_step: *std.build.Step) void { exe.step.dependOn(protocol_step); exe.addIncludeDir("protocol"); + exe.addCSourceFile("protocol/river-window-management-unstable-v1-protocol.c", &[_][]const u8{"-std=c99"}); exe.addCSourceFile("include/bindings.c", &[_][]const u8{"-std=c99"}); exe.addIncludeDir("."); @@ -83,6 +84,7 @@ const ScanProtocolsStep = struct { const protocol_dir_paths = [_][]const []const u8{ &[_][]const u8{ protocol_dir, "stable/xdg-shell/xdg-shell.xml" }, &[_][]const u8{ "protocol", "wlr-layer-shell-unstable-v1.xml" }, + &[_][]const u8{ "protocol", "river-window-management-unstable-v1.xml" }, }; for (protocol_dir_paths) |dir_path| { |
