# Merge pull request \#14498 from ziglang/zig-build-api · gitcafe/zig

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

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

Visibility: public

Requested revision: efa25e7d5bca63e83f6a653058c05dacc771d19e

Requested commit: efa25e7d5bca63e83f6a653058c05dacc771d19e

Commit: efa25e7d5bca63e83f6a653058c05dacc771d19e

Tree: 56b34421822584702b1647ab0eb38aec160386b4

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #14498 from ziglang/zig-build-api

Several enhancements to the build system. Many breaking changes to the API.

 * combine `std.build` and `std.build.Builder` into `std.Build`
 * eliminate `setTarget` and `setBuildMode`; use an options struct for `b.addExecutable` and friends
 * implement passing options to dependency packages. closes #14285
 * rename `LibExeObjStep` to `CompileStep`
 * move src.type.CType to std lib, use it from std.Build, this helps with populating config.h files.
```

## Parents

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

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

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