Function addFileArg [src]
Appends an input file to the command line arguments.
The child process will see a file path. Modifications to this file will be
detected as a cache miss in subsequent builds, causing the child process to
be re-executed.
Related:
addPrefixedFileArg - same thing but prepends a string to the argument
addOutputFileArg - for files generated by the child process
Prototype
pub fn addFileArg(run: *Run, lp: std.Build.LazyPath) void
Parameters
run: *Run
lp: std.Build.LazyPath
Source
pub fn addFileArg(run: *Run, lp: std.Build.LazyPath) void {
run.addPrefixedFileArg("", lp);
}