For single file compilation under Raptor, make sure to check if anything needs to be appeded to the -c arg value.
authortimkelly
Mon, 05 Apr 2010 13:49:38 -0500
changeset 1158 0164ba7da078
parent 1156 1ae1b4979954
child 1159 f8750e5751c4
For single file compilation under Raptor, make sure to check if anything needs to be appeded to the -c arg value.
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java	Fri Apr 02 15:38:50 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java	Mon Apr 05 13:49:38 2010 -0500
@@ -591,6 +591,11 @@
 			else
 				configName = "error_retrieving_build_alias"; 
 		}
+		
+		if (cpi.buildConfigAppender() != null && cpi.buildConfigAppender().length() > 0){
+			configName = configName + cpi.buildConfigAppender();
+		}
+		
 		String[] sbsArgs = new String[] {"--source-target=" + file.toOSString(), COMPILE_ARG, configName, COMPONENT_ARG, fullMMPPath.toFile().getName()};
 		launcher.setErrorParserManager(buildConfig.getCarbideProject().getINFWorkingDirectory(), buildConfig.getErrorParserList());