@@ -176,33 +176,33 @@ pub fn build(b: *std.Build) !void {
176
176
// Main library and module
177
177
//
178
178
179
- const sqlite_lib , const sqlite_mod = blk : {
180
- const lib = makeSQLiteLib (b , sqlite_dep , c_flags , target , optimize , .with );
181
-
182
- const mod = b .addModule ("sqlite" , .{
183
- .root_source_file = b .path ("sqlite.zig" ),
184
- .link_libc = true ,
185
- });
186
- mod .addIncludePath (b .path ("c" ));
187
- mod .addIncludePath (sqlite_dep .path ("." ));
188
- mod .linkLibrary (lib );
189
-
190
- break :blk .{ lib , mod };
191
- };
192
- b .installArtifact (sqlite_lib );
193
-
194
- const sqliteext_mod = blk : {
195
- const lib = makeSQLiteLib (b , sqlite_dep , c_flags , target , optimize , .without );
196
-
197
- const mod = b .addModule ("sqliteext" , .{
198
- .root_source_file = b .path ("sqlite.zig" ),
199
- .link_libc = true ,
200
- });
201
- mod .addIncludePath (b .path ("c" ));
202
- mod .linkLibrary (lib );
203
-
204
- break :blk mod ;
205
- };
179
+ //\ const sqlite_lib, const sqlite_mod = blk: {
180
+ //\ const lib = makeSQLiteLib(b, sqlite_dep, c_flags, target, optimize, .with);
181
+ //\
182
+ //\ const mod = b.addModule("sqlite", .{
183
+ //\ .root_source_file = b.path("sqlite.zig"),
184
+ //\ .link_libc = true,
185
+ //\ });
186
+ //\ mod.addIncludePath(b.path("c"));
187
+ //\ mod.addIncludePath(sqlite_dep.path("."));
188
+ //\ mod.linkLibrary(lib);
189
+ //\
190
+ //\ break :blk .{ lib, mod };
191
+ //\ };
192
+ //\ b.installArtifact(sqlite_lib);
193
+ //\
194
+ //\ const sqliteext_mod = blk: {
195
+ //\ const lib = makeSQLiteLib(b, sqlite_dep, c_flags, target, optimize, .without);
196
+ //\
197
+ //\ const mod = b.addModule("sqliteext", .{
198
+ //\ .root_source_file = b.path("sqlite.zig"),
199
+ //\ .link_libc = true,
200
+ //\ });
201
+ //\ mod.addIncludePath(b.path("c"));
202
+ //\ mod.linkLibrary(lib);
203
+ //\
204
+ //\ break :blk mod;
205
+ //\ };
206
206
207
207
//
208
208
// Tests
@@ -256,12 +256,12 @@ pub fn build(b: *std.Build) !void {
256
256
257
257
// This builds an example shared library with the extension and a binary that tests it.
258
258
259
- const zigcrypto_install_artifact = addZigcrypto (b , sqliteext_mod , target , optimize );
260
- test_step .dependOn (& zigcrypto_install_artifact .step );
261
-
262
- const zigcrypto_test_run = addZigcryptoTestRun (b , sqlite_mod , target , optimize );
263
- zigcrypto_test_run .step .dependOn (& zigcrypto_install_artifact .step );
264
- test_step .dependOn (& zigcrypto_test_run .step );
259
+ //\ const zigcrypto_install_artifact = addZigcrypto(b, sqliteext_mod, target, optimize);
260
+ //\ test_step.dependOn(&zigcrypto_install_artifact.step);
261
+ //\
262
+ //\ const zigcrypto_test_run = addZigcryptoTestRun(b, sqlite_mod, target, optimize);
263
+ //\ zigcrypto_test_run.step.dependOn(&zigcrypto_install_artifact.step);
264
+ //\ test_step.dependOn(&zigcrypto_test_run.step);
265
265
266
266
//
267
267
// Tools
0 commit comments