Try to rearrange the file order?

This commit is contained in:
Blaž Hrastnik 2021-07-12 01:01:56 +09:00
parent c8dc9b64dd
commit a7fa5621ce

View File

@ -71,12 +71,13 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
command
.args(&["/nologo", "/LD", "/I"])
.arg(header_path)
.arg("/Od")
.arg(parser_path);
.arg("/Od");
if let Some(scanner_path) = scanner_path.as_ref() {
command.arg(scanner_path);
}
command
.arg(parser_path)
.arg("/link")
.arg(format!("/out:{}", library_path.to_str().unwrap()));
} else {