mirror of
https://github.com/hyprwm/hyprutils.git
synced 2024-12-22 14:19:49 +01:00
Read-only mirror of https://github.com/hyprwm/hyprutils
1f4743a1f7
if we dont decrement the sharedptr on destruction any weakptr remaining will have an impl_ with a ref of 1 and upon destruction of the weakptr it wont delete the implentation because it thinks a shared pointer still exist. |
||
---|---|---|
.github/workflows | ||
include/hyprutils | ||
nix | ||
src | ||
tests | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
flake.lock | ||
flake.nix | ||
hyprutils.pc.in | ||
LICENSE | ||
README.md |
hyprutils
Hyprutils is a small C++ library for utilities used across the Hypr* ecosystem.
Stability
Hyprutils depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for hyprutils ABI breaks, not stdlib.
Building
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`