2024-04-20 00:00:04 +02:00
|
|
|
# hyprwayland-scanner
|
|
|
|
A Hyprland implementation of wayland-scanner, in and for C++.
|
2024-04-20 02:06:51 +02:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```sh
|
|
|
|
hyprwayland-scanner '/path/to/proto' '/path/to/output/directory'
|
|
|
|
```
|
|
|
|
|
2024-04-20 14:27:49 +02:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
Requires a compiler with C++23 support.
|
|
|
|
|
|
|
|
Dep list:
|
|
|
|
- pugixml
|
|
|
|
|
2024-04-20 02:06:51 +02:00
|
|
|
## Building
|
|
|
|
|
|
|
|
```sh
|
2024-05-01 20:20:02 +02:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
|
|
|
|
cmake --build build -j `nproc`
|
2024-04-20 02:06:51 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
```sh
|
|
|
|
sudo cmake --install build
|
|
|
|
```
|
2024-04-20 15:23:58 +02:00
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
- [ ] Support for generating client headers
|