Getting Started/Installation: fix cmake call, add NO_UWSM info

We haven't used Ninja in the Makefile in a long time, but I forgot to
update the invocation here.
This commit is contained in:
Mihai Fufezan 2025-01-15 20:55:55 +02:00
parent 31fa60ddbd
commit 52d4a0cbba
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -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
@ -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.