mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
Add instructions for building without X11/Wayland
This commit is contained in:
parent
c2959f45ec
commit
7263d223bf
1 changed files with 13 additions and 2 deletions
15
INSTALL.md
15
INSTALL.md
|
@ -36,7 +36,7 @@ Please refer to the [Dependencies](#dependencies) section.
|
||||||
16. [Windows](#windows)
|
16. [Windows](#windows)
|
||||||
17. [Other](#other)
|
17. [Other](#other)
|
||||||
2. [Building](#building)
|
2. [Building](#building)
|
||||||
1. [Linux/Windows](#linux--windows)
|
1. [Linux/Windows/BSD](#linux--windows--bsd)
|
||||||
2. [macOS](#macos)
|
2. [macOS](#macos)
|
||||||
3. [Post Build](#post-build)
|
3. [Post Build](#post-build)
|
||||||
1. [Terminfo](#terminfo)
|
1. [Terminfo](#terminfo)
|
||||||
|
@ -236,12 +236,23 @@ filling in this section of the README.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
### Linux / Windows
|
### Linux / Windows / BSD
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo build --release
|
cargo build --release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On Linux/BSD, if it is desired to build Alacritty without support for either the
|
||||||
|
X11 or Wayland rendering backend the following commands can be used.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Force support for only Wayland
|
||||||
|
cargo build --release --no-default-features --features=wayland
|
||||||
|
|
||||||
|
# Force support for only X11
|
||||||
|
cargo build --release --no-default-features --features=x11
|
||||||
|
```
|
||||||
|
|
||||||
If all goes well, this should place a binary at `target/release/alacritty`.
|
If all goes well, this should place a binary at `target/release/alacritty`.
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
Loading…
Reference in a new issue