mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-08 10:05:57 +01:00
33 lines
527 B
Markdown
33 lines
527 B
Markdown
# hyprwayland-scanner
|
|
A Hyprland implementation of wayland-scanner, in and for C++.
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
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
|
|
|
|
```sh
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
|
|
cmake --build build -j `nproc`
|
|
```
|
|
|
|
### Installation
|
|
|
|
```sh
|
|
sudo cmake --install build
|
|
```
|