mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
arduino-builder: sketchbook libraries specified as last param, because they
are more important
This commit is contained in:
parent
8c57dd8adb
commit
aaf86b4a50
@ -207,10 +207,10 @@ public class Compiler implements MessageConsumer {
|
||||
}
|
||||
});
|
||||
|
||||
commandLine.addArgument("-libraries", false);
|
||||
commandLine.addArgument("\"" + BaseNoGui.getSketchbookLibrariesFolder().getAbsolutePath() + "\"", false);
|
||||
commandLine.addArgument("-libraries", false);
|
||||
commandLine.addArgument("\"" + BaseNoGui.getContentFile("libraries").getAbsolutePath() + "\"", false);
|
||||
commandLine.addArgument("-libraries", false);
|
||||
commandLine.addArgument("\"" + BaseNoGui.getSketchbookLibrariesFolder().getAbsolutePath() + "\"", false);
|
||||
|
||||
String fqbn = Stream.of(aPackage.getId(), platform.getId(), board.getId(), boardOptions(board)).filter(s -> !s.isEmpty()).collect(Collectors.joining(":"));
|
||||
commandLine.addArgument("-fqbn=" + fqbn, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user