Add bindings
This commit is contained in:
commit
abd32b7cc8
9 changed files with 1626 additions and 0 deletions
23
build.zig
Normal file
23
build.zig
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
//
|
||||
// build
|
||||
// Zig version: 0.5.0
|
||||
// Author: Nikolas Wipper
|
||||
// Date: 2020-02-15
|
||||
//
|
||||
|
||||
const Builder = @import("std").build.Builder;
|
||||
|
||||
pub fn build(b: *Builder) void
|
||||
{
|
||||
const mode = b.standardReleaseOptions();
|
||||
const lib = b.addStaticLibrary("Rayzig", "lib/rayzig.zig");
|
||||
lib.setBuildMode(mode);
|
||||
lib.linkSystemLibrary("raylib");
|
||||
lib.install();
|
||||
|
||||
var basicWindow = b.addExecutable("BasicWindow", "examples/core/BasicWindow.zig");
|
||||
basicWindow.setBuildMode(mode);
|
||||
|
||||
const example_step = b.step("basicWindow", "Creates a basic window and text");
|
||||
example_step.dependOn(&basicWindow.step);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue