# cmake: build stage3 by default · gitcafe/zig

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

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

Visibility: public

Requested revision: 56129d26ebd8c54563e92a78b9dab20f69dbc646

Requested commit: 56129d26ebd8c54563e92a78b9dab20f69dbc646

Commit: 56129d26ebd8c54563e92a78b9dab20f69dbc646

Tree: 47aaa1a38db6e91a8ab864927284f8f71ff56498

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
cmake: build stage3 by default

This is a simplification of the cmake build script which introduces a
new "stage3" target that is built by default, which builds and installs
a stage3 zig.

It greatly simplifies the build instructions for Zig, making it conform
to the regular cmake routine, while still producing a stage3 artifact.

```

## Parents

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

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