structstd.Build.Module.AddCSourceFilesOptions[src]

Fields

root: ?LazyPath = null

When 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 = null

By default, determines language of each file individually based on its file extension

Source Code

Source code
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,
}