mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
This interface is like `addOptionPath`, but does not assume that
the provided `LazyPath` represents a generated file, and does not
set up any further dependencies on whatever the path represents.
This supports use-cases like setting an `.install_prefix` -based
default directory path option for the application to use as a
fallback when the user does not provide an override. Example:
options.addOptionPathUntracked(
"DefaultConfigDir",
b.graph.path(
.install_prefix,
b.pathJoin(&.{ "etc", "myapp" }),
),
);
|
History
|
|
|---|---|---|
| .. | ||
| Cache | ||
| Step | ||
| abi.zig | ||
| Cache.zig | ||
| Configuration.zig | ||
| Module.zig | ||
| Serialize.zig | ||
| Step.zig | ||