Find a file
Austin Horstman 90e87f7fcf
flake.nix: gcc13 -> gcc14; flake.lock: update (#12)
* flake.nix: gcc13 -> gcc14

* flake.lock: update
2024-12-16 22:26:57 +01:00
.github/workflows CI: init 2024-04-20 13:41:53 +03:00
nix Nix: add cross-build package 2024-06-11 18:21:15 +03:00
src core: fix overzealous proxy replacement for new_id 2024-09-20 14:13:20 +01:00
.clang-format Initial commit 2024-04-20 01:06:51 +01:00
.gitignore Initial commit 2024-04-20 01:06:51 +01:00
CMakeLists.txt CMake: fix version path 2024-07-18 20:33:41 +03:00
flake.lock flake.nix: gcc13 -> gcc14; flake.lock: update (#12) 2024-12-16 22:26:57 +01:00
flake.nix flake.nix: gcc13 -> gcc14; flake.lock: update (#12) 2024-12-16 22:26:57 +01:00
hyprwayland-scanner-config.cmake.in cmake: add hpp header as target dependency (#4) 2024-05-13 14:56:29 +01:00
hyprwayland-scanner.pc.in add pkg-config file 2024-04-20 13:56:27 +03:00
LICENSE Initial commit 2024-04-20 01:06:51 +01:00
README.md README: clarify function 2024-09-21 00:27:16 +01:00
VERSION version: bump to 0.4.2 2024-09-20 14:57:53 +01:00

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