Marks the specified header for installation alongside this artifact. When a module links with this artifact, all headers marked for installation are added to that module's include search path.
pub fn installHeader(cs: *Compile, source: LazyPath, dest_rel_path: []const u8) void
pub fn installHeader(cs: *Compile, source: LazyPath, dest_rel_path: []const u8) void {
const graph = cs.step.owner.graph;
const arena = graph.arena;
const installation: HeaderInstallation = .{ .file = .{
.source = source.dupe(graph),
.dest_rel_path = graph.dupePath(dest_rel_path),
} };
cs.installed_headers.append(arena, installation) catch @panic("OOM");
cs.addHeaderInstallationToIncludeTree(installation);
installation.getSource().addStepDependencies(&cs.step);
}