Function addOutputFileArg [src]

Provides a file path as a command line argument to the command being run. Returns a std.Build.LazyPath which can be used as inputs to other APIs throughout the build system. Related: addPrefixedOutputFileArg - same thing but prepends a string to the argument addFileArg - for input files given to the child process

Prototype

pub fn addOutputFileArg(run: *Run, basename: []const u8) std.Build.LazyPath

Parameters

run: *Runbasename: []const u8

Source

pub fn addOutputFileArg(run: *Run, basename: []const u8) std.Build.LazyPath { return run.addPrefixedOutputFileArg("", basename); }