0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/Build
Brandon Black 5ede6a167e Build.Step.Options: addOptionPathUntracked
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 2026-09-18 04:31:03 +02:00
..
Cache std.Build.Cache.DepTokenizer: slightly modernize 2026-09-16 13:12:47 -07:00
Step Build.Step.Options: addOptionPathUntracked 2026-09-18 04:31:03 +02:00
abi.zig zig fmt 2026-07-17 23:30:26 +02:00
Cache.zig std.Build.Cache: fix flagsAndPath implementation 2026-09-16 16:05:26 -07:00
Configuration.zig Build.Step.Options: addOptionPathUntracked 2026-09-18 04:31:03 +02:00
Module.zig compiler: add support for patchable functions 2026-09-16 19:21:21 +02:00
Serialize.zig Build.Step.Options: addOptionPathUntracked 2026-09-18 04:31:03 +02:00
Step.zig Fix build script compilation when usize is u32 2026-05-26 09:43:39 -07:00