# handle LibExeObjStep.disable_gen_h · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/70ae3222b54c05fc88e9c94a1ae12ead07fa4341)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 70ae3222b54c05fc88e9c94a1ae12ead07fa4341

Requested commit: 70ae3222b54c05fc88e9c94a1ae12ead07fa4341

Commit: 70ae3222b54c05fc88e9c94a1ae12ead07fa4341

Tree: 63ef60e5b3e65485544e0a6536d0baa157059be3

Author: Ruslan Prokopchuk

Committer: Andrew Kelley

## Message

```
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.
```

## Parents

- [4795f161e689ef6bea563278c6a93c9ad2610ab7](https://git.cafe/gitcafe/zig/commit/4795f161e689ef6bea563278c6a93c9ad2610ab7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/70ae3222b54c05fc88e9c94a1ae12ead07fa4341?format=markdown)
