1 <?xml version=
"<%xml_version("1.0")%>" encoding=
"<%encoding("utf-
8")%>"?>
2 <Project ToolsVersion=
"<%toolsversion%>" xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003">
5 <%if(grouped_source_files)%
>
6 <%foreach(sort(grouped_source_files))%
>
7 <%if(!compares(grouped_source_file, default_group))%
>
8 <Filter Include=
"<%grouped_source_file%>">
9 <UniqueIdentifier>{<%new_guid(grouped_source_file)%
>}
</UniqueIdentifier>
10 <Extensions><%foreach(ext, extensions(source_files))%
><%ext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
15 <Filter Include=
"Source Files">
16 <UniqueIdentifier>{<%new_guid(default_group)%
>}
</UniqueIdentifier>
17 <Extensions><%foreach(ext, extensions(source_files))%
><%ext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
21 <%if(grouped_header_files)%
>
22 <%foreach(sort(grouped_header_files))%
>
23 <%if(!compares(grouped_header_file, default_group))%
>
24 <Filter Include=
"<%grouped_header_file%>">
25 <UniqueIdentifier>{<%new_guid(grouped_header_file)%
>}
</UniqueIdentifier>
26 <Extensions><%foreach(ext, extensions(header_files))%
><%ext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
31 <Filter Include=
"Header Files">
32 <UniqueIdentifier>{<%new_guid('Header Files')%
>}
</UniqueIdentifier>
33 <Extensions><%foreach(ext, extensions(header_files))%
><%ext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
36 <%foreach(custom_types)%
>
37 <%if(custom_type-
>input_files)%
>
38 <Filter Include=
"<%ucw(custom_type)%>">
39 <UniqueIdentifier>{<%new_guid(custom_type)%
>}
</UniqueIdentifier>
40 <%if(custom_type-
>inputexts)%
>
41 <Extensions><%foreach(custom_type-
>inputexts)%
><%custom_type-
>inputext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
47 <%if(grouped_inline_files)%
>
48 <%foreach(sort(grouped_inline_files))%
>
49 <%if(!compares(grouped_inline_file, default_group))%
>
50 <Filter Include=
"<%grouped_inline_file%>">
51 <UniqueIdentifier>{<%new_guid(grouped_inline_file)%
>}
</UniqueIdentifier>
52 <Extensions><%foreach(ext, extensions(inline_files))%
><%ext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
57 <Filter Include=
"Inline Files">
58 <UniqueIdentifier>{<%new_guid('Inline Files')%
>}
</UniqueIdentifier>
59 <Extensions><%foreach(ext, extensions(inline_files))%
><%ext%
><%fornotlast(
";")%
><%endfor%
></Extensions>
62 <%if(template_files)%
>
63 <%if(grouped_template_files)%
>
64 <%foreach(sort(grouped_template_files))%
>
65 <%if(!compares(grouped_template_file, default_group))%
>
66 <Filter Include=
"<%grouped_template_file%>">
67 <UniqueIdentifier>{<%new_guid(grouped_template_file)%
>}
</UniqueIdentifier>
72 <Filter Include=
"Template Files">
73 <UniqueIdentifier>{<%new_guid('Template Files')%
>}
</UniqueIdentifier>
76 <%if(documentation_files)%
>
77 <%if(grouped_documentation_files)%
>
78 <%foreach(sort(grouped_documentation_files))%
>
79 <%if(!compares(grouped_documentation_file, default_group))%
>
80 <Filter Include=
"<%grouped_documentation_file%>">
81 <UniqueIdentifier>{<%new_guid(grouped_documentation_file)%
>}
</UniqueIdentifier>
86 <Filter Include=
"Documentation">
87 <UniqueIdentifier>{<%new_guid('Documentation')%
>}
</UniqueIdentifier>
90 <%if(resource_files && !type_is_static)%
>
91 <%if(grouped_resource_files)%
>
92 <%foreach(sort(grouped_resource_files))%
>
93 <%if(!compares(grouped_resource_file, default_group))%
>
94 <Filter Include=
"<%grouped_resource_file%>">
95 <UniqueIdentifier>{<%new_guid(grouped_resource_file)%
>}
</UniqueIdentifier>
96 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe
</Extensions>
101 <Filter Include=
"Resource Files">
102 <UniqueIdentifier>{<%new_guid('Resource Files')%
>}
</UniqueIdentifier>
103 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe
</Extensions>
107 <%if(exename || sharedname || staticname)%
>
110 <%if(grouped_source_files)%
>
111 <%foreach(sort(grouped_source_files))%
>
112 <%foreach(grouped_source_file-
>files)%
>
113 <ClCompile Include=
"<%grouped_source_file->file%>">
114 <Filter><%grouped_source_file%
></Filter>
119 <%foreach(source_files)%
>
120 <%if(ends_with(source_file,\.def))%
>
121 <None Include=
"<%source_File%>">
122 <Filter>Source Files
</Filter>
125 <%if(ends_with(source_file,\.[io]dl))%
>
126 <Midl Include=
"<%source_File%>">
127 <Filter>Source Files
</Filter>
130 <ClCompile Include=
"<%source_file%>">
131 <Filter>Source Files
</Filter>
142 <%if(grouped_header_files)%
>
143 <%foreach(sort(grouped_header_files))%
>
144 <%foreach(grouped_header_file-
>files)%
>
145 <ClInclude Include=
"<%grouped_header_file->file%>">
146 <Filter><%grouped_header_file%
></Filter>
151 <%foreach(header_files)%
>
152 <ClInclude Include=
"<%header_file%>">
153 <Filter>Header Files
</Filter>
159 <%foreach(custom_types)%
>
160 <%if(custom_type-
>input_files)%
>
162 <%foreach(custom_type-
>input_files)%
>
163 <%if(custom_type-
>input_file-
>output_files)%
>
164 <CustomBuild Include=
"<%custom_type->input_file%>">
165 <Filter><%ucw(custom_type)%
></Filter>
168 <None Include=
"<%custom_type->input_file%>">
169 <Filter><%ucw(custom_type)%
></Filter>
178 <%if(grouped_inline_files)%
>
179 <%foreach(sort(grouped_inline_files))%
>
180 <%foreach(grouped_inline_file-
>files)%
>
181 <None Include=
"<%grouped_inline_file->file%>">
182 <Filter><%grouped_inline_file%
></Filter>
187 <%foreach(inline_files)%
>
188 <None Include=
"<%inline_file%>">
189 <Filter>Inline Files
</Filter>
195 <%if(template_files)%
>
197 <%if(grouped_template_files)%
>
198 <%foreach(sort(grouped_template_files))%
>
199 <%foreach(grouped_template_file-
>files)%
>
200 <ClCompile Include=
"<%grouped_template_file->file%>">
201 <Filter><%grouped_template_file%
></Filter>
206 <%foreach(template_files)%
>
207 <ClCompile Include=
"<%template_file%>">
208 <Filter>Template Files
</Filter>
214 <%if(documentation_files)%
>
216 <%if(grouped_documentation_files)%
>
217 <%foreach(sort(grouped_documentation_files))%
>
218 <%foreach(grouped_documentation_file-
>files)%
>
219 <CustomBuild Include=
"<%grouped_documentation_file->file%>">
220 <Filter><%grouped_documentation_file%
></Filter>
225 <%foreach(documentation_files)%
>
226 <CustomBuild Include=
"<%documentation_file%>">
227 <Filter>Documentation
</Filter>
233 <%if(resource_files && !type_is_static)%
>
235 <%if(grouped_resource_files)%
>
236 <%foreach(sort(grouped_resource_files))%
>
237 <%foreach(grouped_resource_file-
>files)%
>
238 <ResourceCompile Include=
"<%grouped_resource_file->file%>">
239 <Filter><%grouped_resource_file%
></Filter>
244 <%foreach(resource_files)%
>
245 <ResourceCompile Include=
"<%resource_file%>">
246 <Filter>Resource Files
</Filter>