mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-12-22 06:09:48 +01:00
A read-only mirror of https://github.com/hyprwm/hyprwayland-scanner
90e87f7fcf
* flake.nix: gcc13 -> gcc14 * flake.lock: update |
||
---|---|---|
.github/workflows | ||
nix | ||
src | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
flake.lock | ||
flake.nix | ||
hyprwayland-scanner-config.cmake.in | ||
hyprwayland-scanner.pc.in | ||
LICENSE | ||
README.md | ||
VERSION |
hyprwayland-scanner
A Hyprland implementation of wayland-scanner, in and for C++.
hw-s automatically generates properly RAII-ready, modern C++ bindings for Wayland protocols, for either servers or clients.
Usage
hyprwayland-scanner '/path/to/proto' '/path/to/output/directory'
Options
--client
-> generate client code--wayland-enums
-> use wayland enum naming (snake instead of camel)
Dependencies
Requires a compiler with C++23 support.
Dep list:
- pugixml
Building
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build -j `nproc`
Installation
sudo cmake --install build