| ... | @@ -30,7 +30,7 @@ pub fn execute(args: [][]u8) !void { | ... | @@ -30,7 +30,7 @@ pub fn execute(args: [][]u8) !void { |
| 30 | \\ for (packages) |pkg| { | 30 | \\ for (packages) |pkg| { |
| 31 | \\ exe.addPackage(pkg); | 31 | \\ exe.addPackage(pkg); |
| 32 | \\ } | 32 | \\ } |
| 33 | \\ for (c_inlude_dirs) |dir| { | 33 | \\ for (c_include_dirs) |dir| { |
| 34 | \\ exe.addIncludeDir(dir); | 34 | \\ exe.addIncludeDir(dir); |
| 35 | \\ } | 35 | \\ } |
| 36 | \\ for (c_source_files) |fpath| { | 36 | \\ for (c_source_files) |fpath| { |
| ... | @@ -43,7 +43,7 @@ pub fn execute(args: [][]u8) !void { | ... | @@ -43,7 +43,7 @@ pub fn execute(args: [][]u8) !void { |
| 43 | try print_deps(w, dir, top_module, 0); | 43 | try print_deps(w, dir, top_module, 0); |
| 44 | try w.print(";\n", .{}); | 44 | try w.print(";\n", .{}); |
| 45 | try w.print("\n", .{}); | 45 | try w.print("\n", .{}); |
| 46 | try w.print("{}\n", .{"pub const c_inlude_dirs = &[_][]const u8{"}); | 46 | try w.print("{}\n", .{"pub const c_include_dirs = &[_][]const u8{"}); |
| 47 | try print_incl_dirs_to(w, top_module); | 47 | try print_incl_dirs_to(w, top_module); |
| 48 | try w.print("{};\n", .{"}"}); | 48 | try w.print("{};\n", .{"}"}); |
| 49 | try w.print("\n", .{}); | 49 | try w.print("\n", .{}); |