aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorRuslan Prokopchuk <fer.obbee@gmail.com>2019-04-04 09:21:55 +1100
committerAndrew Kelley <andrew@ziglang.org>2019-04-03 18:31:25 -0400
commit70ae3222b54c05fc88e9c94a1ae12ead07fa4341 (patch)
tree63ef60e5b3e65485544e0a6536d0baa157059be3 /src/codegen.cpp
parent4795f161e689ef6bea563278c6a93c9ad2610ab7 (diff)
downloadzig-70ae3222b54c05fc88e9c94a1ae12ead07fa4341.tar.gz
zig-70ae3222b54c05fc88e9c94a1ae12ead07fa4341.zip
handle LibExeObjStep.disable_gen_h
It is sometimes useful to skip generating of the header file (e.g. https://github.com/ziglang/zig/issues/2173), and zig compiler provides an option `--disable-gen-h` to control that behaviour. However, setting `lib.disable_gen_h = true` in a typical `build.zig` didn't append the option to arguments. This commit fixes it and adds a convenient `setDisableGenH` setter.
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions