Skip to content

Commit 6bf4fc8

Browse files
committed
export compile commands and dont install mods on android build
1 parent d461bd8 commit 6bf4fc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/project_build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ pub fn build_project(
8080
if cfg!(target_os = "windows") && !extra_conf_args.contains(&"-G".to_owned()) {
8181
conf_args.extend(["-G", "Ninja"].map(String::from));
8282
}
83+
conf_args.push("-DCMAKE_EXPORT_COMPILE_COMMANDS=1".into());
84+
// TODO: cli cant install to a mobile device, yet
85+
conf_args.push("-DGEODE_DONT_INSTALL_MODS=1".into());
8386
}
8487
}
8588
_ => unreachable!("invalid platform"),

0 commit comments

Comments
 (0)