Added support for Windows

This commit is contained in:
Andrew Kane
2021-10-17 13:54:22 -07:00
parent 3e3aed7736
commit 3723cc1cb5
4 changed files with 20 additions and 7 deletions

View File

@@ -3,8 +3,8 @@ extern crate cc;
fn main() {
cc::Build::new()
.cpp(true)
.flag("-std=c++11")
.flag("-Wno-unused-parameter")
.flag_if_supported("-std=c++11")
.flag_if_supported("-Wno-unused-parameter")
.file("vendor/libmf/mf.cpp")
.compile("mf");
}