zig/lib/std/Build
David Vanderson b04e48566c std.build: support for generated c headers
Add ability to generate a c header file from scratch, and then both
compile with it and install it if needed.

Example:
```zig
    const avconfig_h = b.addConfigHeader(.{ .path = "libavutil/avconfig.h" }, .generated, .{
        .AV_HAVE_BIGENDIAN = 0, // TODO: detect based on target
        .AV_HAVE_FAST_UNALIGNED = 1, // TODO: detect based on target
    });

    lib.addConfigHeader(avconfig_h);

    lib.installConfigHeader(avconfig_h);
```
2023-02-05 06:26:30 -07:00
..
CheckFileStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
CheckObjectStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
CompileStep.zig std.build: support for generated c headers 2023-02-05 06:26:30 -07:00
ConfigHeaderStep.zig std.build: support for generated c headers 2023-02-05 06:26:30 -07:00
EmulatableRunStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
FmtStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
InstallArtifactStep.zig remove reference to removed addTestExe 2023-02-01 22:52:32 -05:00
InstallDirStep.zig combine std.build and std.build.Builder into std.Build 2023-01-31 15:09:35 -07:00
InstallFileStep.zig combine std.build and std.build.Builder into std.Build 2023-01-31 15:09:35 -07:00
InstallRawStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
LogStep.zig combine std.build and std.build.Builder into std.Build 2023-01-31 15:09:35 -07:00
OptionsStep.zig std.Build: support exposing and depending on zig modules 2023-02-04 01:55:39 -05:00
RemoveDirStep.zig combine std.build and std.build.Builder into std.Build 2023-01-31 15:09:35 -07:00
RunStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
Step.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
TranslateCStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00
WriteFileStep.zig std.Build: avoid use of catch unreachable 2023-01-31 15:09:35 -07:00