Function addOutputDirectoryArg [src]
Provides a directory 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:
addPrefixedOutputDirectoryArg - same thing but prepends a string to the argument
addDirectoryArg - for input directories given to the child process
Prototype
pub fn addOutputDirectoryArg(run: *Run, basename: []const u8) std.Build.LazyPath
Parameters
run: *Run
basename: []const u8
Source
pub fn addOutputDirectoryArg(run: *Run, basename: []const u8) std.Build.LazyPath {
return run.addPrefixedOutputDirectoryArg("", basename);
}