WIP: Reading from serial port
This commit is contained in:
parent
917c881da8
commit
f1f3260373
4 changed files with 59 additions and 5 deletions
|
|
@ -5,11 +5,13 @@ pub fn build(b: *std.Build) void {
|
|||
const optimize = b.standardOptimizeOption(.{});
|
||||
|
||||
const win32_dep = b.dependency("zigwin32", .{});
|
||||
const serial_dep = b.dependency("serial", .{});
|
||||
const mod = b.addModule("win_telegraph", .{
|
||||
.root_source_file = b.path("src/root.zig"),
|
||||
.target = target,
|
||||
.imports = &.{
|
||||
.{ .name = "win32", .module = win32_dep.module("win32") },
|
||||
.{ .name = "serial", .module = serial_dep.module("serial") },
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue