Browse Source

Perform debug builds under debug profile

add-rc-path
Jeff Waugh 10 years ago
parent
commit
bb95c753ab
  1. 4
      src/lib.rs

4
src/lib.rs

@ -305,6 +305,10 @@ impl Config {
} }
cmd.args(&self.compile_flags()); cmd.args(&self.compile_flags());
if profile == "debug" {
cmd.arg(if target.contains("msvc") {"/Z7"} else {"-g"});
}
if target.contains("-ios") { if target.contains("-ios") {
cmd.args(&ios_flags(&target)); cmd.args(&ios_flags(&target));
} else if !target.contains("msvc") { } else if !target.contains("msvc") {

Loading…
Cancel
Save