Find a file
Tom Englund c1e34fb2b7
core: avoid undefined behaviour in C macro (#8)
to safely use wl_container_of with a class the class has to be no
virtual functions, no inheritance, and uniform access control (e.g all
public)

work around this by putting this into a destroywrapper struct.
2024-06-26 20:35:08 +02: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: avoid undefined behaviour in C macro (#8) 2024-06-26 20:35:08 +02: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: bump ver to 0.3.10 2024-06-07 20:28:26 +02:00
flake.lock Nix: add cross-build package 2024-06-11 18:21:15 +03:00
flake.nix Nix: add cross-build package 2024-06-11 18:21:15 +03: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: Remove last todos 2024-06-20 00:18:34 +02:00

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 -DCMAKE_INSTALL_PREFIX=/usr -B build
cmake --build build -j `nproc`

Installation

sudo cmake --install build