···11-# zmath v0.9.6 - SIMD math library for game developers
11+# zmath v0.10.0 - SIMD math library for game developers
2233Tested on x86_64 and AArch64.
44···14141515## Getting started
16161717-Copy `zmath` folder to a `libs` subdirectory of the root of your project and add the following to your `build.zig.zon` .dependencies:
1717+Copy `zmath` into a subdirectory of your project and add the following to your `build.zig.zon` .dependencies:
1818```zig
1919 .zmath = .{ .path = "libs/zmath" },
2020```
···2222Then in your `build.zig` add:
23232424```zig
2525-const std = @import("std");
2626-const zmath = @import("zmath");
2727-2825pub fn build(b: *std.Build) void {
2929- ...
3030- const optimize = b.standardOptimizeOption(.{});
3131- const target = b.standardTargetOptions(.{});
2626+ const exe = b.addExecutable(.{ ... });
32273333- const zmath_pkg = zmath.package(b, target, optimize, .{
3434- .options = .{ .enable_cross_platform_determinism = true },
3535- });
3636-3737- zmath_pkg.link(exe);
2828+ const zmath = b.dependency("zmath", .{});
2929+ exe.root_module.addImport("zmath", zmath.module("root"));
3830}
3931```
4032