tictactoe-rust-foropenspiel/build.rs

10 lines
289 B
Rust

fn main() {
cxx_build::bridge("src/game.rs")
.file("src/main.cc")
.compile("tictactoe-rust-foropenspiel");
println!("cargo:rerun-if-changed=src/game.rs");
println!("cargo:rerun-if-changed=src/game.cc");
println!("cargo:rerun-if-changed=include/game.h");
}