builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/BuildConfigurationData.java
changeset 251 fff928c91e29
parent 238 0f7a3f55e6fe
child 289 f512e4fde380
equal deleted inserted replaced
250:a2c610d72af3 251:fff928c91e29
   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) {