rust-most/build.rs

16 lines
277 B
Rust
Raw Normal View History

2019-12-04 10:17:05 -08:00
use cc::Build;
use std::path::Path;
fn main() {
println!("Running build script");
2019-12-05 03:19:41 -08:00
let most_src = Path::new("vendor/most-5.1.0/src");
println!("Most src path: {}", most_src.display());
2019-12-04 10:17:05 -08:00
Build::new()
2019-12-05 03:19:41 -08:00
.files(most_src)
2019-12-04 10:17:05 -08:00
.include(most_src)
.compile("most");
}