Skip to content

Build system has no way to handle generated header files #10089

@silversquirl

Description

@silversquirl

Some software written in C generates header files at build time (eg. to embed a file using xxd -i). To be able to build this software properly, the Zig build system needs to handle this.

It's possible to hardcode a path and always put the generated file in the same place, but ideally FileSource could be used (though FileSource isn't really meant for generated directories, so maybe just something similar).

Metadata

Metadata

Assignees

No one assigned

    Labels

    zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions