hyprwayland-scanner/README.md

34 lines
527 B
Markdown
Raw Normal View History

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-09-16 10:01:29 +02:00
### Options
- `--client` -> generate client code
- `--wayland-enums` -> use wayland enum naming (snake instead of camel)
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
```