struct AddCSourceFilesOptions [src]
Fields
root: ?LazyPath = nullWhen provided, files are relative to root rather than the
package that owns the Compile step.
files: []const []const u8
flags: []const []const u8 = &.{}
language: ?CSourceLanguage = nullBy default, determines language of each file individually based on its file extension
Source
pub const AddCSourceFilesOptions = struct {
/// When provided, `files` are relative to `root` rather than the
/// package that owns the `Compile` step.
root: ?LazyPath = null,
files: []const []const u8,
flags: []const []const u8 = &.{},
/// By default, determines language of each file individually based on its file extension
language: ?CSourceLanguage = null,
}