builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/BuildConfigurationData.java
equal
deleted
inserted
replaced
217 ICarbideProjectInfo cpi = carbideBuildConfig.getCarbideProject(); |
217 ICarbideProjectInfo cpi = carbideBuildConfig.getCarbideProject(); |
218 if (cpi == null) { |
218 if (cpi == null) { |
219 return; |
219 return; |
220 } |
220 } |
221 |
221 |
222 List<IPath> sourcePaths = EpocEngineHelper.getSourceRootsForProject(cpi); |
222 List<IPath> sourcePaths = EpocEngineHelper.getPreferredSourceRootsForProject(cpi); |
223 for (IPath srcPath : sourcePaths) { |
223 for (IPath srcPath : sourcePaths) { |
224 // if the project root is a source path then that's the only one we |
224 // if the project root is a source path then that's the only one we |
225 // want to set because anything else would be under the project root |
225 // want to set because anything else would be under the project root |
226 // and cause nested source paths. |
226 // and cause nested source paths. |
227 if (srcPath.segmentCount() == 1) { |
227 if (srcPath.segmentCount() == 1) { |