mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-08 06:35:58 +01:00
A read-only mirror of https://github.com/hyprwm/hyprwayland-scanner
abbade08f1
This allows us to add wayland protocol dependencies to other cmake-based projects with minimum extra code. Example: find_package(hyprwayland-scanner REQUIRED) add_executable(target main.c) hyprwayland_protocol( target "linux-dmabuf-v1" "${WAYLAND_PROTOCOLS}/linux-dmabuf/" "${CMAKE_SOURCE_DIR}/protocols" ) |
||
---|---|---|
.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 |
hyprwayland-scanner
A Hyprland implementation of wayland-scanner, in and for C++.
Usage
hyprwayland-scanner '/path/to/proto' '/path/to/output/directory'
Dependencies
Requires a compiler with C++23 support.
Dep list:
- pugixml
Building
cmake -B build
cmake --build build -j`nproc`
Installation
sudo cmake --install build
TODO
- Support for generating client headers