summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig32
1 files changed, 16 insertions, 16 deletions
diff --git a/build.zig b/build.zig
index f178016..4c4a35a 100644
--- a/build.zig
+++ b/build.zig
@@ -9,7 +9,7 @@ pub fn build(b: *std.Build) void {
9 const gbp_gen_exe = b.addExecutable(.{ 9 const gbp_gen_exe = b.addExecutable(.{
10 .name = "gbp", 10 .name = "gbp",
11 .root_source_file = b.path("codegen/gbp.zig"), 11 .root_source_file = b.path("codegen/gbp.zig"),
12 .target = b.host, 12 .target = b.graph.host,
13 .optimize = .Debug, 13 .optimize = .Debug,
14 }); 14 });
15 const run_gbp_gen_exe = b.addRunArtifact(gbp_gen_exe); 15 const run_gbp_gen_exe = b.addRunArtifact(gbp_gen_exe);
@@ -23,7 +23,7 @@ pub fn build(b: *std.Build) void {
23 const dwp_gen_exe = b.addExecutable(.{ 23 const dwp_gen_exe = b.addExecutable(.{
24 .name = "dwp", 24 .name = "dwp",
25 .root_source_file = b.path("codegen/dwp.zig"), 25 .root_source_file = b.path("codegen/dwp.zig"),
26 .target = b.host, 26 .target = b.graph.host,
27 .optimize = .Debug, 27 .optimize = .Debug,
28 }); 28 });
29 dwp_gen_exe.root_module.addOptions("options", options); 29 dwp_gen_exe.root_module.addOptions("options", options);
@@ -34,7 +34,7 @@ pub fn build(b: *std.Build) void {
34 const canon_gen_exe = b.addExecutable(.{ 34 const canon_gen_exe = b.addExecutable(.{
35 .name = "canon", 35 .name = "canon",
36 .root_source_file = b.path("codegen/canon.zig"), 36 .root_source_file = b.path("codegen/canon.zig"),
37 .target = b.host, 37 .target = b.graph.host,
38 .optimize = .Debug, 38 .optimize = .Debug,
39 }); 39 });
40 const run_canon_gen_exe = b.addRunArtifact(canon_gen_exe); 40 const run_canon_gen_exe = b.addRunArtifact(canon_gen_exe);
@@ -43,7 +43,7 @@ pub fn build(b: *std.Build) void {
43 const compat_gen_exe = b.addExecutable(.{ 43 const compat_gen_exe = b.addExecutable(.{
44 .name = "compat", 44 .name = "compat",
45 .root_source_file = b.path("codegen/compat.zig"), 45 .root_source_file = b.path("codegen/compat.zig"),
46 .target = b.host, 46 .target = b.graph.host,
47 .optimize = .Debug, 47 .optimize = .Debug,
48 }); 48 });
49 const run_compat_gen_exe = b.addRunArtifact(compat_gen_exe); 49 const run_compat_gen_exe = b.addRunArtifact(compat_gen_exe);
@@ -52,7 +52,7 @@ pub fn build(b: *std.Build) void {
52 const hangul_gen_exe = b.addExecutable(.{ 52 const hangul_gen_exe = b.addExecutable(.{
53 .name = "hangul", 53 .name = "hangul",
54 .root_source_file = b.path("codegen/hangul.zig"), 54 .root_source_file = b.path("codegen/hangul.zig"),
55 .target = b.host, 55 .target = b.graph.host,
56 .optimize = .Debug, 56 .optimize = .Debug,
57 }); 57 });
58 const run_hangul_gen_exe = b.addRunArtifact(hangul_gen_exe); 58 const run_hangul_gen_exe = b.addRunArtifact(hangul_gen_exe);
@@ -61,7 +61,7 @@ pub fn build(b: *std.Build) void {
61 const normp_gen_exe = b.addExecutable(.{ 61 const normp_gen_exe = b.addExecutable(.{
62 .name = "normp", 62 .name = "normp",
63 .root_source_file = b.path("codegen/normp.zig"), 63 .root_source_file = b.path("codegen/normp.zig"),
64 .target = b.host, 64 .target = b.graph.host,
65 .optimize = .Debug, 65 .optimize = .Debug,
66 }); 66 });
67 const run_normp_gen_exe = b.addRunArtifact(normp_gen_exe); 67 const run_normp_gen_exe = b.addRunArtifact(normp_gen_exe);
@@ -70,7 +70,7 @@ pub fn build(b: *std.Build) void {
70 const ccc_gen_exe = b.addExecutable(.{ 70 const ccc_gen_exe = b.addExecutable(.{
71 .name = "ccc", 71 .name = "ccc",
72 .root_source_file = b.path("codegen/ccc.zig"), 72 .root_source_file = b.path("codegen/ccc.zig"),
73 .target = b.host, 73 .target = b.graph.host,
74 .optimize = .Debug, 74 .optimize = .Debug,
75 }); 75 });
76 const run_ccc_gen_exe = b.addRunArtifact(ccc_gen_exe); 76 const run_ccc_gen_exe = b.addRunArtifact(ccc_gen_exe);
@@ -79,7 +79,7 @@ pub fn build(b: *std.Build) void {
79 const gencat_gen_exe = b.addExecutable(.{ 79 const gencat_gen_exe = b.addExecutable(.{
80 .name = "gencat", 80 .name = "gencat",
81 .root_source_file = b.path("codegen/gencat.zig"), 81 .root_source_file = b.path("codegen/gencat.zig"),
82 .target = b.host, 82 .target = b.graph.host,
83 .optimize = .Debug, 83 .optimize = .Debug,
84 }); 84 });
85 const run_gencat_gen_exe = b.addRunArtifact(gencat_gen_exe); 85 const run_gencat_gen_exe = b.addRunArtifact(gencat_gen_exe);
@@ -88,7 +88,7 @@ pub fn build(b: *std.Build) void {
88 const fold_gen_exe = b.addExecutable(.{ 88 const fold_gen_exe = b.addExecutable(.{
89 .name = "fold", 89 .name = "fold",
90 .root_source_file = b.path("codegen/fold.zig"), 90 .root_source_file = b.path("codegen/fold.zig"),
91 .target = b.host, 91 .target = b.graph.host,
92 .optimize = .Debug, 92 .optimize = .Debug,
93 }); 93 });
94 const run_fold_gen_exe = b.addRunArtifact(fold_gen_exe); 94 const run_fold_gen_exe = b.addRunArtifact(fold_gen_exe);
@@ -98,7 +98,7 @@ pub fn build(b: *std.Build) void {
98 const num_gen_exe = b.addExecutable(.{ 98 const num_gen_exe = b.addExecutable(.{
99 .name = "numeric", 99 .name = "numeric",
100 .root_source_file = b.path("codegen/numeric.zig"), 100 .root_source_file = b.path("codegen/numeric.zig"),
101 .target = b.host, 101 .target = b.graph.host,
102 .optimize = .Debug, 102 .optimize = .Debug,
103 }); 103 });
104 const run_num_gen_exe = b.addRunArtifact(num_gen_exe); 104 const run_num_gen_exe = b.addRunArtifact(num_gen_exe);
@@ -108,7 +108,7 @@ pub fn build(b: *std.Build) void {
108 const case_prop_gen_exe = b.addExecutable(.{ 108 const case_prop_gen_exe = b.addExecutable(.{
109 .name = "case_prop", 109 .name = "case_prop",
110 .root_source_file = b.path("codegen/case_prop.zig"), 110 .root_source_file = b.path("codegen/case_prop.zig"),
111 .target = b.host, 111 .target = b.graph.host,
112 .optimize = .Debug, 112 .optimize = .Debug,
113 }); 113 });
114 const run_case_prop_gen_exe = b.addRunArtifact(case_prop_gen_exe); 114 const run_case_prop_gen_exe = b.addRunArtifact(case_prop_gen_exe);
@@ -118,7 +118,7 @@ pub fn build(b: *std.Build) void {
118 const upper_gen_exe = b.addExecutable(.{ 118 const upper_gen_exe = b.addExecutable(.{
119 .name = "upper", 119 .name = "upper",
120 .root_source_file = b.path("codegen/upper.zig"), 120 .root_source_file = b.path("codegen/upper.zig"),
121 .target = b.host, 121 .target = b.graph.host,
122 .optimize = .Debug, 122 .optimize = .Debug,
123 }); 123 });
124 const run_upper_gen_exe = b.addRunArtifact(upper_gen_exe); 124 const run_upper_gen_exe = b.addRunArtifact(upper_gen_exe);
@@ -128,7 +128,7 @@ pub fn build(b: *std.Build) void {
128 const lower_gen_exe = b.addExecutable(.{ 128 const lower_gen_exe = b.addExecutable(.{
129 .name = "lower", 129 .name = "lower",
130 .root_source_file = b.path("codegen/lower.zig"), 130 .root_source_file = b.path("codegen/lower.zig"),
131 .target = b.host, 131 .target = b.graph.host,
132 .optimize = .Debug, 132 .optimize = .Debug,
133 }); 133 });
134 const run_lower_gen_exe = b.addRunArtifact(lower_gen_exe); 134 const run_lower_gen_exe = b.addRunArtifact(lower_gen_exe);
@@ -137,7 +137,7 @@ pub fn build(b: *std.Build) void {
137 const scripts_gen_exe = b.addExecutable(.{ 137 const scripts_gen_exe = b.addExecutable(.{
138 .name = "scripts", 138 .name = "scripts",
139 .root_source_file = b.path("codegen/scripts.zig"), 139 .root_source_file = b.path("codegen/scripts.zig"),
140 .target = b.host, 140 .target = b.graph.host,
141 .optimize = .Debug, 141 .optimize = .Debug,
142 }); 142 });
143 const run_scripts_gen_exe = b.addRunArtifact(scripts_gen_exe); 143 const run_scripts_gen_exe = b.addRunArtifact(scripts_gen_exe);
@@ -146,7 +146,7 @@ pub fn build(b: *std.Build) void {
146 const core_gen_exe = b.addExecutable(.{ 146 const core_gen_exe = b.addExecutable(.{
147 .name = "core", 147 .name = "core",
148 .root_source_file = b.path("codegen/core_props.zig"), 148 .root_source_file = b.path("codegen/core_props.zig"),
149 .target = b.host, 149 .target = b.graph.host,
150 .optimize = .Debug, 150 .optimize = .Debug,
151 }); 151 });
152 const run_core_gen_exe = b.addRunArtifact(core_gen_exe); 152 const run_core_gen_exe = b.addRunArtifact(core_gen_exe);
@@ -155,7 +155,7 @@ pub fn build(b: *std.Build) void {
155 const props_gen_exe = b.addExecutable(.{ 155 const props_gen_exe = b.addExecutable(.{
156 .name = "props", 156 .name = "props",
157 .root_source_file = b.path("codegen/props.zig"), 157 .root_source_file = b.path("codegen/props.zig"),
158 .target = b.host, 158 .target = b.graph.host,
159 .optimize = .Debug, 159 .optimize = .Debug,
160 }); 160 });
161 const run_props_gen_exe = b.addRunArtifact(props_gen_exe); 161 const run_props_gen_exe = b.addRunArtifact(props_gen_exe);