File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
io.sloeber.core/src/io/sloeber/core/api Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -260,9 +260,12 @@ public void run(IProgressMonitor internalMonitor) throws CoreException {
260
260
excludes [6 ] = IPath .fromOSString ("libraries/**/._*" ); //$NON-NLS-1$
261
261
excludes [7 ] = IPath .fromOSString ("libraries/?*/utility/*/*" ); //$NON-NLS-1$
262
262
263
- // IPath arduinoRoot =
264
- // IPath.fromOSString(SLOEBER_ARDUINO_FOLDER_NAME).append(CONFIG_NAME_VARIABLE);
265
- IPath arduinoRoot = newProjectHandle .getFolder (SLOEBER_ARDUINO_FOLDER_NAME ).getFullPath ().append (CONFIG_NAME_VARIABLE );
263
+ /*
264
+ * CDT currently causes issues with ${ConfigName]
265
+ * https://github.com/eclipse-cdt/cdt/issues/870
266
+ * IPath arduinoRoot = newProjectHandle.getFolder(SLOEBER_ARDUINO_FOLDER_NAME).getFullPath().append(CONFIG_NAME_VARIABLE);
267
+ */
268
+ IPath arduinoRoot = newProjectHandle .getFolder (SLOEBER_ARDUINO_FOLDER_NAME ).getFullPath ().append (curConfig .getName ());
266
269
newSourceEntries [1 ] = new CSourceEntry (arduinoRoot , excludes , ICSettingEntry .NONE );
267
270
curConfig .setSourceEntries (newSourceEntries );
268
271
IAutoBuildConfigurationDescription iAutoBuildConfig = IAutoBuildConfigurationDescription
You can’t perform that action at this time.
0 commit comments