Compare commits
3 commits
01a057939e
...
d53cf2063b
| Author | SHA1 | Date | |
|---|---|---|---|
| d53cf2063b | |||
| 738349ffe7 | |||
| a1009e4d3e |
4 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.zig-cache
|
||||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# zigsdof
|
||||||
|
|
||||||
|
6dof solver written in zig, hopefully for modeling my custom drones if I ever have time for it.
|
||||||
18
build.zig
Normal file
18
build.zig
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn build(b: *std.Build) void {
|
||||||
|
const target = b.standardTargetOptions(.{});
|
||||||
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
|
|
||||||
|
const test_step = b.step("test", "Run unit tests");
|
||||||
|
|
||||||
|
const unit_tests = b.addTest(.{
|
||||||
|
.root_module = b.createModule(.{
|
||||||
|
.root_source_file = b.path("./main.zig"),
|
||||||
|
.target = target,
|
||||||
|
.optimize = optimize,
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
const run_unit_tests = b.addRunArtifact(unit_tests);
|
||||||
|
test_step.dependOn(&run_unit_tests.step);
|
||||||
|
}
|
||||||
7
main.zig
Normal file
7
main.zig
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn main() !void {}
|
||||||
|
|
||||||
|
test "main" {
|
||||||
|
_ = @import("./vec3/src/vec3.zig");
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue