std.Build.Module.addAfterIncludePath
pub fn addAfterIncludePath(m: *Module, lazy_path: LazyPath) void
- Kind
- function
- Module
std.Build.Module
Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The entries of std.Build.Module in the Zig reference. This page has 42 cards.
pub fn addAfterIncludePath(m: *Module, lazy_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addAnonymousImport(m: *Module, name: []const u8, options: CreateOptions) void
Creates a new module and adds it to be used with `@import`.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addAssemblyFile(m: *Module, source: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addCMacro(m: *Module, name: []const u8, value: []const u8) void
Equvialent to the following C code, applied to all C source files owned by this `Module`: ```c #define name value ``` `name` and `value` need not live longer than the function call.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addConfigHeader(m: *Module, config_header: *Step.ConfigHeader) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addCSourceFile(m: *Module, source: CSourceFile) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addCSourceFiles(m: *Module, options: AddCSourceFilesOptions) void
Handy when you have many non-Zig source files and want them all to have the same flags.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addEmbedPath(m: *Module, lazy_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addFrameworkPath(m: *Module, directory_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addImport(m: *Module, name: []const u8, module: *Module) void
Adds an existing module to be used with `@import`.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addIncludePath(m: *Module, lazy_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addLibraryPath(m: *Module, directory_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addObject(m: *Module, object: *Step.Compile) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addObjectFile(m: *Module, object: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addOptions(m: *Module, module_name: []const u8, options: *Step.Options) void
Converts a set of key-value pairs into a Zig source file, and then inserts it into the Module's import table with the specified name.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addRPath(m: *Module, directory_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addRPathSpecial(m: *Module, bytes: []const u8) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addSystemFrameworkPath(m: *Module, directory_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn addSystemIncludePath(m: *Module, lazy_path: LazyPath) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn create(owner: *std.Build, options: CreateOptions) *Module
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Unspecified options here will be inherited from parent `Module` when inserted into an import table.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn dupe(file: CSourceFile, graph: *const std.Build.Graph) CSourceFile
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn clangIdentifier(self: CSourceLanguage) [:0]const u8
The value passed to "-x" CLI flag of Clang.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn getGraph(root: *Module) Graph
Given that `root` is the root `Module` of a compilation, return all `Module` in the module graph, including `root` itself. `root` is guaranteed to be the first module in the returned slice.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Elements of `modules` and `names` are matched one-to-one.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn init(m: *Module, owner: *std.Build, value: union(enum) { options: CreateOptions, existing: *const Module }) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn linkFramework(m: *Module, name: []const u8, options: LinkFrameworkOptions) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn linkLibrary(m: *Module, library: *Step.Compile) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn linkSystemLibrary(m: *Module, name: []const u8, options: LinkSystemLibraryOptions) void
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.Build.ModuleSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.