Xavier Bouchoux
2da28d93de
build/ObjCopy: strip debug info to a separate elf file.
example usage:
if (!strip) {
b.installArtifact(exe);
} else {
const stripped_exe = b.addObjCopy(exe.getEmittedBin(), .{
.basename = exe.out_filename, // set the name for the debuglink
.compress_debug = true,
.strip = .debug_and_symbols,
.extract_to_separate_file = true,
});
b.getInstallStep().dependOn(&b.addInstallBinFile(stripped_exe.getOutput(), exe.out_filename).step);
b.getInstallStep().dependOn(&b.addInstallBinFile(stripped_exe.getOutputSeparatedDebug().?, b.fmt("{s}.debug", .{exe.out_filename})).step);
}
2023-08-12 09:54:35 +02:00
..
2023-07-31 03:49:21 -04:00
2023-08-06 18:12:05 +02:00
2023-03-18 16:01:09 -07:00
2023-05-03 20:55:29 -07:00
2023-04-10 18:35:14 -07:00
2023-06-20 12:55:38 -04:00
2023-04-05 23:22:29 -07:00
2023-01-26 16:36:13 -07:00
2023-01-26 16:36:14 -07:00
2023-08-12 09:54:35 +02:00
2021-08-16 23:32:13 -07:00
2023-07-30 11:19:32 -07:00
2023-07-31 03:49:21 -04:00
2023-06-19 12:34:42 -07:00
2023-06-24 16:56:39 -07:00
2023-07-25 10:57:45 -07:00
2023-07-31 01:58:10 -04:00