Skip to content

Commit

Permalink
docs: update INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ripperi committed Sep 27, 2024
1 parent 56677d9 commit 5b2a9e2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ A quick overview of the more useful build options.
See `zig build --help` for more.

#### `-Dtarget=[string]`

Cross-compilation target. See [supported targets](#supported-targets).

#### `-Doptimize=[enum]`
Expand All @@ -54,20 +53,25 @@ Supported values:
- ReleaseSmall => optimize for binary size
- ReleaseFast => optimize for speed

#### `-Dcflags=[string]`
Pass additional cflags to the compiler. These propagate to all build artifacts and dependencies.
#### `-Dall`
Build for all [supported targets](#supported-targets).

#### `-Drelease`
Release flag. Builds with `-Doptimize=ReleaseFast` and `-Dpace=live`, and omits
git rev from binary version.

#### `-Dpace=[enum]`
Release train.

Supported values:
- once (default)
- live
- soon
- edge

#### `-Drelease`

Release flag. Builds for all [supported targets](#supported-targets) with `-Doptimize=ReleaseFast` and `-Dpace=live`
#### `-Dflags=[string]`
Provide additional compiler flags. These propagate to all build artifacts and
dependencies.

<!-- ## LSP Integration -->

Expand Down

0 comments on commit 5b2a9e2

Please sign in to comment.