Skip to content

Commit

Permalink
Getting Started/Installation: fix cmake call, add NO_UWSM info
Browse files Browse the repository at this point in the history
We haven't used Ninja in the Makefile in a long time, but I forgot to
update the invocation here.
  • Loading branch information
fufexan committed Jan 15, 2025
1 parent 31fa60d commit 52d4a0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/Getting Started/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,12 +498,13 @@ Supported custom build flags:
LEGACY_RENDERER - Compiles with the legacy renderer (see above)
NO_XWAYLAND - Removes XWayland support
NO_SYSTEMD - Removes systemd dependencies
NO_UWSM - Does not install the hyprland-uwsm.desktop file
```

Flags can be passed to CMake like this:

```bash
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -D<FLAG>:STRING=true -B build -G Ninja
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -D<FLAG>:STRING=true -B build
```

Change `<FLAG>` to one of the custom build flags. Multiple flags can be used at
Expand All @@ -514,7 +515,7 @@ The `BUILD_TYPE` can also be changed to `Debug`.
To build, run:

```bash
cmake --build ./build --config Release --target all
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
```

If you configured in `Debug`, change the `--config` to `Debug` as well.
Expand Down

0 comments on commit 52d4a0c

Please sign in to comment.