build: correct .mach only build option (i.e. do not build examples/libs)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ca08255ec2
commit
2c77c16356
1 changed files with 3 additions and 3 deletions
|
|
@ -59,9 +59,9 @@ pub fn build(b: *std.Build) !void {
|
|||
const want_examples = build_all or (build_examples orelse false);
|
||||
const want_libs = build_all or (build_libs orelse false);
|
||||
const want_mach = build_all or (build_mach orelse false);
|
||||
const want_core = build_all or (build_core orelse false);
|
||||
const want_sysaudio = build_all or (build_sysaudio orelse false);
|
||||
const want_sysgpu = build_all or want_core or (build_sysgpu orelse false);
|
||||
const want_core = build_all or want_mach or (build_core orelse false);
|
||||
const want_sysaudio = build_all or want_mach or (build_sysaudio orelse false);
|
||||
const want_sysgpu = build_all or want_mach or want_core or (build_sysgpu orelse false);
|
||||
|
||||
const build_options = b.addOptions();
|
||||
build_options.addOption(bool, "want_mach", want_mach);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue