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
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%>
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:
16 !MESSAGE You can specify a configuration when running NMAKE
17 !MESSAGE by defining the macro CFG on the command line. For example:
19 !MESSAGE NMAKE CFG="<%project_name%> - <%operating_system%> (<%default_platform%>) <%default_configuration%>"
21 !MESSAGE Possible choices for configuration are:
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%>")
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%>
43 # PROP Output_Dir "<%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%>\<%machine%>"
45 <%if(type_is_static)%>
46 # PROP Output_Dir "<%output_dir%>\<%machine%>"
48 <%if(type_is_dynamic)%>
49 # PROP Output_Dir "<%libout%>\<%machine%>"
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
58 <%if(type_is_static)%>
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
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%>
69 # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%>
70 <%if(type_is_binary)%>
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%>
77 <%if(type_is_static)%>
79 # ADD LIB32 /nologo /out:"<%libout%>\<%machine%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
82 # Begin Special Build Tool
84 PostBuild_Cmds=<%eval(postbuild)%>
85 # End Special Build Tool
95 <%foreach(platforms)%>
96 <%foreach(configurations)%>
97 # Name "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
100 <%if(exename || sharedname || staticname)%>
101 # Begin Group "Source Files"
103 # PROP Default_Filter "<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>"
108 SOURCE="<%pch_source%>"
109 # ADD CPP /Yc"<%pch_header%>"
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)%>
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
134 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
135 # ADD CPP <%flag_overrides(grouped_source_file->file, buildflags)%>
137 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
138 # SUBTRACT CPP /YX /Yc /Yu
146 <%foreach(source_files)%>
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
162 <%if(flag_overrides(source_file, buildflags))%>
163 # ADD CPP <%flag_overrides(source_file, buildflags)%>
165 <%if(flag_overrides(source_file, no_pch))%>
166 # SUBTRACT CPP /YX /Yc /Yu
175 # Begin Group "Header Files"
177 # PROP Default_Filter "<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>"
181 SOURCE="<%pch_header%>"
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)%>
192 SOURCE="<%grouped_header_file->file%>"
198 <%foreach(header_files)%>
201 SOURCE="<%header_file%>"
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)%>
219 SOURCE="<%grouped_inline_file->file%>"
225 <%foreach(inline_files)%>
228 SOURCE="<%inline_file%>"
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)%>
246 SOURCE="<%grouped_template_file->file%>"
247 # PROP Exclude_From_Build 1
253 <%foreach(template_files)%>
256 SOURCE="<%template_file%>"
257 # PROP Exclude_From_Build 1
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)%>
275 SOURCE="<%grouped_documentation_file->file%>"
281 <%foreach(documentation_files)%>
284 SOURCE="<%documentation_file%>"
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)%>
302 SOURCE="<%grouped_resource_file->file%>"
308 <%foreach(resource_files)%>
311 SOURCE="<%resource_file%>"
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)%>
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%>
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%>"
340 <%if(custom_type->libpath)%>
341 PATH=%PATH%;<%custom_type->libpath%> \
343 <%if(flag_overrides(custom_type->input_file, gendir))%>
344 mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
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)%> \
352 <%if(custom_type->postcommand)%>
353 <%foreach(custom_type->input_file)%>
354 <%custom_type->postcommand%> \
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%>"
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)"
379 # PROP Exclude_From_Build 1