Created
June 23, 2020 18:29
-
-
Save sakex/d0f59a52f3faa79048645c145b650789 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// build.rs | |
extern crate cc; | |
fn main() { | |
cc::Build::new() | |
.cpp(true) | |
.include("cpp") | |
.file("cpp/Engine.cpp") | |
.file("cpp/bindings.cpp") | |
.cpp_link_stdlib("stdc++") | |
.warnings_into_errors(true) | |
.compile("gui"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment