README: add build instructions

This commit is contained in:
Vaxry 2024-03-07 18:03:42 +00:00
parent 4c789d1300
commit 0f62fe4d26

View file

@ -39,3 +39,21 @@ Library:
Util:
- [ ] Support compiling a theme with X
- [x] Support decompiling animated cursors
## Building
### Deps:
- hyprlang >= 0.4.2
- cairo
- libzip
### Build
```sh
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
```
Install with:
```sh
sudo cmake --install build
```