Mon Apr 22 13:57:40 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
[MPC.git] / templates / em3.mpd
bloba9c4f6fb628b886e83d90a5c71e1b61d6027dabc
1 # Microsoft eMbedded Visual Tools Project File - Name="<%project_name%>" - Package Owner=<4>
2 # Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
3 # ** DO NOT EDIT **
5 <%foreach(platforms)%>
6 # TARGTYPE "<%operating_system("Win32")%> (<%platform%>) <%if(exename || sharedname || staticname)%><%if(type_is_static && staticname)%>Static Library<%else%><%type_description%><%endif%><%else%>Dynamic-Link Library<%endif%>" <%type_code%>
7 <%endfor%>
9 CFG=<%project_name%> - <%operating_system("Win32")%> (<%default_platform%>) <%default_configuration%>
10 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
11 !MESSAGE run the tool that generated this project file and specify the
12 !MESSAGE nmake output type.  You can then use the following command:
13 !MESSAGE
14 !MESSAGE NMAKE.
15 !MESSAGE
16 !MESSAGE You can specify a configuration when running NMAKE
17 !MESSAGE by defining the macro CFG on the command line. For example:
18 !MESSAGE
19 !MESSAGE NMAKE CFG="<%project_name%> - <%operating_system%> (<%default_platform%>) <%default_configuration%>"
20 !MESSAGE
21 !MESSAGE Possible choices for configuration are:
22 !MESSAGE
23 <%foreach(platforms)%>
24 <%foreach(configurations)%>
25 !MESSAGE "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>" (based on "<%operating_system%> (<%platform%>) <%if(exename || sharedname || staticname)%><%if(type_is_static && staticname)%>Static Library<%else%><%type_description%><%endif%><%else%>Dynamic-Link Library<%endif%>")
26 <%endfor%>
27 <%endfor%>
28 !MESSAGE
30 # Begin Project
31 # PROP AllowPerConfigDependencies 0
32 # PROP Scc_ProjName ""
33 # PROP Scc_LocalPath ""
34 # PROP ATL_Project <%atl_project("2")%>
36 <%foreach(platforms)%>
37 <%foreach(configurations)%>
38 !<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
40 # PROP Use_MFC <%use_mfc("0")%>
41 # PROP Use_Debug_Libraries <%if(use_debug_libraries)%><%use_debug_libraries%><%else%>0<%endif%>
42 <%if(exename)%>
43 # PROP Output_Dir "<%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%>\<%machine%>"
44 <%endif%>
45 <%if(type_is_static)%>
46 # PROP Output_Dir "<%output_dir%>\<%machine%>"
47 <%endif%>
48 <%if(type_is_dynamic)%>
49 # PROP Output_Dir "<%libout%>\<%machine%>"
50 <%endif%>
51 # PROP Intermediate_Dir "<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>"
52 # PROP CPU_ID "{<%cpu_id%>}"
53 # PROP Platform_ID "{<%platform_id%>}"
54 <%if(type_is_dynamic)%>
55 # PROP Ignore_Export_Lib 0
56 <%endif%>
57 # PROP Target_Dir ""
58 <%if(type_is_static)%>
59 LINK32=link.exe -lib
60 <%endif%>
61 RSC=rc.exe
62 # ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CePlatform)"<%foreach(defines common_defines cpu_defines macros)%> /d <%define%><%endfor%><%foreach(includes)%> /i "<%include%>"<%endfor%> /r
63 CPP=<%cpp("cl.exe")%>
64 # ADD CPP /nologo <%if(optimize)%>/O2<%else%>/Ob0<%endif%> <%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%><%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>/<%endif%>"<%endif%> <%cpu_options%> <%foreach(includes)%>/I "<%include%>" <%endfor%>/D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) <%foreach(defines common_defines cpu_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%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>\<%noextension(pch_header)%>.pch" <%endif%> /FD /Gy /c
65 <%if(compile_flags_removed)%>
66 # SUBTRACT CPP <%compile_flags_removed%>
67 <%endif%>
68 BSC32=bscmake.exe
69 # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%>
70 <%if(type_is_binary)%>
71 LINK32=link.exe
72 # ADD LINK32 <%systemlibs("winsock.lib commctrl.lib coredll.lib iphlpapi.lib")%><%if(link_options)%> <%link_options%><%endif%> /INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%libname_prefix%><%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%> <%endfor%><%foreach(reverse(lit_libs))%><%lit_lib%>.lib <%endfor%><%foreach(reverse(pure_libs))%><%pure_lib%> <%endfor%><%foreach(libpaths)%>/libpath:"<%libpath%>\<%machine%>" <%endfor%>/nologo /base:"<%base("0x00010000")%>" <%if(type_is_dynamic)%> /implib:"<%libout%>\<%machine%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>" /entry:"_DllMainCRTStartup"<%endif%> /nodefaultlib:"$(CENoDefaultLib)<%foreach(ignore_libs)%>,<%ignore_lib%><%endfor%>"<%if(win_version)%> /version:<%win_version%><%endif%><%if(StackReserveSize)%> /stack:<%StackReserveSize%><%if(StackCommitSize)%>,<%StackCommitSize%><%endif%><%endif%> /subsystem:$(CESubsystem) /align:"<%align("4096")%>"<%if(pdbl)%><%if(sharedname)%> /pdb:"<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%machine%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"<%else%><%if(exename)%> /pdb:"<%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%><%output_dir%><%endif%>\<%machine%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"<%endif%><%endif%><%else%> /pdb:none<%endif%> <%if(type_is_dynamic)%> <%if(!source_files)%>/noentry <%endif%>/dll<%endif%> <%if(unicode && unicode_mfc_entry && exename && source_files)%>/entry:"<%unicode_mfc_entry%>" <%endif%><%if(use_debug_libraries)%>/debug <%endif%>/machine:<%machine%> /out:"<%if(sharedname)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%machine%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(exename)%><%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%><%output_dir%><%endif%>\<%machine%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
73 <%if(link_flags_removed)%>
74 # SUBTRACT LINK32 <%link_flags_removed%>
75 <%endif%>
76 <%endif%>
77 <%if(type_is_static)%>
78 LIB32=link.exe -lib
79 # ADD LIB32 /nologo /out:"<%libout%>\<%machine%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
80 <%endif%>
81 <%if(postbuild)%>
82 # Begin Special Build Tool
83 SOURCE="$(InputPath)"
84 PostBuild_Cmds=<%eval(postbuild)%>
85 # End Special Build Tool
86 <%endif%>
88 <%endfor%>
89 !ENDIF
90 <%endfor%>
93 # Begin Target
95 <%foreach(platforms)%>
96 <%foreach(configurations)%>
97 # Name "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
98 <%endfor%>
99 <%endfor%>
100 <%if(exename || sharedname || staticname)%>
101 # Begin Group "Source Files"
103 # PROP Default_Filter "<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>"
104 <%if(pch_source)%>
105 <%if(pch_header)%>
106 # Begin Source File
108 SOURCE="<%pch_source%>"
109 # ADD CPP /Yc"<%pch_header%>"
110 # End Source File
111 <%endif%>
112 <%endif%>
113 <%if(grouped_source_files)%>
114 <%foreach(sort(grouped_source_files))%>
115 # Begin Group "<%grouped_source_file%>"
117 # PROP Default_Filter ""
118 <%foreach(grouped_source_file->files)%>
119 # Begin Source File
121 SOURCE="<%grouped_source_file->file%>"
122 <%if(duplicate_index(grouped_source_file->file))%>
123 <%foreach(platforms)%>
124 <%foreach(configurations)%>
125 !<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
126 # ADD CPP <%if(flag_overrides(grouped_source_file->file, buildflags))%><%flag_overrides(grouped_source_file->file, buildflags)%> <%endif%>/Fo"<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>\<%basenoextension(grouped_source_file->file)%><%duplicate_index(grouped_source_file->file)%>.obj"
127 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
128 # SUBTRACT CPP /YX /Yc /Yu
129 <%endif%>
130 <%endfor%>
131 !ENDIF
132 <%endfor%>
133 <%else%>
134 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
135 # ADD CPP <%flag_overrides(grouped_source_file->file, buildflags)%>
136 <%endif%>
137 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
138 # SUBTRACT CPP /YX /Yc /Yu
139 <%endif%>
140 <%endif%>
141 # End Source File
142 <%endfor%>
143 # End Group
144 <%endfor%>
145 <%else%>
146 <%foreach(source_files)%>
147 # Begin Source File
149 SOURCE="<%source_file%>"
150 <%if(duplicate_index(source_file))%>
151 <%foreach(platforms)%>
152 <%foreach(configurations)%>
153 !<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
154 # ADD CPP <%if(flag_overrides(source_file, buildflags))%><%flag_overrides(source_file, buildflags)%> <%endif%>/Fo"<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>\<%basenoextension(source_file)%><%duplicate_index(source_file)%>.obj"
155 <%if(flag_overrides(source_file, no_pch))%>
156 # SUBTRACT CPP /YX /Yc /Yu
157 <%endif%>
158 <%endfor%>
159 !ENDIF
160 <%endfor%>
161 <%else%>
162 <%if(flag_overrides(source_file, buildflags))%>
163 # ADD CPP <%flag_overrides(source_file, buildflags)%>
164 <%endif%>
165 <%if(flag_overrides(source_file, no_pch))%>
166 # SUBTRACT CPP /YX /Yc /Yu
167 <%endif%>
168 <%endif%>
169 # End Source File
170 <%endfor%>
171 <%endif%>
172 # End Group
173 <%endif%>
174 <%if(header_files)%>
175 # Begin Group "Header Files"
177 # PROP Default_Filter "<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>"
178 <%if(pch_header)%>
179 # Begin Source File
181 SOURCE="<%pch_header%>"
182 # End Source File
183 <%endif%>
184 <%if(grouped_header_files)%>
185 <%foreach(sort(grouped_header_files))%>
186 # Begin Group "<%grouped_header_file%>"
188 # PROP Default_Filter ""
189 <%foreach(grouped_header_file->files)%>
190 # Begin Source File
192 SOURCE="<%grouped_header_file->file%>"
193 # End Source File
194 <%endfor%>
195 # End Group
196 <%endfor%>
197 <%else%>
198 <%foreach(header_files)%>
199 # Begin Source File
201 SOURCE="<%header_file%>"
202 # End Source File
203 <%endfor%>
204 <%endif%>
205 # End Group
206 <%endif%>
207 <%if(inline_files)%>
208 # Begin Group "Inline Files"
210 # PROP Default_Filter "<%foreach(ext, extensions(inline_files))%><%ext%><%fornotlast(";")%><%endfor%>"
211 <%if(grouped_inline_files)%>
212 <%foreach(sort(grouped_inline_files))%>
213 # Begin Group "<%grouped_inline_file%>"
215 # PROP Default_Filter ""
216 <%foreach(grouped_inline_file->files)%>
217 # Begin Source File
219 SOURCE="<%grouped_inline_file->file%>"
220 # End Source File
221 <%endfor%>
222 # End Group
223 <%endfor%>
224 <%else%>
225 <%foreach(inline_files)%>
226 # Begin Source File
228 SOURCE="<%inline_file%>"
229 # End Source File
230 <%endfor%>
231 <%endif%>
232 # End Group
233 <%endif%>
234 <%if(template_files)%>
235 # Begin Group "Template Files"
237 # PROP Default_Filter ""
238 <%if(grouped_template_files)%>
239 <%foreach(sort(grouped_template_files))%>
240 # Begin Group "<%grouped_template_file%>"
242 # PROP Default_Filter ""
243 <%foreach(grouped_template_file->files)%>
244 # Begin Source File
246 SOURCE="<%grouped_template_file->file%>"
247 # PROP Exclude_From_Build 1
248 # End Source File
249 <%endfor%>
250 # End Group
251 <%endfor%>
252 <%else%>
253 <%foreach(template_files)%>
254 # Begin Source File
256 SOURCE="<%template_file%>"
257 # PROP Exclude_From_Build 1
258 # End Source File
259 <%endfor%>
260 <%endif%>
261 # End Group
262 <%endif%>
263 <%if(documentation_files)%>
264 # Begin Group "Documentation"
266 # PROP Default_Filter ""
267 <%if(grouped_documentation_files)%>
268 <%foreach(sort(grouped_documentation_files))%>
269 # Begin Group "<%grouped_documentation_file%>"
271 # PROP Default_Filter ""
272 <%foreach(grouped_documentation_file->files)%>
273 # Begin Source File
275 SOURCE="<%grouped_documentation_file->file%>"
276 # End Source File
277 <%endfor%>
278 # End Group
279 <%endfor%>
280 <%else%>
281 <%foreach(documentation_files)%>
282 # Begin Source File
284 SOURCE="<%documentation_file%>"
285 # End Source File
286 <%endfor%>
287 <%endif%>
288 # End Group
289 <%endif%>
290 <%if(resource_files && !type_is_static)%>
291 # Begin Group "Resource Files"
293 # PROP Default_Filter "rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
294 <%if(grouped_resource_files)%>
295 <%foreach(sort(grouped_resource_files))%>
296 # Begin Group "<%grouped_resource_file%>"
298 # PROP Default_Filter ""
299 <%foreach(grouped_resource_file->files)%>
300 # Begin Source File
302 SOURCE="<%grouped_resource_file->file%>"
303 # End Source File
304 <%endfor%>
305 # End Group
306 <%endfor%>
307 <%else%>
308 <%foreach(resource_files)%>
309 # Begin Source File
311 SOURCE="<%resource_file%>"
312 # End Source File
313 <%endfor%>
314 <%endif%>
315 # End Group
316 <%endif%>
317 <%foreach(custom_types)%>
318 <%if(custom_type->input_files)%>
319 # Begin Group "<%ucw(custom_type)%>"
321 # PROP Default_Filter "<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>"
322 <%foreach(custom_type->input_files)%>
323 # Begin Source File
325 SOURCE="<%custom_type->input_file%>"
326 <%if(custom_type->input_file->output_files)%>
328 <%foreach(platforms)%>
329 <%foreach(configurations)%>
330 !<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
332 <%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)))%>
333 USERDEP__<%basenoextension(custom_type->input_file)%>=<%if(flag_overrides(custom_type->input_file, dependent))%><%foreach(dep, flag_overrides(custom_type->input_file, dependent))%>"<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%else%><%if(custom_type->dependent)%><%foreach(custom_type->dependent)%>"<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%endif%><%endif%><%if(custom_type->input_file->dependencies)%><%foreach(custom_type->input_file->dependencies)%><%if(flag_overrides(custom_type->input_file, dependent) || custom_type->dependent)%> <%else%><%fornotfirst(" ")%><%endif%>"<%custom_type->input_file->dependencie%>"<%endfor%><%endif%><%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%>"<%dirname(dep_lib)%>\<%machine%>\<%libname_prefix%><%basename(dep_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_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%>"<%dirname(custom_type->dependent_lib)%>\<%machine%>\<%libname_prefix%><%basename(custom_type->dependent_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"<%endfor%><%endif%><%endif%><%endif%>
334 <%endif%>
335 # PROP Ignore_Default_Tool 1
336 # Begin Custom Build - Invoking <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> on $(InputPath)
337 InputPath="<%custom_type->input_file%>"
339 BuildCmds= \
340 <%if(custom_type->libpath)%>
341         PATH=%PATH%;<%custom_type->libpath%> \
342 <%endif%>
343 <%if(flag_overrides(custom_type->input_file, gendir))%>
344         mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
345 <%endif%>
346         <%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)%>$(InputPath) <%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%><%else%>$(InputPath)<%endif%> \
347 <%if(flag_overrides(custom_type->input_file, postcommand))%>
348 <%foreach(custom_type->input_file)%>
349         <%flag_overrides(custom_type->input_file, postcommand)%> \
350 <%endfor%>
351 <%else%>
352 <%if(custom_type->postcommand)%>
353 <%foreach(custom_type->input_file)%>
354         <%custom_type->postcommand%> \
355 <%endfor%>
356 <%endif%>
357 <%endif%>
358 <%if(pch_header)%>
359 <%if(custom_type->pch_postrule)%>
360 <%foreach(custom_type->input_file->source_output_files)%>
361         echo #include "<%pch_header%>" > temporary.src \
362         type "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>" >> temporary.src \
363         move /y temporary.src "<%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>"
364 <%endfor%>
365 <%endif%>
366 <%endif%>
367 <%foreach(custom_type->input_file->output_files)%>
369 "<%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%>" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
370    $(BuildCmds)
371 <%endfor%>
372 # End Custom Build
374 <%endfor%>
375 !ENDIF
376 <%endfor%>
378 <%else%>
379 # PROP Exclude_From_Build 1
380 <%endif%>
381 # End Source File
382 <%endfor%>
383 # End Group
384 <%endif%>
385 <%endfor%>
386 # End Target
387 # End Project