Add isolated native Rime service and MiSans candidate UI
This commit is contained in:
1 parent
f21167e1a2
commit
8e9a5838ab
28 files changed
+2381
-17
No files matched your search
@@ -0,0 +1,13 @@
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=src/rime_shim.c");
|
||||
let library = pkg_config::Config::new()
|
||||
.atleast_version("1.8")
|
||||
.probe("rime")
|
||||
.expect("librime development headers are required");
|
||||
let mut build = cc::Build::new();
|
||||
build.file("src/rime_shim.c");
|
||||
for path in library.include_paths {
|
||||
build.include(path);
|
||||
}
|
||||
build.compile("ferese_rime_shim");
|
||||
}
|
||||
Reference in new issue
Block a user