Merge pull request #127 from DOCGroup/jwillemsen-patch-1
[MPC.git] / templates / wb26wrproject.mpd
blob8f67c56d1b99d25ad464b561b4dacd897e3c19a4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <%foreach(platform)%><%comment(there can't be more than one active platform but using a foreach allows platform settings to be grouped in scopes in the mpt files)%><wrxml>
3 <properties platform="<%if(!no_platform_in_wrproject)%><%platform%><%endif%>" <%if(platform_name)%>platform_name="<%platform_name%>" <%endif%>root="1" type="<%project_type%>"/>
4 <%if(after && !disable_subprojects)%>
5 <subprojects>
6 <!-- MPC ADD DEPENDENCIES -->
7 </subprojects>
8 <%endif%>
9 <attributes>
10 <mapAttribute>
11 <listAttribute key="BLD::Info|GlobalMacros">
12 <stringAttribute value="PROJECT_TYPE"/>
13 <stringAttribute value="DEFINES"/>
14 <%if(compares(platform, VxWorks))%>
15 <%if(sharedname || staticname)%>
16 <stringAttribute value="DO_STRIP"/>
17 <stringAttribute value="SHAREDLIB_VERSION"/>
18 <%endif%>
19 <stringAttribute value="EXPAND_DBG"/>
20 <stringAttribute value="LIBPATH"/>
21 <stringAttribute value="LIBS"/>
22 <stringAttribute value="PARTIAL_LIBS"/>
23 <%endif%>
24 </listAttribute>
25 <stringAttribute key="BLD::Info|GlobalMacro|DEFINES" value="<%foreach(defines common_defines macros)%>-D<%define%> <%endfor%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>-D<%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>-D<%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>-D<%pch_define%> <%endfor%><%endif%>"/>
26 <stringAttribute key="BLD::Info|GlobalMacro|PROJECT_TYPE" value="<%if(project_type_macro)%><%project_type_macro%><%else%><%if(exename)%>APP<%endif%><%endif%>"/>
27 <%if(compares(platform, VxWorks))%>
28 <stringAttribute key="BLD::Info|GlobalMacro|EXPAND_DBG" value="0"/>
29 <stringAttribute key="BLD::Info|GlobalMacro|LIBPATH" value="<%foreach(libpaths)%><%fornotfirst(" ")%>-L<%libpath%><%endfor%>"/>
30 <stringAttribute key="BLD::Info|GlobalMacro|PARTIAL_LIBS" value="<%foreach(libs)%><%fornotfirst(" ")%>-l<%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%if(!standard_build)%><%lib_ext%><%endif%><%endfor%><%foreach(lit_libs)%> <%lit_lib%>.lib<%endfor%><%foreach(pure_libs)%> <%pure_lib%><%endfor%>"/>
31 <stringAttribute key="BLD::Info|GlobalMacro|LIBS" value=""/>
32 <%if(sharedname || staticname)%>
33 <stringAttribute key="BLD::Info|GlobalMacro|DO_STRIP" value="0"/>
34 <stringAttribute key="BLD::Info|GlobalMacro|SHAREDLIB_VERSION" value=""/>
35 <%endif%>
36 <%endif%>
37 <%foreach(buildspecs)%>
38 <listAttribute key="BLD::Info|Incl|<%buildspec%>">
39 <%foreach(includes platform_includes)%>
40 <stringAttribute value="-I<%if(!standard_build && !starts_with(include, [/\\\$]))%><%if(make_coexistence)%>../<%endif%>../<%endif%><%include%>"/>
41 <%endfor%>
42 </listAttribute>
43 <%endfor%>
44 <listAttribute key="BLD::Info|Macros">
45 <%foreach(wrprj_macros)%>
46 <stringAttribute value="<%wrprj_macro%>"/>
47 <%endfor%>
48 </listAttribute>
49 <%foreach(buildspecs)%>
50 <%foreach(sort(wrprj_macros))%>
51 <%if(compares(wrprj_macro, LIBPATH))%>
52 <stringAttribute key="BLD::Info|Macro|LIBPATH|value|<%buildspec%>" value="<%foreach(libpaths)%><%fornotfirst(" ")%>-L<%if(!standard_build && !starts_with(libpath, [/\\\$]))%><%if(make_coexistence)%>../<%endif%>../<%endif%><%translate_vars(libpath, 1)%><%endfor%>"/>
53 <%else%>
54 <%if(compares(wrprj_macro, LIBS))%>
55 <stringAttribute key="BLD::Info|Macro|LIBS|value|<%buildspec%>" value="<%foreach(libs)%><%fornotfirst(" ")%>-l<%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%endfor%><%foreach(lit_libs)%> <%lit_lib%>.lib<%endfor%><%foreach(pure_libs)%> <%pure_lib%><%endfor%>"/>
56 <%else%>
57 <stringAttribute key="BLD::Info|Macro|<%wrprj_macro%>|value|<%buildspec%>" value="<%deref(wrprj_macro)%>"/>
58 <%endif%>
59 <%endif%>
60 <%endfor%>
61 <%endfor%>
62 <listAttribute key="BLD::Info|Tools">
63 <stringAttribute value="C-Compiler"/>
64 <stringAttribute value="C++-Compiler"/>
65 <%if(compares(platform, VxWorks))%>
66 <%if(sharedname || staticname)%>
67 <stringAttribute value="Linker"/>
68 <stringAttribute value="Partial Image Linker"/>
69 <%endif%>
70 <%endif%>
71 <stringAttribute value="Librarian"/>
72 <%if(!compares(platform, VxWorks))%>
73 <stringAttribute value="C-Linker"/>
74 <stringAttribute value="C++-Linker"/>
75 <%endif%>
76 <stringAttribute value="Assembler"/>
77 </listAttribute>
78 <%foreach(buildspecs)%>
79 <stringAttribute key="BLD::Info|Tool|Assembler|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%assemblerprefix% $(TOOL_PATH)<%cxx%> %DebugModeFlags% %ToolFlags% $(ADDED_CFLAGS) %Includes% $(ADDED_INCLUDES) <%platform_asflags%> $(DEFINES) -o %OutFile% -c %InFile%"/>
80 <stringAttribute key="BLD::Info|Tool|Assembler|dbgFlags|<%buildspec%>" value="<%ass_dbgflags%>"/>
81 <stringAttribute key="BLD::Info|Tool|Assembler|derivedSigs|<%buildspec%>" value="<%ass_derivedsigs%>"/>
82 <stringAttribute key="BLD::Info|Tool|Assembler|flags|<%buildspec%>" value="$(CC_ARCH_SPEC) <%ass_flags%><%if(sharedname && pic)%> <%pic%><%endif%>"/>
83 <stringAttribute key="BLD::Info|Tool|Assembler|nonDbgFlags|<%buildspec%>" value="<%ass_nondbgflags%>"/>
84 <%endfor%>
85 <booleanAttribute key="BLD::Info|Tool|Assembler|object" value="true"/>
86 <booleanAttribute key="BLD::Info|Tool|Assembler|passAble" value="false"/>
87 <stringAttribute key="BLD::Info|Tool|Assembler|sigs" value="*.s"/>
88 <%foreach(buildspecs)%>
89 <stringAttribute key="BLD::Info|Tool|C++-Compiler|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%cppcompilerprefix% $(TOOL_PATH)<%cxx%> %DebugModeFlags% %ToolFlags% $(ADDED_C++FLAGS) %Includes% $(ADDED_INCLUDES) <%platform_cxxflags%> $(DEFINES) -o %OutFile% -c %InFile%"/>
90 <stringAttribute key="BLD::Info|Tool|C++-Compiler|dbgFlags|<%buildspec%>" value="<%cxx_dbgflags%>"/>
91 <stringAttribute key="BLD::Info|Tool|C++-Compiler|derivedSigs|<%buildspec%>" value="<%cxx_derivedsigs%>"/>
92 <stringAttribute key="BLD::Info|Tool|C++-Compiler|flags|<%buildspec%>" value="$(CC_ARCH_SPEC) <%cxx_flags%><%if(sharedname && pic)%> <%pic%><%endif%>"/>
93 <stringAttribute key="BLD::Info|Tool|C++-Compiler|nonDbgFlags|<%buildspec%>" value="<%cxx_nondbgflags%>"/>
94 <%endfor%>
95 <booleanAttribute key="BLD::Info|Tool|C++-Compiler|object" value="true"/>
96 <booleanAttribute key="BLD::Info|Tool|C++-Compiler|passAble" value="false"/>
97 <stringAttribute key="BLD::Info|Tool|C++-Compiler|sigs" value="<%foreach(ext, extensions(source_files))%>*.<%ext%><%fornotlast(";")%><%endfor%>"/>
98 <%if(!compares(platform, VxWorks))%>
99 <%foreach(buildspecs)%>
100 <stringAttribute key="BLD::Info|Tool|C++-Linker|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%cpplinkerprefix% $(TOOL_PATH)<%cxx%> %DebugModeFlags% %ToolFlags% -o %OutFile% %Objects% $(ADDED_OBJECTS) %Libraries% $(LIBPATH) $(LIBS) $(ADDED_LIBPATH) $(ADDED_LIBS)"/>
101 <stringAttribute key="BLD::Info|Tool|C++-Linker|dbgFlags|<%buildspec%>" value=""/>
102 <stringAttribute key="BLD::Info|Tool|C++-Linker|derivedSigs|<%buildspec%>" value="<%if(sharedname)%>*<%dll_ext%><%else%><%cxxlnk_derivedsigs("*")%><%endif%>"/>
103 <stringAttribute key="BLD::Info|Tool|C++-Linker|flags|<%buildspec%>" value="<%if(sharedname && shflags)%><%shflags%><%endif%>"/>
104 <stringAttribute key="BLD::Info|Tool|C++-Linker|nonDbgFlags|<%buildspec%>" value=""/>
105 <%endfor%>
106 <booleanAttribute key="BLD::Info|Tool|C++-Linker|object" value="false"/>
107 <booleanAttribute key="BLD::Info|Tool|C++-Linker|passAble" value="false"/>
108 <stringAttribute key="BLD::Info|Tool|C++-Linker|sigs" value=""/>
109 <%endif%>
110 <%foreach(buildspecs)%>
111 <stringAttribute key="BLD::Info|Tool|C-Compiler|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%ccompilerprefix% $(TOOL_PATH)<%if(cc)%><%cc%><%else%><%cxx%><%endif%> %DebugModeFlags% %ToolFlags% $(ADDED_CFLAGS) %Includes% $(ADDED_INCLUDES) <%platform_ccflags%> $(DEFINES) -o %OutFile% -c %InFile%"/>
112 <stringAttribute key="BLD::Info|Tool|C-Compiler|dbgFlags|<%buildspec%>" value="<%c_dbgflags%>"/>
113 <stringAttribute key="BLD::Info|Tool|C-Compiler|derivedSigs|<%buildspec%>" value="<%c_derivedsigs%>"/>
114 <stringAttribute key="BLD::Info|Tool|C-Compiler|flags|<%buildspec%>" value="$(CC_ARCH_SPEC) <%c_flags%><%if(sharedname && pic)%> <%pic%><%endif%>"/>
115 <stringAttribute key="BLD::Info|Tool|C-Compiler|nonDbgFlags|<%buildspec%>" value="<%c_nondbgflags%>"/>
116 <%endfor%>
117 <booleanAttribute key="BLD::Info|Tool|C-Compiler|object" value="true"/>
118 <booleanAttribute key="BLD::Info|Tool|C-Compiler|passAble" value="false"/>
119 <stringAttribute key="BLD::Info|Tool|C-Compiler|sigs" value="*.c"/>
120 <%if(!compares(platform, VxWorks))%>
121 <%foreach(buildspecs)%>
122 <stringAttribute key="BLD::Info|Tool|C-Linker|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%clinkerprefix% $(TOOL_PATH)<%if(cc)%><%cc%><%else%><%cxx%><%endif%> %DebugModeFlags% %ToolFlags% -o %OutFile% %Objects% $(ADDED_OBJECTS) %Libraries% $(LIBPATH) $(LIBS) $(ADDED_LIBPATH) $(ADDED_LIBS)"/>
123 <stringAttribute key="BLD::Info|Tool|C-Linker|dbgFlags|<%buildspec%>" value=""/>
124 <stringAttribute key="BLD::Info|Tool|C-Linker|derivedSigs|<%buildspec%>" value="<%if(sharedname)%>*<%dll_ext%><%else%><%clnk_derivedsigs("*")%><%endif%>"/>
125 <stringAttribute key="BLD::Info|Tool|C-Linker|flags|<%buildspec%>" value="<%if(sharedname && shflags)%><%shflags%><%endif%>"/>
126 <stringAttribute key="BLD::Info|Tool|C-Linker|nonDbgFlags|<%buildspec%>" value=""/>
127 <%endfor%>
128 <booleanAttribute key="BLD::Info|Tool|C-Linker|object" value="false"/>
129 <booleanAttribute key="BLD::Info|Tool|C-Linker|passAble" value="false"/>
130 <stringAttribute key="BLD::Info|Tool|C-Linker|sigs" value=""/>
131 <%endif%>
132 <%foreach(buildspecs)%>
133 <stringAttribute key="BLD::Info|Tool|Librarian|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%archiverprefix% $(TOOL_PATH)<%ar%> %ToolFlags% %OutFile% <%librarian_objects%> $(ADDED_OBJECTS)"/>
134 <stringAttribute key="BLD::Info|Tool|Librarian|dbgFlags|<%buildspec%>" value="<%ar_dbgflags%>"/>
135 <stringAttribute key="BLD::Info|Tool|Librarian|derivedSigs|<%buildspec%>" value="*<%ar_derivedsigs%>"/>
136 <stringAttribute key="BLD::Info|Tool|Librarian|flags|<%buildspec%>" value="<%ar_flags%>"/>
137 <stringAttribute key="BLD::Info|Tool|Librarian|nonDbgFlags|<%buildspec%>" value="<%ar_nondbgflags%>"/>
138 <%endfor%>
139 <booleanAttribute key="BLD::Info|Tool|Librarian|object" value="false"/>
140 <booleanAttribute key="BLD::Info|Tool|Librarian|passAble" value="true"/>
141 <stringAttribute key="BLD::Info|Tool|Librarian|sigs" value=""/>
142 <%if(compares(platform, VxWorks))%>
143 <%foreach(buildspecs)%>
144 <stringAttribute key="BLD::Info|Tool|Linker|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;rm -f %OutFile%;<%nm%> %Objects% $(ADDED_OBJECTS) %Libraries% | tclsh $(WIND_BASE)/host/resource/hutils/tcl/munch.tcl -c <%munchflag%> &gt; $(OBJ_DIR)/ctdt.c;%ccompilerprefix% $(TOOL_PATH)<%cxx%> %DebugModeFlags% $(CC_ARCH_SPEC) -fdollars-in-identifiers -Wall $(ADDED_CFLAGS) %Includes% $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o $(OBJ_DIR)/ctdt.o -c $(OBJ_DIR)/ctdt.c;%linkerprefix% $(TOOL_PATH)<%cxx%> -r -nostdlib -Wl,-X %ToolFlags% -o %OutFile% $(OBJ_DIR)/ctdt.o %Objects% $(ADDED_OBJECTS) %Libraries% $(LIBPATH) $(LIBS) $(ADDED_LIBPATH) $(ADDED_LIBS) &amp;&amp; if [ &quot;$(EXPAND_DBG)&quot; = &quot;1&quot; ]; then plink &quot;$@&quot;;fi"/>
145 <stringAttribute key="BLD::Info|Tool|Linker|dbgFlags|<%buildspec%>" value="<%linker_dbgflags%>"/>
146 <stringAttribute key="BLD::Info|Tool|Linker|derivedSigs|<%buildspec%>" value="<%if(exename)%>*<%exe_ext%><%else%>*<%lib_ext%><%endif%>"/>
147 <stringAttribute key="BLD::Info|Tool|Linker|flags|<%buildspec%>" value="<%linker_flags%>"/>
148 <stringAttribute key="BLD::Info|Tool|Linker|nonDbgFlags|<%buildspec%>" value="<%linker_nondbgflags%>"/>
149 <%endfor%>
150 <booleanAttribute key="BLD::Info|Tool|Linker|object" value="false"/>
151 <booleanAttribute key="BLD::Info|Tool|Linker|passAble" value="false"/>
152 <stringAttribute key="BLD::Info|Tool|Linker|sigs" value=""/>
153 <%foreach(buildspecs)%>
154 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%linkerprefix% $(TOOL_PATH)<%cxx%> -r -nostdlib -Wl,-X %ToolFlags% -o %OutFile% %Objects% $(ADDED_OBJECTS) $(LIBPATH) <%if(linkflags)%> <%linkflags%><%endif%><%if(link_groups)%> -Wl,--start-group<%endif%> $(PARTIAL_LIBS) $(LIBS) <%if(link_groups)%>-Wl,--end-group<%endif%> $(ADDED_LIBPATH) $(ADDED_LIBS) &amp;&amp; if [ &quot;$(EXPAND_DBG)&quot; = &quot;1&quot; ]; then plink &quot;$@&quot;;fi"/>
155 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|dbgFlags|<%buildspec%>" value="<%part_dbgflags%>"/>
156 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|derivedSigs|<%buildspec%>" value="<%part_derivedsigs%>"/>
157 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|flags|<%buildspec%>" value="<%part_flags%>"/>
158 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|nonDbgFlags|<%buildspec%>" value="<%part_nondbgflags%>"/>
159 <%endfor%>
160 <booleanAttribute key="BLD::Info|Tool|Partial Image Linker|object" value="false"/>
161 <booleanAttribute key="BLD::Info|Tool|Partial Image Linker|passAble" value="true"/>
162 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|sigs" value=""/>
163 <%endif%>
164 <stringAttribute key="BLD::Info|cmd" value="%makeprefix% make --no-print-directory"/>
165 <stringAttribute key="BLD::Info|defaultSpec" value="<%default_buildspec%>"/>
166 <%foreach(buildspecs)%>
167 <stringAttribute key="BLD::Info|redirDir|<%buildspec%>" value="<%buildspec%>"/>
168 <%endfor%>
169 <stringAttribute key="BLD::Info|redirRoot" value=""/>
170 <listAttribute key="BLD::Info|specs">
171 <%foreach(buildspecs)%>
172 <stringAttribute value="<%buildspec%>"/>
173 <%endfor%>
174 </listAttribute>
175 <intAttribute key="BuildSupportEnabled" value="1"/>
176 <%if(standard_build)%>
177 <booleanAttribute key="BuildTargetCentric" value="false"/>
178 <%if(exename || sharedname || staticname)%>
179 <listAttribute key="BLD::Tgt|Targets">
180 <stringAttribute value="<%if(exename)%><%exename%><%else%><%if(staticname)%><%lib_prefix%><%staticname%><%else%><%lib_prefix%><%sharedname%><%endif%><%endif%>"/>
181 <%if(exename)%>
182 <stringAttribute value="<%exename%>_partialImage"/>
183 <%endif%>
184 </listAttribute>
185 <%if(exename)%>
186 <stringAttribute key="BLD::Tgt|Target|<%exename%>_partialImage|ToolName" value="Partial Image Linker"/>
187 <booleanAttribute key="BLD::Tgt|Target|<%exename%>_partialImage|passed" value="true"/>
188 <listAttribute key="BLD::Tgt|Target|<%exename%>_partialImage|refs"/>
189 <%endif%>
190 <stringAttribute key="BLD::Tgt|Target|<%if(exename)%><%exename%><%else%><%if(staticname)%><%lib_prefix%><%staticname%><%else%><%lib_prefix%><%sharedname%><%endif%><%endif%>|ToolName" value="<%if(sharedname || staticname)%>Librarian<%else%>Linker<%endif%>"/>
191 <booleanAttribute key="BLD::Tgt|Target|<%if(exename)%><%exename%><%else%><%if(staticname)%><%lib_prefix%><%staticname%><%else%><%lib_prefix%><%sharedname%><%endif%><%endif%>|passed" value="false"/>
192 <listAttribute key="BLD::Tgt|Target|<%if(exename)%><%exename%><%else%><%if(staticname)%><%lib_prefix%><%staticname%><%else%><%lib_prefix%><%sharedname%><%endif%><%endif%>|refs"<%if(!exename)%>/<%endif%>>
193 <%if(exename)%>
194 <stringAttribute value="<%exename%>_partialImage"/>
195 </listAttribute>
196 <%endif%>
197 <%endif%>
198 <%else%>
199 <booleanAttribute key="BuildTargetCentric" value="true"/>
200 <%endif%>
201 </mapAttribute>
202 </attributes>
203 <%if(!standard_build)%>
204 <buildtargets>
205 <%if(exename)%>
206 <buildtarget buildtool="<%exe_buildtool%>" name="<%exename%>" passed="true" targetname="<%exename%>">
207 <%else%>
208 <%if(sharedname && !compares(platform, VxWorks))%>
209 <%foreach(buildspecs)%>
210 <buildtarget buildtool="<%dll_buildtool%>" name="<%dll_prefix%><%sharedname%>" passed="true" targetname="<%sharedname%>_<%buildspec%>">
211 <attributes>
212 <mapAttribute>
213 <listAttribute key="BuildSupportForBuildSpecs">
214 <stringAttribute value="<%buildspec%>"/>
215 </listAttribute>
216 </mapAttribute>
217 </attributes>
218 <contents>
219 <%foreach(source_files)%>
220 <file name="/<%project_prefix%><%project_name%>/<%source_file%>"/>
221 <%endfor%>
222 <%foreach(source_dirs)%>
223 <folder name="/<%source_dir%>" recursive="false"/>
224 <%endfor%>
225 </contents>
226 </buildtarget>
227 <%endfor%>
228 <%else%>
229 <%if(staticname || sharedname)%>
230 <buildtarget buildtool="Librarian" name="<%lib_prefix%><%staticname%>" passed="true" targetname="<%staticname%>">
231 <%else%>
232 <buildtarget buildtool="CustomOnly" name="" passed="false" targetname="">
233 <%endif%>
234 <%endif%>
235 <%endif%>
236 <%if(!sharedname || compares(platform, VxWorks))%>
237 <contents>
238 <%if(exename && compares(platform, VxWorks))%>
239 <buildtargetreference name="/<%project_prefix%><%project_name%>/PartialImage"/>
240 <%else%>
241 <%foreach(source_files)%>
242 <file name="/<%project_prefix%><%project_name%>/<%source_file%>"/>
243 <%endfor%>
244 <%foreach(source_dirs)%>
245 <folder name="/<%source_dir%>" recursive="false"/>
246 <%endfor%>
247 <%endif%>
248 </contents>
249 </buildtarget>
250 <%endif%>
251 <%if(exename && compares(platform, VxWorks))%>
252 <buildtarget buildtool="Partial Image Linker" name="PartialImage" passed="true" targetname="PartialImage">
253 <attributes>
254 <mapAttribute>
255 <%foreach(buildspecs)%>
256 <stringAttribute key="BLD::Info|Tool|Partial Image Linker|cmd|<%buildspec%>" value="echo &quot;building $@&quot;;%linkerprefix% $(TOOL_PATH)<%cxx%> -r -nostdlib -Wl,-X %ToolFlags% -o %OutFile% %Objects% $(ADDED_OBJECTS) $(LIBPATH) <%if(linkflags)%> <%linkflags%><%endif%><%if(link_groups)%> -Wl,--start-group<%endif%> $(PARTIAL_LIBS) $(LIBS) <%if(link_groups)%>-Wl,--end-group<%endif%> $(ADDED_LIBPATH) $(ADDED_LIBS) &amp;&amp; if [ &quot;$(EXPAND_DBG)&quot; = &quot;1&quot; ]; then plink &quot;$@&quot;;fi"/>
257 <%endfor%>
258 </mapAttribute>
259 </attributes>
260 <contents>
261 <%if(pch_source)%>
262 <file name="/<%project_prefix%><%project_name%>/<%pch_source%>"/>
263 <%endif%>
264 <%foreach(source_files)%>
265 <file name="/<%project_prefix%><%project_name%>/<%source_file%>"/>
266 <%endfor%>
267 <%foreach(source_dirs)%>
268 <folder name="/<%source_dir%>" recursive="false"/>
269 <%endfor%>
270 </contents>
271 </buildtarget>
272 <%endif%>
273 </buildtargets>
274 <%endif%>
275 </wrxml>
276 <%endfor%>