readme: add build instructions

This commit is contained in:
Vaxry 2023-12-29 20:05:45 +01:00
parent 946e3d604c
commit c69c286b31

View file

@ -1,9 +1,22 @@
# hyprlang # hyprlang
The hypr configuration language is an extremely efficient, yet easy to work with, configuration language The hypr configuration language is an extremely efficient, yet easy to work with, configuration language
for linux applications. for linux applications.
It's user-friendly, easy to grasp, and easy to implement. It's user-friendly, easy to grasp, and easy to implement.
## Building and installation
Building is done via CMake:
```sh
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --build ./build --config Release --target hyprlang -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
```
Install with:
```sh
cmake --install ./build
```
## Example config ## Example config
```ini ```ini