mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
[Arduino] Library includes were broken.
Change-Id: I29782971f3b1a494cd842010c141aa2734cddafa
This commit is contained in:
parent
57237cb5a4
commit
f70020baf1
1 changed files with 6 additions and 6 deletions
|
@ -277,18 +277,18 @@ public class ArduinoBuildConfiguration extends CBuildConfiguration
|
|||
includes += '"' + pathString(include) + '"';
|
||||
}
|
||||
|
||||
// Magic recipes for platform builds with platform includes
|
||||
properties.put("includes", includes); //$NON-NLS-1$
|
||||
buildModel.put("recipe_cpp_o_pattern_plat", resolveProperty("recipe.cpp.o.pattern", properties)); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
buildModel.put("recipe_c_o_pattern_plat", resolveProperty("recipe.c.o.pattern", properties)); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
buildModel.put("recipe_S_o_pattern_plat", resolveProperty("recipe.S.o.pattern", properties)); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
for (ArduinoLibrary lib : manager.getLibraries(project)) {
|
||||
for (Path include : lib.getIncludePath()) {
|
||||
includes += " -I\"" + pathString(include) + '"'; //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
||||
// Magic recipes for platform builds with platform includes
|
||||
properties.put("includes", includes); //$NON-NLS-1$
|
||||
buildModel.put("recipe_cpp_o_pattern_plat", resolveProperty("recipe.cpp.o.pattern", properties)); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
buildModel.put("recipe_c_o_pattern_plat", resolveProperty("recipe.c.o.pattern", properties)); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
buildModel.put("recipe_S_o_pattern_plat", resolveProperty("recipe.S.o.pattern", properties)); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
ArduinoPlatform corePlatform = platform;
|
||||
String core = properties.getProperty("build.core"); //$NON-NLS-1$
|
||||
if (core.contains(":")) { //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue