1 # Microsoft Developer Studio Project File - Name="<%project_name%>" - Package Owner=<4>
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00
5 # TARGTYPE "<%platform("Win32")%> (<%platform_hardware("x86")%>) <%if(exename || sharedname || staticname)%><%if(type_is_static && staticname)%>Static Library" 0x0104<%else%><%type_description%>" <%type_code%><%endif%><%else%>Generic Project" 0x010a<%endif%>
7 CFG=<%project_name%> - <%platform("Win32")%> <%default_configuration("Debug")%>
8 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
9 !MESSAGE run the tool that generated this project file and specify the
10 !MESSAGE nmake output type. You can then use the following command:
14 !MESSAGE You can specify a configuration when running NMAKE
15 !MESSAGE by defining the macro CFG on the command line. For example:
17 !MESSAGE NMAKE CFG="<%project_name%> - <%platform%> <%default_configuration%>"
19 !MESSAGE Possible choices for configuration are:
21 <%foreach(configurations)%>
22 !MESSAGE "<%project_name%> - <%platform%> <%configuration%>" (based on "<%platform%> (<%platform_hardware%>) <%if(exename || sharedname || staticname)%><%if(type_is_static && staticname)%>Static Library<%else%><%type_description%><%endif%><%else%>Generic Project<%endif%>")
27 # PROP AllowPerConfigDependencies 0
28 # PROP Scc_ProjName ""
29 # PROP Scc_LocalPath ""
34 <%foreach(configurations)%>
35 !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
37 # PROP Use_MFC <%use_mfc("0")%>
38 # PROP Use_Debug_Libraries <%use_debug_libraries("1")%>
40 # PROP Output_Dir "<%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%>"
42 <%if(type_is_static)%>
43 # PROP Output_Dir "<%output_dir%>"
45 <%if(type_is_dynamic)%>
46 # PROP Output_Dir "<%libout%>"
48 # PROP Intermediate_Dir "<%intermediate_dir%>\<%noextension(project_file)%>"
49 <%if(type_is_dynamic)%>
50 # PROP Ignore_Export_Lib 0
53 <%if(type_is_static)%>
56 # ADD CPP /nologo <%if(optimize)%><%optimize_flags("/O2")%><%else%><%debug_flags("/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)%>/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines common_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%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)%>\<%noextension(pch_header)%>.pch" <%endif%>/FD /c
57 <%if(compile_flags_removed)%>
58 # SUBTRACT CPP <%compile_flags_removed%>
60 <%if(midl_includes)%># ADD MTL <%foreach(midl_includes)%>/I "<%midl_include%>" <%endfor%><%endif%>
61 # ADD MTL <%foreach(defines)%>/D "<%define%>" <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%foreach(midl_defines)%>/D "<%midl_define%>" <%endfor%><%midl_flags%>
62 # ADD RSC /l 0x409<%foreach(defines macros)%> /d <%define%><%endfor%><%if(unicode)%> /d UNICODE /d _UNICODE<%endif%><%foreach(includes)%> /i "<%include%>"<%endfor%>
64 # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%>
65 <%if(type_is_binary)%>
67 # ADD LINK32 <%systemlibs("advapi32.lib user32.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%>" <%endfor%>/nologo<%if(win_version)%> /version:<%win_version%><%endif%><%if(StackReserveSize)%> /stack:<%StackReserveSize%><%if(StackCommitSize)%>,<%StackCommitSize%><%endif%><%endif%> /subsystem:<%subsystem("windows")%><%if(pdbl)%><%if(sharedname)%> /pdb:"<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%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%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"<%endif%><%endif%><%else%> /pdb:none<%endif%><%if(type_is_dynamic)%> /implib:"<%libout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>" <%if(!source_files)%>/noentry <%endif%>/dll<%endif%> <%if(unicode && unicode_mfc_entry && exename && source_files)%>/entry:"<%unicode_mfc_entry%>" <%endif%><%debug_switch("/debug")%> /machine:<%machine("I386")%> /out:"<%if(sharedname)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%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%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
68 <%if(link_flags_removed)%>
69 # SUBTRACT LINK32 <%link_flags_removed%>
72 <%if(type_is_static)%>
74 # ADD LIB32 /nologo /out:"<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
77 # Begin Special Build Tool
79 PostBuild_Cmds=<%eval(postbuild)%>
80 # End Special Build Tool
88 <%foreach(configurations)%>
89 # Name "<%project_name%> - <%platform%> <%configuration%>"
91 <%if(exename || sharedname || staticname)%>
92 # Begin Group "Source Files"
94 # PROP Default_Filter "<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>"
99 SOURCE="<%pch_source%>"
100 # ADD CPP /Yc"<%pch_header%>"
104 <%if(grouped_source_files)%>
105 <%foreach(sort(grouped_source_files))%>
106 # Begin Group "<%grouped_source_file%>"
108 # PROP Default_Filter ""
109 <%foreach(grouped_source_file->files)%>
112 SOURCE="<%grouped_source_file->file%>"
113 <%if(duplicate_index(grouped_source_file->file))%>
114 <%foreach(configurations)%>
115 !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
116 # ADD CPP <%if(flag_overrides(grouped_source_file->file, buildflags))%><%flag_overrides(grouped_source_file->file, buildflags)%> <%endif%>/Fo"<%intermediate_dir%>\<%noextension(project_file)%>\<%basenoextension(grouped_source_file->file)%><%duplicate_index(grouped_source_file->file)%>.obj"
117 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
118 # SUBTRACT CPP /YX /Yc /Yu
123 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
124 # ADD CPP <%flag_overrides(grouped_source_file->file, buildflags)%>
126 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
127 # SUBTRACT CPP /YX /Yc /Yu
135 <%foreach(source_files)%>
138 SOURCE="<%source_file%>"
139 <%if(duplicate_index(source_file))%>
140 <%foreach(configurations)%>
141 !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
142 # ADD CPP <%if(flag_overrides(source_file, buildflags))%><%flag_overrides(source_file, buildflags)%> <%endif%>/Fo"<%intermediate_dir%>\<%noextension(project_file)%>\<%basenoextension(source_file)%><%duplicate_index(source_file)%>.obj"
143 <%if(flag_overrides(source_file, no_pch))%>
144 # SUBTRACT CPP /YX /Yc /Yu
149 <%if(flag_overrides(source_file, buildflags))%>
150 # ADD CPP <%flag_overrides(source_file, buildflags)%>
152 <%if(flag_overrides(source_file, no_pch))%>
153 # SUBTRACT CPP /YX /Yc /Yu
162 # Begin Group "Header Files"
164 # PROP Default_Filter "<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>"
168 SOURCE="<%pch_header%>"
171 <%if(grouped_header_files)%>
172 <%foreach(sort(grouped_header_files))%>
173 # Begin Group "<%grouped_header_file%>"
175 # PROP Default_Filter ""
176 <%foreach(grouped_header_file->files)%>
179 SOURCE="<%grouped_header_file->file%>"
185 <%foreach(header_files)%>
188 SOURCE="<%header_file%>"
195 # Begin Group "Inline Files"
197 # PROP Default_Filter "<%foreach(ext, extensions(inline_files))%><%ext%><%fornotlast(";")%><%endfor%>"
198 <%if(grouped_inline_files)%>
199 <%foreach(sort(grouped_inline_files))%>
200 # Begin Group "<%grouped_inline_file%>"
202 # PROP Default_Filter ""
203 <%foreach(grouped_inline_file->files)%>
206 SOURCE="<%grouped_inline_file->file%>"
212 <%foreach(inline_files)%>
215 SOURCE="<%inline_file%>"
221 <%if(template_files)%>
222 # Begin Group "Template Files"
224 # PROP Default_Filter ""
225 <%if(grouped_template_files)%>
226 <%foreach(sort(grouped_template_files))%>
227 # Begin Group "<%grouped_template_file%>"
229 # PROP Default_Filter ""
230 <%foreach(grouped_template_file->files)%>
233 SOURCE="<%grouped_template_file->file%>"
234 # PROP Exclude_From_Build 1
240 <%foreach(template_files)%>
243 SOURCE="<%template_file%>"
244 # PROP Exclude_From_Build 1
250 <%if(documentation_files)%>
251 # Begin Group "Documentation"
253 # PROP Default_Filter ""
254 <%if(grouped_documentation_files)%>
255 <%foreach(sort(grouped_documentation_files))%>
256 # Begin Group "<%grouped_documentation_file%>"
258 # PROP Default_Filter ""
259 <%foreach(grouped_documentation_file->files)%>
262 SOURCE="<%grouped_documentation_file->file%>"
268 <%foreach(documentation_files)%>
271 SOURCE="<%documentation_file%>"
277 <%if(resource_files && !type_is_static)%>
278 # Begin Group "Resource Files"
280 # PROP Default_Filter "rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
281 <%if(grouped_resource_files)%>
282 <%foreach(sort(grouped_resource_files))%>
283 # Begin Group "<%grouped_resource_file%>"
285 # PROP Default_Filter ""
286 <%foreach(grouped_resource_file->files)%>
289 SOURCE="<%grouped_resource_file->file%>"
295 <%foreach(resource_files)%>
298 SOURCE="<%resource_file%>"
304 <%foreach(custom_types)%>
305 <%if(custom_type->input_files)%>
306 # Begin Group "<%ucw(custom_type)%>"
308 # PROP Default_Filter "<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>"
309 <%foreach(custom_type->input_files)%>
312 SOURCE="<%custom_type->input_file%>"
313 <%if(custom_type->input_file->output_files)%>
315 <%foreach(configurations)%>
316 !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
318 <%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)))%>
319 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%><%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%><%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)%>\<%libname_prefix%><%basename(dep_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%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%>"<%dirname(custom_type->dependent_lib)%>\<%libname_prefix%><%basename(custom_type->dependent_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"<%endfor%><%endif%><%endif%><%endif%>
321 # PROP Ignore_Default_Tool 1
322 # 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)
323 InputPath="<%custom_type->input_file%>"
326 <%if(custom_type->libpath)%>
327 PATH=%PATH%;<%custom_type->libpath%> \
329 <%if(flag_overrides(custom_type->input_file, gendir))%>
330 mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
332 <%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%> \
333 <%if(flag_overrides(custom_type->input_file, postcommand))%>
334 <%foreach(custom_type->input_file)%>
335 <%flag_overrides(custom_type->input_file, postcommand)%> \
338 <%if(custom_type->postcommand)%>
339 <%foreach(custom_type->input_file)%>
340 <%custom_type->postcommand%> \
345 <%if(custom_type->pch_postrule)%>
346 <%foreach(custom_type->input_file->source_output_files)%>
347 echo #include "<%pch_header%>" > temporary.src \
348 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 \
349 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%>"
353 <%foreach(custom_type->input_file->output_files)%>
355 "<%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)"
364 # PROP Exclude_From_Build 1