experimental: ex_workspace protocol
This commit is contained in:
parent
31741c1be7
commit
cf6b372e23
4 changed files with 340 additions and 0 deletions
2
build.rs
2
build.rs
|
|
@ -17,6 +17,8 @@ fn main() {
|
|||
let dest = PathBuf::from(&env::var("OUT_DIR").unwrap());
|
||||
// Location of the xml file, relative to the `Cargo.toml`
|
||||
let drm_protocol_file = "resources/wayland-drm.xml";
|
||||
let ext_workspace_protocol_file = "resources/ext-workspace-unstable-v1.xml";
|
||||
// Target directory for the generate files
|
||||
generate_code(drm_protocol_file, &dest.join("wl_drm.rs"), Side::Server);
|
||||
generate_code(ext_workspace_protocol_file, &dest.join("ext_workspace.rs"), Side::Server);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue