mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
* crates re-organisation * fixed typo in layout & added test for vmp_apply * updated dependencies
13 lines
354 B
Rust
13 lines
354 B
Rust
use std::path::PathBuf;
|
|
|
|
pub fn build() {
|
|
let dst: PathBuf = cmake::Config::new("src/cpu_spqlios/spqlios-arithmetic")
|
|
.define("ENABLE_TESTING", "FALSE")
|
|
.build();
|
|
|
|
let lib_dir: PathBuf = dst.join("lib");
|
|
|
|
println!("cargo:rustc-link-search=native={}", lib_dir.display());
|
|
println!("cargo:rustc-link-lib=static=spqlios");
|
|
}
|