|
21 | 21 | </option> |
22 | 22 | <option> |
23 | 23 | <name>ObjPath</name> |
| 24 | +<%if(custom_only)%> |
| 25 | +<%comment(IAR requires a project to build a library or an executable. Since)%> |
| 26 | +<%comment(this is a custom only project, we do not have the required options)%> |
| 27 | +<%comment(to correctly build the source. We must change the output directory)%> |
| 28 | +<%comment(so that when it does build the source, it does not interfere with)%> |
| 29 | +<%comment(the actual building of the source files.)%> |
| 30 | + <state>$PROJ_DIR$/<%configuration%>/custom/obj</state> |
| 31 | +<%else%> |
24 | 32 | <state>$PROJ_DIR$/<%configuration%>/obj</state> |
| 33 | +<%endif%> |
25 | 34 | </option> |
26 | 35 | <option> |
27 | 36 | <name>ListPath</name> |
|
209 | 218 | <data> |
210 | 219 | <version>35</version> |
211 | 220 | <wantNonLocal>1</wantNonLocal> |
212 | | - <debug><%debug%></debug> |
| 221 | + <debug><%debug%></debug> |
| 222 | + <option> |
| 223 | + <name>OICompilerExtraOption</name> |
| 224 | + <state>1</state> |
| 225 | + </option> |
213 | 226 | <option> |
214 | 227 | <name>CCOptimizationNoSizeConstraints</name> |
215 | 228 | <state>0</state> |
|
279 | 292 | <option> |
280 | 293 | <name>CCAllowList</name> |
281 | 294 | <version>1</version> |
282 | | - <state>00000000</state> |
| 295 | + <state>11111110</state> |
283 | 296 | </option> |
284 | 297 | <option> |
285 | 298 | <name>CCDebugInfo</name> |
|
361 | 374 | </option> |
362 | 375 | <option> |
363 | 376 | <name>CCOptLevel</name> |
364 | | - <state>0</state> |
| 377 | + <state>3</state> |
365 | 378 | </option> |
366 | 379 | <option> |
367 | 380 | <name>CCOptStrategy</name> |
|
370 | 383 | </option> |
371 | 384 | <option> |
372 | 385 | <name>CCOptLevelSlave</name> |
373 | | - <state>0</state> |
| 386 | + <state>3</state> |
374 | 387 | </option> |
375 | 388 | <option> |
376 | 389 | <name>CompilerMisraRules98</name> |
|
1077 | 1090 | <%endfor%> |
1078 | 1091 | </group> |
1079 | 1092 | <%endif%> |
| 1093 | +<%if(source_files)%> |
1080 | 1094 | <group> |
1081 | 1095 | <name>Source Files</name> |
1082 | 1096 | <%foreach(source_files)%> |
|
1085 | 1099 | </file> |
1086 | 1100 | <%endfor%> |
1087 | 1101 | </group> |
| 1102 | +<%endif%> |
1088 | 1103 | <%if(template_files)%> |
1089 | 1104 | <group> |
1090 | 1105 | <name>Template Files</name> |
|
1095 | 1110 | <%endfor%> |
1096 | 1111 | </group> |
1097 | 1112 | <%endif%> |
| 1113 | +<%foreach(custom_types)%> |
| 1114 | +<%if(custom_type->input_files)%> |
| 1115 | + <group> |
| 1116 | + <name><%ucw(custom_type)%></name> |
| 1117 | +<%foreach(custom_type->input_files)%> |
| 1118 | + <file> |
| 1119 | + <name>$PROJ_DIR$\<%custom_type->input_file%></name> |
| 1120 | +<%if(custom_type->input_file->output_files)%> |
| 1121 | +<%foreach(configurations)%> |
| 1122 | + <configuration> |
| 1123 | + <name><%configuration%></name> |
| 1124 | + <settings> |
| 1125 | + <name>CUSTOM</name> |
| 1126 | + <data> |
| 1127 | + <extensions><%foreach(custom_type->inputexts)%>.<%custom_type->inputext%><%fornotlast(",")%><%endfor%></extensions> |
| 1128 | + <cmdline><%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%> <%custom_type->input_file%><%if(custom_type->output_option)%> <%custom_type->output_option%> <%foreach(custom_type->input_file->output_files)%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%endfor%><%endif%></cmdline> |
| 1129 | + <hasPrio>0</hasPrio> |
| 1130 | + <outputs> |
| 1131 | +<%foreach(custom_type->input_file->output_files)%> |
| 1132 | + <file> |
| 1133 | + <name><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%></name> |
| 1134 | + </file> |
| 1135 | +<%endfor%> |
| 1136 | + </outputs> |
| 1137 | + <inputs> |
| 1138 | + <file> |
| 1139 | + <name><%custom_type->input_file%></name> |
| 1140 | + </file> |
| 1141 | + </inputs> |
| 1142 | + </data> |
| 1143 | + </settings> |
| 1144 | + </configuration> |
| 1145 | +<%endfor%> |
| 1146 | +<%endif%> |
| 1147 | + </file> |
| 1148 | +<%endfor%> |
| 1149 | + </group> |
| 1150 | +<%endif%> |
| 1151 | +<%endfor%> |
1098 | 1152 | </project> |
0 commit comments