aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorsckzor <sckzor@protonmail.com>2022-02-08 06:43:27 -0500
committerGitHub <noreply@github.com>2022-02-08 11:43:27 +0000
commit7263d223bf535fdffe00d5d9d398a8d188b3c185 (patch)
treea26df33a3832058b3bc42a7a7b23e969b098bbfc /INSTALL.md
parentc2959f45ec5e9dc3891a6bcbbb793b0452d344cd (diff)
downloadalacritty-7263d223bf535fdffe00d5d9d398a8d188b3c185.tar.gz
alacritty-7263d223bf535fdffe00d5d9d398a8d188b3c185.zip
Add instructions for building without X11/Wayland
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index bc6f3a77..61f4a978 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -36,7 +36,7 @@ Please refer to the [Dependencies](#dependencies) section.
16. [Windows](#windows)
17. [Other](#other)
2. [Building](#building)
- 1. [Linux/Windows](#linux--windows)
+ 1. [Linux/Windows/BSD](#linux--windows--bsd)
2. [macOS](#macos)
3. [Post Build](#post-build)
1. [Terminfo](#terminfo)
@@ -236,12 +236,23 @@ filling in this section of the README.
## Building
-### Linux / Windows
+### Linux / Windows / BSD
```sh
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`.
### macOS