1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <cproject storage_type_id=
"org.eclipse.cdt.core.XmlProjectDescriptionStorage">
4 <storageModule moduleId=
"org.eclipse.cdt.core.settings">
6 <%foreach(host_platform)%
><%comment(there won't be more than one host_platform, but a foreach is used in order to access scoped assignments from the mpt)%
>
7 <%foreach(configurations)%
>
8 <!-- platform = <%platform%>, nocross = <%nocross%>, host_platform = <%host_platform%>, vars_equal = <%vars_equal(platform, host_platform)%> -->
9 <%if(!nocross || vars_equal(platform, host_platform))%
>
10 <cconfiguration id=
"mpc.generated.config.<%platform%>.<%configuration%>">
11 <storageModule buildSystemId=
"org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id=
"mpc.generated.config.<%platform%>.<%configuration%>" moduleId=
"org.eclipse.cdt.core.settings" name=
"<%platform%>-<%configuration%>">
12 <externalSettings/><%comment(looks like for libraries there are externalsettings)%
>
14 <%foreach(binary_parsers)%
>
15 <extension id=
"<%binary_parser%>" point=
"org.eclipse.cdt.core.BinaryParser"/>
17 <%foreach(error_parsers additional_error_parsers)%
>
18 <extension id=
"<%error_parser%>" point=
"org.eclipse.cdt.core.ErrorParser"/>
22 <storageModule moduleId=
"cdtBuildSystem" version=
"4.0.0">
24 artifactExtension=
"<%if(exename && exe_ext_nodot)%><%exe_ext_nodot%><%else%><%if(type_is_dynamic && dll_ext_nodot)%><%dll_ext_nodot%><%else%><%if(type_is_static && lib_ext_nodot)%><%lib_ext_nodot%><%endif%><%endif%><%endif%>"
25 artifactName=
"<%if(exename)%><%exename%><%else%><%if(type_is_dynamic)%><%sharedname%><%else%><%if(type_is_static)%><%staticname%><%endif%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%endif%>"
27 id=
"mpc.generated.config.<%platform%>.<%configuration%>"
28 name=
"<%platform%>-<%configuration%>"
30 parent=
"org.eclipse.cdt.build.core.emptycfg" buildProperties=
""
32 buildArtefactType=
"<%build_artefact_type%>"
33 buildProperties=
"org.eclipse.cdt.build.core.buildArtefactType=<%build_artefact_type%>,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.<%configuration%>"
34 cleanCommand=
"<%delete("rm -rf
")%>"
35 parent=
"<%configuration_parent_root%>.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>"
36 prebuildStep=
"<%eval(prebuild)%>"
38 postbuildStep=
"<%shell%> ..<%slash%><%create_aux_file(postbuild_, platform, _, configuration, script_ext)%><%script_hdr%>
40 <%if(type_is_dynamic)%>
41 <%setenv%> DESTDIR=<%if(dllout)%><%if(!starts_with(dllout, [/\\\$]))%>..<%slash%>..<%slash%><%endif%><%convert_slashes(translate_vars(dllout))%><%else%><%if(libout)%><%if(!starts_with(libout, [/\\\$]))%>..<%slash%>..<%slash%><%endif%><%convert_slashes(translate_vars(libout))%><%else%>..<%slash%>..<%endif%><%endif%><%slash%><%platform%>-<%configuration%>
42 <%if(mkdir_pre)%><%mkdir_pre%> <%envvar_pre%>DESTDIR<%envvar_post%><%endif%><%mkdir%> <%envvar_pre%>DESTDIR<%envvar_post%>
43 <%cp%> <%lib_prefix%><%sharedname%><%lib_modifier%><%dll_ext%> <%envvar_pre%>DESTDIR<%envvar_post%><%else%>
44 <%if(type_is_static)%>
45 <%setenv%> DESTDIR=<%if(libout)%><%if(!starts_with(libout, [/\\\$]))%>..<%slash%>..<%slash%><%endif%><%convert_slashes(translate_vars(libout))%><%else%>..<%slash%>..<%endif%><%slash%><%platform%>-<%configuration%>
46 <%if(mkdir_pre)%><%mkdir_pre%> <%envvar_pre%>DESTDIR<%envvar_post%><%endif%><%mkdir%> <%envvar_pre%>DESTDIR<%envvar_post%>
47 <%cp%> <%lib_prefix%><%staticname%><%lib_modifier%><%lib_ext%> <%envvar_pre%>DESTDIR<%envvar_post%><%else%>
49 <%setenv%> DESTDIR=<%if(exeout)%><%if(!starts_with(exeout, [/\\\$]))%>..<%slash%>..<%slash%><%endif%><%convert_slashes(translate_vars(exeout))%><%else%>..<%slash%>..<%endif%><%endif%>
50 <%cp%> <%exename%><%exe_ext%> <%envvar_pre%>DESTDIR<%envvar_post%>
53 <%if(postbuild)%><%eval(postbuild)%><%endif%>
56 <folderInfo id=
"mpc.generated.config.<%platform%>.<%configuration%>"<%comment(same id as configuration element id)%
> name=
"/" resourcePath=
"">
58 id=
"mpc.generated.toolchain.<%platform%>.<%configuration%>"
59 name=
"<%platform%> Default"
60 nonInternalBuilderId=
"<%toolchain_internal_builder_root%>.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>"<%comment(nonInternalBuildId not in native generation on win32)%
>
61 superClass=
"<%toolchain_superclass_root%>.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>">
63 id=
"mpc.generated.target.platform.<%platform%>.<%project_type%>.<%configuration%>"
64 name=
"<%configuration%> Platform"
65 superClass=
"<%targetplatform_superclass%>.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>"/>
67 id=
"org.eclipse.cdt.internal.builder.<%project_name%>"
68 autoBuildTarget=
"all"<%comment(these targets don't appear in native generation on win32)%
>
69 cleanBuildTarget=
"clean"
70 incrementalBuildTarget=
"all"
71 keepEnvironmentInBuildfile=
"false"
73 superClass=
"org.eclipse.cdt.build.core.settings.default.builder"
74 name=
"Gnu Make Builder.<%platform%>.<%configuration%>"
75 buildPath=
"${workspace_loc:/<%project_name%>}/.."
76 arguments=
"-f <%project_name%>.mk"
78 buildPath=
"${workspace_loc:/<%project_name%>/<%configuration%>}"<%comment(buildpath may need to include platform as well in the case of cross-compiles)%
>
79 managedBuildOn=
"true" name=
"CDT Internal Builder"
80 superClass=
"org.eclipse.cdt.build.core.internal.builder"
85 id=
"org.eclipse.cdt.build.core.settings.holder.libs.<%platform%>.<%configuration%>"
86 name=
"holder for library settings"
87 superClass=
"org.eclipse.cdt.build.core.settings.holder.libs"
98 id=
"<%c_linker_tool_superclass_root%>.<%project_type%>.<%configuration%>.1311461244"
99 name=
"<%tool_name_prefix%> C Linker"
100 superClass=
"<%c_linker_tool_superclass_root%>.<%project_type%>.<%configuration%>">
101 <%if(type_is_dynamic)%
>
104 id=
"<%c_linker_dynamiclib_superclass%>.1"
105 name=
"Shared/Dynamic"
106 superClass=
"<%c_linker_dynamiclib_superclass%>" valueType=
"boolean"
118 id=
"<%cpp_linker_tool_superclass_root%>.<%project_type%>.<%configuration%>.335515345"
119 name=
"<%tool_name_prefix%> C++ Linker"
120 superClass=
"<%cpp_linker_tool_superclass_root%>.<%project_type%>.<%configuration%>">
122 id=
"mpc.generated.link.libpaths.1"
123 superClass=
"<%linker_option_superclass%>.paths"
124 valueType=
"libPaths">
125 <%foreach(libpaths)%
>
126 <listOptionValue builtIn=
"false" value=
"<%if(!starts_with(libpath, [/\\\$]))%>../../<%endif%><%translate_vars(libpath, 1)%>"/>
127 <listOptionValue builtIn=
"false" value=
"<%if(!starts_with(libpath, [/\\\$]))%>../../<%endif%><%translate_vars(libpath, 1)%>/<%platform%>-<%configuration%>"/>
131 id=
"mpc.generated.link.option.libs.1"
132 name=
"Libraries (-l)"
133 superClass=
"<%linker_option_superclass%>.libs"
135 <%foreach(libs lit_libs pure_libs platform_libs)%
>
136 <listOptionValue builtIn=
"false" value=
"<%lib%>"/>
140 id=
"mpc.generated.linkflags.1"
141 superClass=
"<%linker_option_superclass%>.flags"
142 value=
"<%if(use_threads)%> <%threadflags%><%endif%><%if(linkflags)%> <%linkflags%><%endif%><%if(build64bit && linkflags64)%> <%linkflags64%><%endif%>"
145 <%if(type_is_dynamic)%
>
148 id=
"<%cpp_linker_dynamiclib_superclass%>.1"
149 name=
"Shared/Dynamic"
150 superClass=
"<%cpp_linker_dynamiclib_superclass%>"
155 id=
"cdt.managedbuild.tool.<%if(platform_specializer)%><%platform_specializer%>.<%endif%>cpp.linker.input.415890365"
156 superClass=
"<%cpp_linker_tool_input_superclass%>">
157 <additionalInput kind=
"additionalinputdependency" paths=
"$(USER_OBJS)"/>
158 <additionalInput kind=
"additionalinput" paths=
"$(LIBS)"/>
161 <outputType id=
"mpc.generated.cpp.linker.output.so.1" outputPrefix=
"<%lib_prefix%>" superClass=
"<%outputtype_superclass%>"/>
168 id=
"cdt.managedbuild.tool.gnu.assembler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.897965604"
170 superClass=
"cdt.managedbuild.tool.gnu.assembler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>">
172 id=
"cdt.managedbuild.tool.gnu.assembler.input.706221217"
173 superClass=
"cdt.managedbuild.tool.gnu.assembler.input"
180 id=
"cdt.managedbuild.tool.gnu.archiver.<%if(platform_specializer)%><%platform_specializer%>.<%endif%>base.134329701"
182 superClass=
"cdt.managedbuild.tool.gnu.archiver.<%if(platform_specializer)%><%platform_specializer%>.<%endif%>base"
188 id=
"cdt.managedbuild.tool.gnu.cpp.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.1373363011"
189 name=
"GCC C++ Compiler"
190 superClass=
"cdt.managedbuild.tool.gnu.cpp.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>">
192 id=
"mpc.generated.cc.include.paths.1"
193 superClass=
"<%cpp_compiler_option_superclass%>.include.paths"
194 valueType=
"includePath">
195 <%foreach(includes)%
>
196 <listOptionValue builtIn=
"false" value=
"<%if(!starts_with(include, [/\\\$]))%>../../<%endif%><%translate_vars(include, 1)%>"/>
200 id=
"gnu.cpp.compiler.option.other.other.375481234"
201 superClass=
"gnu.cpp.compiler.option.other.other"
202 value=
"-c <%comment(here's where we can put in all the extra compiler flags)%><%cxxflags%><%if(use_threads)%> <%threadflags%><%endif%><%if(dll_ext && pic)%> <%pic%><%endif%>"
206 id=
"gnu.cpp.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.optimization.level.886842330"
207 name=
"Optimization Level"
208 superClass=
"gnu.cpp.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.optimization.level"
209 value=
"gnu.cpp.compiler.optimization.level.<%optimization_level%>"
210 valueType=
"enumerated"
213 id=
"gnu.cpp.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.debugging.level.63360527"
215 superClass=
"gnu.cpp.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.debugging.level"
216 value=
"gnu.cpp.compiler.debugging.level.<%debugging_level%>"
217 valueType=
"enumerated"
220 id=
"gnu.cpp.compiler.option.preprocessor.def.1310953196"
221 superClass=
"gnu.cpp.compiler.option.preprocessor.def"
222 valueType=
"definedSymbols">
223 <%foreach(defines common_defines cpu_defines platform_defines macros)%
>
224 <listOptionValue builtIn=
"false" value=
"<%define%>"/>
226 <%if(type_is_dynamic)%
>
227 <%foreach(dynamicflags)%
>
228 <listOptionValue builtIn=
"false" value=
"<%dynamicflag%>"/>
231 <%if(need_static_flags)%
>
232 <%foreach(staticflags)%
>
233 <listOptionValue builtIn=
"false" value=
"<%staticflag%>"/>
238 <option id="gnu.cpp.compiler.option.preprocessor.undef.1618336754" superClass="gnu.cpp.compiler.option.preprocessor.undef" valueType="undefDefinedSymbols">
239 <listOptionValue builtIn="false" value="blah"/>
243 id=
"cdt.managedbuild.tool.gnu.cpp.compiler.input.1095450641"
244 superClass=
"cdt.managedbuild.tool.gnu.cpp.compiler.input"
251 id=
"cdt.managedbuild.tool.gnu.c.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.1634417374"
252 name=
"GCC C Compiler"
253 superClass=
"cdt.managedbuild.tool.gnu.c.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>">
255 id=
"mpc.generated.c.compiler.option.include.paths.1"
256 superClass=
"<%c_compiler_option_superclass%>.include.paths"
257 valueType=
"includePath">
258 <%foreach(includes)%
>
259 <listOptionValue builtIn=
"false" value=
"<%if(!starts_with(include, [/\\\$]))%>../../<%endif%><%translate_vars(include, 1)%>"/>
263 id=
"gnu.c.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.optimization.level.1822406061"
264 name=
"Optimization Level"
265 superClass=
"gnu.c.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.optimization.level"
266 value=
"gnu.c.optimization.level.<%optimization_level%>"
267 valueType=
"enumerated"
270 id=
"gnu.c.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.debugging.level.1766929"
272 superClass=
"gnu.c.compiler.<%if(platform_specializer)%><%platform_specializer%>.<%endif%><%project_type%>.<%configuration%>.option.debugging.level"
273 value=
"gnu.c.debugging.level.<%debugging_level%>"
274 valueType=
"enumerated"
277 id=
"gnu.c.compiler.miscoptions.<%platform%>.<%configuration%>"
278 superClass=
"gnu.c.compiler.option.misc.other"
279 value=
"-c -fmessage-length=0 <%ccflags%>"
283 id=
"gnu.c.compiler.option.preprocessor.def.<%platform%>.<%configuration%>"
284 superClass=
"gnu.c.compiler.option.preprocessor.def.symbols"
285 valueType=
"definedSymbols">
286 <%foreach(defines common_defines cpu_defines platform_defines macros)%
>
287 <listOptionValue builtIn=
"false" value=
"<%define%>"/>
289 <%if(type_is_dynamic)%
>
290 <%foreach(dynamicflags)%
>
291 <listOptionValue builtIn=
"false" value=
"<%dynamicflag%>"/>
294 <%if(need_static_flags)%
>
295 <%foreach(staticflags)%
>
296 <listOptionValue builtIn=
"false" value=
"<%staticflag%>"/>
301 id=
"cdt.managedbuild.tool.gnu.c.compiler.input.1596535093"
302 superClass=
"cdt.managedbuild.tool.gnu.c.compiler.input"
305 <%endif%
><%comment(custom_only)%
>
309 <%create_aux_file(../, project_name, .mk)%
>.PHONY: all clean
313 <%rm%
> <%if(starts_with(shell, cmd))%
>$(subst /,\,$(GENERATED))<%else%
>$(GENERATED)<%endif%
><%if(starts_with(shell, cmd))%
> 2>NUL<%endif%
>
315 SPACE := $(empty_variable) $(empty_variable)
317 <%foreach(custom_types)%
><%if(custom_type-
>libpath)%
>
318 <%libenv%
> := $(<%libenv%
>)<%pathsep%
><%custom_type-
>libpath%
>
319 <%endif%
><%foreach(custom_type-
>input_files)%
><%if(custom_type-
>input_file-
>output_files)%
>
320 GENERATED +=<%foreach(custom_type-
>input_file-
>output_files)%
> <%custom_type-
>input_file-
>output_file%
><%endfor%
>
321 <%foreach(custom_type-
>input_file-
>output_files)%
><%fornotfirst(
" ")%
><%if(flag_overrides(custom_type-
>input_file, gendir))%
><%if(!compares(flag_overrides(custom_type-
>input_file, gendir),.))%
><%flag_overrides(custom_type-
>input_file, gendir)%
>/<%endif%
><%basename(custom_type-
>input_file-
>output_file)%
><%else%
><%custom_type-
>input_file-
>output_file%
><%endif%
><%endfor%
>: <%custom_type-
>input_file%
><%foreach(custom_type-
>input_file-
>dependencies)%
> <%if(contains(custom_type-
>input_file-
>dependencie, [\s\$]))%
>$(subst $(SPACE),\$(SPACE),<%custom_type-
>input_file-
>dependencie%
>)<%else%
><%custom_type-
>input_file-
>dependencie%
><%endif%
><%endfor%
><%if(flag_overrides(custom_type-
>input_file, dependent))%
><%foreach(dep, flag_overrides(custom_type-
>input_file, dependent))%
> <%if(contains(dep, [\s\$]))%
>$(subst $(SPACE),\$(SPACE),<%dep%
>)<%else%
><%dep%
><%endif%
><%if(!has_extension(dep))%
><%exe%
><%endif%
><%endfor%
><%else%
><%foreach(custom_type-
>dependent)%
> <%if(contains(custom_type-
>dependent, [\s\$]))%
>$(subst $(SPACE),\$(SPACE),<%custom_type-
>dependent%
>)<%else%
><%custom_type-
>dependent%
><%endif%
><%if(!has_extension(custom_type-
>dependent))%
><%exe%
><%endif%
><%endfor%
><%endif%
>
322 <%if(flag_overrides(custom_type-
>input_file, gendir))%
>
323 <%if(!compares(flag_overrides(custom_type-
>input_file, gendir),.))%
>
324 <%if(mkdir_pre)%
><%mkdir_pre%
> <%flag_overrides(custom_type-
>input_file, gendir)%
> <%endif%
><%mkdir%
> <%flag_overrides(custom_type-
>input_file, gendir)%
>
327 <%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%
> <%if(custom_type-
>output_option)%
><%custom_type-
>input_file%
> <%custom_type-
>output_option%
> $@<%else%
><%custom_type-
>input_file%
><%endif%
>
328 <%if(flag_overrides(custom_type-
>input_file, postcommand))%
>
329 <%flag_overrides(custom_type-
>input_file, postcommand)%
>
331 <%if(custom_type-
>postcommand)%
>
332 <%custom_type-
>postcommand%
>
336 <%if(custom_type-
>pch_postrule)%
>
337 <%foreach(custom_type-
>input_file-
>source_output_files)%
>
338 @echo <%quote_echo%
>#include
"<%pch_header%>"<%quote_echo%
> > <%makefile_tmpfile%
> && <%cat%
> "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%><%slash%><%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>" >> <%makefile_tmpfile%
> && <%mv%
> <%makefile_tmpfile%
> "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%><%slash%><%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>"
342 <%endif%
><%comment(has some output files)%
><%endfor%
><%comment(input_files)%
><%endfor%
><%comment(custom_types)%
>
345 <%else%
><%comment(not custom_only)%
>
346 <%foreach(custom_types)%
>
347 <%foreach(custom_type-
>input_files)%
>
348 <%if(custom_type-
>input_file-
>output_files)%
>
350 id=
"mpc.generated.custfile.<%platform%>.<%configuration%>.<%custom_type%>.<%normalize(custom_type->input_file)%>"
351 name=
"<%custom_type->input_file%>"
352 rcbsApplicability=
"override"
353 resourcePath=
"<%custom_type->input_file%>"
354 toolsToInvoke=
"org.eclipse.cdt.managedbuilder.ui.rcbs.467489715">
356 announcement=
"Invoking custom build step for type <%custom_type%> on <%custom_type->input_file%>"
357 command=
"<%shell%> ..<%slash%><%create_aux_file(platform, _, configuration, _, custom_type, _, normalize(custom_type->input_file), script_ext)%><%script_hdr%>
358 <%comment(LIBPATH)%><%if(custom_type->libpath)%><%setenv%> <%libenv%>=<%envvar_pre%><%libenv%><%envvar_post%><%pathsep%><%translate_vars(custom_type->libpath)%>
359 <%endif%>cd ..<%slash%>..
360 <%comment(GENDIR)%><%if(flag_overrides(custom_type->input_file, gendir))%><%if(mkdir_pre)%><%mkdir_pre%> <%flag_overrides(custom_type->input_file, gendir)%> <%endif%><%mkdir%> <%flag_overrides(custom_type->input_file, gendir)%>
361 <%endif%><%if(custom_type->input_file->commands)%><%comment(GENDIR-MULTI-CUSTOM)%><%foreach(custom_type->input_file->commands)%><%if(custom_type->input_file->command->gdir)%><%if(mkdir_pre)%><%mkdir_pre%> <%custom_type->input_file->command->gdir%> <%endif%><%mkdir%> <%custom_type->input_file->command->gdir%>
362 <%endif%><%endfor%><%endif%><%if(custom_type->input_file->commands)%><%comment(MULTI-CUSTOM)%><%foreach(custom_type->input_file->commands)%><%translate_vars(custom_type->input_file->command)%> <%translate_vars(custom_type->input_file->command->flags)%> "<%custom_type-
>input_file%
>"<%if(custom_type->input_file->command->outopt)%> <%custom_type->input_file->command->outopt%> "<%custom_type-
>input_file-
>command-
>outfile%
>"<%endif%><%fornotlast(" &&
")%><%endfor%><%else%><%comment(COMMAND)%><%if(flag_overrides(custom_type->input_file, command))%><%translate_vars(flag_overrides(custom_type->input_file, command))%><%else%><%translate_vars(custom_type->command)%><%endif%> <%comment(COMMANDFLAGS)%><%if(flag_overrides(custom_type->input_file, commandflags))%><%translate_vars(flag_overrides(custom_type->input_file, commandflags))%><%else%><%if(custom_type->commandflags)%><%translate_vars(custom_type->commandflags)%><%endif%><%endif%> <%if(custom_type->output_option)%><%comment(with OUTPUT_OPTION)%>"<%custom_type-
>input_file%
>" <%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)%
><%slash%
><%basename(custom_type-
>input_file-
>output_file)%
><%else%
><%custom_type-
>input_file-
>output_file%
><%endif%
>"<%endfor%><%else%><%comment(without OUTPUT_OPTION)%>"<%custom_type-
>input_file%
>"<%endif%><%endif%><%comment(POSTCOMMAND)%><%if(flag_overrides(custom_type->input_file, postcommand))%> && <%flag_overrides(custom_type->input_file, postcommand)%><%else%><%if(custom_type->postcommand)%> && <%custom_type->postcommand%><%endif%><%endif%><%comment(PCH_POSTRULE)%><%if(pch_header)%><%if(custom_type->pch_postrule)%><%foreach(custom_type->input_file->source_output_files)%> && echo <%quote_echo%>#include "<%pch_header%
>"<%quote_echo%> > <%script_tmpfile%> && <%cat%> "<%if(flag_overrides(custom_type-
>input_file, gendir))%
><%flag_overrides(custom_type-
>input_file, gendir)%
><%slash%
><%basename(custom_type-
>input_file-
>source_output_file)%
><%else%
><%custom_type-
>input_file-
>source_output_file%
><%endif%
>" >> <%script_tmpfile%> && <%mv%> <%script_tmpfile%> "<%if(flag_overrides(custom_type-
>input_file, gendir))%
><%flag_overrides(custom_type-
>input_file, gendir)%
><%slash%
><%basename(custom_type-
>input_file-
>source_output_file)%
><%else%
><%custom_type-
>input_file-
>source_output_file%
><%endif%
>"<%endfor%><%endif%><%endif%><%comment(LINK_SRCDIR_TO_OUTDIR)%><%if(custom_type->input_file->output_files)%> && cd cdt_<%project_name%><%slash%><%platform%>-<%configuration%><%endif%><%foreach(custom_type->input_file->output_files)%> && <%ln%> ..<%slash%>..<%slash%><%if(dirname(custom_type->input_file->output_file))%><%dirname(custom_type->input_file->output_file)%><%slash%><%endif%><%basename(custom_type->input_file->output_file)%> .<%endfor%>
364 customBuildStep=
"true"
365 id=
"mpc.generated.rcbs.<%platform%>.<%configuration%>.<%custom_type%>.<%normalize(custom_type->input_file)%>"
366 name=
"Resource Custom Build Step for <%custom_type%> <%normalize(custom_type->input_file)%> (<%configuration%>)">
368 id=
"mpc.generated.rcbsinput.<%platform%>.<%configuration%>.<%custom_type%>.<%normalize(custom_type->input_file)%>"
369 name=
"Resource Custom Build Step Input Type">
371 kind=
"additionalinputdependency"
372 <%if(flag_overrides(custom_type-
>input_file, dependent) || custom_type-
>dependent || custom_type-
>input_file-
>dependencies || (!need_staticflags && (flag_overrides(custom_type-
>input_file, dependent_libs) || custom_type-
>dependent_libs)))%
>
373 paths=
"<%if(flag_overrides(custom_type->input_file, dependent))%><%foreach(dep, flag_overrides(custom_type->input_file, dependent))%><%translate_vars(dep, 1)%><%if(!has_extension(dep))%><%exe_ext%><%endif%><%fornotlast(";
")%><%endfor%><%else%><%if(custom_type->dependent)%><%foreach(custom_type->dependent)%><%translate_vars(custom_type->dependent, 1)%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%><%fornotlast(";
")%><%endfor%><%endif%><%endif%><%foreach(custom_type->input_file->dependencies)%><%if(flag_overrides(custom_type->input_file, dependent) || custom_type->dependent)%>;<%else%><%fornotfirst(";
")%><%endif%><%translate_vars(custom_type->input_file->dependencie, 1)%><%endfor%><%if(!need_staticflags)%><%if(flag_overrides(custom_type->input_file, dependent_libs))%><%foreach(dep_lib, flag_overrides(custom_type->input_file, dependent_libs))%><%if(flag_overrides(custom_type->input_file, dependent) || custom_type->dependent || custom_type->input_file->dependencies)%>;<%else%><%fornotfirst(";
")%><%endif%><%translate_vars(dirname(dep_lib), 1)%>/<%lib_prefix%><%translate_vars(basename(dep_lib), 1)%><%lib_modifier%><%dll_ext%><%endfor%><%else%><%if(custom_type->dependent_libs)%><%foreach(custom_type->dependent_libs)%><%if(flag_overrides(custom_type->input_file, dependent) || custom_type->dependent || custom_type->input_file->dependencies)%>;<%else%><%fornotfirst(";
")%><%endif%><%translate_vars(dirname(custom_type->dependent_lib), 1)%>/<%lib_prefix%><%translate_vars(basename(custom_type->dependent_lib), 1)%><%lib_modifier%><%dll_ext%><%endfor%><%endif%><%endif%><%endif%>"
378 id=
"mpc.generated.rcbsoutput.<%platform%>.<%configuration%>.<%custom_type%>.<%normalize(custom_type->input_file)%>"
379 name=
"Resource Custom Build Step Output Type"
380 outputNames=
"<%foreach(custom_type->input_file->output_files)%><%if(flag_overrides(custom_type->input_file, gendir))%><%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%fornotlast(";
")%><%endfor%>"
384 <%endif%
><%comment(generates any output)%
><%endfor%
><%comment(input file)%
><%endfor%
><%comment(custom type)%
>
386 <%comment(we may need to change the source_output_files to just output_files below to align it with what's used above)%
>
387 <entry excluding=
"<%foreach(template_files)%><%template_file%>|<%endfor%><%foreach(custom_types)%><%foreach(custom_type->input_files)%><%foreach(custom_type->input_file->source_output_files)%><%custom_type->input_file->source_output_file%>|<%endfor%><%endfor%><%endfor%>" flags=
"VALUE_WORKSPACE_PATH|RESOLVED" kind=
"sourcePath" name=
""/>
389 <%endif%
><%comment(!custom_only)%
>
392 <%foreach(additional_storage_modules)%
>
393 <storageModule moduleId=
"<%additional_storage_module%>"/>
395 <storageModule moduleId=
"scannerConfiguration">
396 <!-- It's not clear what this section does, so it's not clear if it's necessary. In fact, experience suggests that CDT seems to fill in the blanks properly for the platform if it's empty. -->
398 <storageModule moduleId=
"org.eclipse.cdt.core.externalSettings"/>
401 <%endfor%
><%comment(configurations)%
>
402 <%endfor%
><%comment(host_platform)%
>
403 <%endfor%
><%comment(platforms)%
>
405 <storageModule moduleId=
"cdtBuildSystem" version=
"4.0.0">
406 <%foreach(platforms)%
>
408 id=
"<%project_name%>.<%project_element_type_id%>.1"
409 name=
"<%project_type_name%>"
410 projectType=
"<%project_element_type_id%>.<%project_type%>"/>