Build: add install commands to --verbose output
This commit is contained in:
@@ -203,6 +203,10 @@ pub fn build(b: *std.Build) !void {
|
||||
exe.pie = pie;
|
||||
exe.entitlements = entitlements;
|
||||
|
||||
const use_llvm = b.option(bool, "use-llvm", "Use the llvm backend");
|
||||
exe.use_llvm = use_llvm;
|
||||
exe.use_lld = use_llvm;
|
||||
|
||||
if (no_bin) {
|
||||
b.getInstallStep().dependOn(&exe.step);
|
||||
} else {
|
||||
@@ -214,10 +218,6 @@ pub fn build(b: *std.Build) !void {
|
||||
|
||||
test_step.dependOn(&exe.step);
|
||||
|
||||
const use_llvm = b.option(bool, "use-llvm", "Use the llvm backend");
|
||||
exe.use_llvm = use_llvm;
|
||||
exe.use_lld = use_llvm;
|
||||
|
||||
const exe_options = b.addOptions();
|
||||
exe.root_module.addOptions("build_options", exe_options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user