From 0f62fe4d26c2aef8ec6098fb6ef865469c04777f Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 7 Mar 2024 18:03:42 +0000 Subject: [PATCH] README: add build instructions --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 349a207..1fad901 100644 --- a/README.md +++ b/README.md @@ -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 +``` \ No newline at end of file