Function installFile [src]

dest_rel_path is relative to prefix path

Prototype

pub fn installFile(b: *Build, src_path: []const u8, dest_rel_path: []const u8) void

Parameters

b: *Buildsrc_path: []const u8dest_rel_path: []const u8

Source

pub fn installFile(b: *Build, src_path: []const u8, dest_rel_path: []const u8) void { b.getInstallStep().dependOn(&b.addInstallFileWithDir(b.path(src_path), .prefix, dest_rel_path).step); }