add dropped files example (#260)
* add dropped files example * reformat build.zig
This commit is contained in:
parent
14f49a38dd
commit
e8167c2e56
2 changed files with 108 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ fn getRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.buil
|
|||
.linux_display_backend = options.linux_display_backend,
|
||||
.opengl_version = options.opengl_version,
|
||||
.android_api_version = options.android_api_version,
|
||||
.android_ndk = options.android_ndk
|
||||
.android_ndk = options.android_ndk,
|
||||
});
|
||||
|
||||
const raylib = raylib_dep.artifact("raylib");
|
||||
|
|
@ -164,6 +164,11 @@ pub fn build(b: *std.Build) !void {
|
|||
.path = "examples/core/3d_picking.zig",
|
||||
.desc = "Shows picking in 3d mode",
|
||||
},
|
||||
.{
|
||||
.name = "drop_files",
|
||||
.path = "examples/core/drop_files.zig",
|
||||
.desc = "Demonstrates how to implement a drop files functionality",
|
||||
},
|
||||
.{
|
||||
.name = "window_flags",
|
||||
.path = "examples/core/window_flags.zig",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue