# build system: consolidate duplicate code and more · gitcafe/zig

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

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

Visibility: public

Requested revision: 7b0542d08b7e8e5ccbe81f495d641305b3b8a264

Requested commit: 7b0542d08b7e8e5ccbe81f495d641305b3b8a264

Commit: 7b0542d08b7e8e5ccbe81f495d641305b3b8a264

Tree: 67060c5620c5a36700abfa9c44d3ce31e35f9da4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
build system: consolidate duplicate code and more

 * add ability to add assembly files when building an exe, obj, or lib
 * add implicit cast from `[N]T` to `?[]const T` (closes #343)
 * remove link_exe and link_lib in favor of allowing build_exe and
   build_lib support no root zig source file

```

## Parents

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

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