mach/libs/basisu
Wrench[bot] 6561c24df5
all: update Zig to version 0.11.0-dev.1824+a7a709aaa (#709)
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-05 12:15:06 -07:00
..
.github all: update Zig to version 0.11.0-dev.1824+a7a709aaa (#709) 2023-03-05 12:15:06 -07:00
src all: fix issue with glfw vulkan createWindowSurface; update to new for loop syntax (#713) 2023-03-01 18:33:17 -07:00
test all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
upstream@d55a3f9f06 all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
.gitattributes all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
.gitignore all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
.gitmodules all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
build.zig basisu: update to latest Zig build API 2023-02-12 10:05:03 -07:00
LICENSE all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
LICENSE-APACHE all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
LICENSE-MIT all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
README.md officially deprecate Matrix chat in favor of Discord 2023-02-13 06:46:23 -07:00

mach/basisu - basis universal (supercompressed textures) for Zig

This repository is a separate copy of the same library in the main Mach repository, and is automatically kept in sync, so that anyone can use this library in their own project if they like!

Getting started

Adding dependency

In a libs subdirectory of the root of your project:

git clone https://github.com/hexops/mach-basisu

Then in your build.zig add:

...
const basisu = @import("libs/mach-basisu/build.zig");

pub fn build(b: *Build) void {
    ...
    exe.addModule("basisu", basisu.module(b));
    basisu.link(b, exe, .{});
}

Join the community

Join the Mach community on Discord to discuss this project, ask questions, get help, etc.

Issues

Issues are tracked in the main Mach repository.

Contributing

Contributions are very welcome. Pull requests must be sent to the main repository to avoid some complex merge conflicts we'd get by accepting contributions in both repositories. Once the changes are merged there, they'll get sync'd to this repository automatically.