Merge pull request #39 from jwillemsen/jwi-bcc32c
[MPC.git] / templates / vc6.mpd
blob0f2bd3a2caee1bd2f22810d31839d1daa6a659c1
1 # Microsoft Developer Studio Project File - Name="<%project_name%>" - Package Owner=<4>
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00
3 # ** DO NOT EDIT **
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:
11 !MESSAGE
12 !MESSAGE NMAKE.
13 !MESSAGE
14 !MESSAGE You can specify a configuration when running NMAKE
15 !MESSAGE by defining the macro CFG on the command line. For example:
16 !MESSAGE
17 !MESSAGE NMAKE CFG="<%project_name%> - <%platform%> <%default_configuration%>"
18 !MESSAGE
19 !MESSAGE Possible choices for configuration are:
20 !MESSAGE
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%>")
23 <%endfor%>
24 !MESSAGE
26 # Begin Project
27 # PROP AllowPerConfigDependencies 0
28 # PROP Scc_ProjName ""
29 # PROP Scc_LocalPath ""
30 CPP=cl.exe
31 MTL=midl.exe
32 RSC=rc.exe
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")%>
39 <%if(exename)%>
40 # PROP Output_Dir "<%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%>"
41 <%endif%>
42 <%if(type_is_static)%>
43 # PROP Output_Dir "<%output_dir%>"
44 <%endif%>
45 <%if(type_is_dynamic)%>
46 # PROP Output_Dir "<%libout%>"
47 <%endif%>
48 # PROP Intermediate_Dir "<%intermediate_dir%>\<%noextension(project_file)%>"
49 <%if(type_is_dynamic)%>
50 # PROP Ignore_Export_Lib 0
51 <%endif%>
52 # PROP Target_Dir ""
53 <%if(type_is_static)%>
54 LINK32=link.exe -lib
55 <%endif%>
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%>
59 <%endif%>
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%>
63 BSC32=bscmake.exe
64 # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%>
65 <%if(type_is_binary)%>
66 LINK32=link.exe
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%>
70 <%endif%>
71 <%endif%>
72 <%if(type_is_static)%>
73 LIB32=link.exe -lib
74 # ADD LIB32 /nologo /out:"<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
75 <%endif%>
76 <%if(postbuild)%>
77 # Begin Special Build Tool
78 SOURCE="$(InputPath)"
79 PostBuild_Cmds=<%eval(postbuild)%>
80 # End Special Build Tool
81 <%endif%>
83 <%endfor%>
84 !ENDIF
86 # Begin Target
88 <%foreach(configurations)%>
89 # Name "<%project_name%> - <%platform%> <%configuration%>"
90 <%endfor%>
91 <%if(exename || sharedname || staticname)%>
92 # Begin Group "Source Files"
94 # PROP Default_Filter "<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>"
95 <%if(pch_source)%>
96 <%if(pch_header)%>
97 # Begin Source File
99 SOURCE="<%pch_source%>"
100 # ADD CPP /Yc"<%pch_header%>"
101 # End Source File
102 <%endif%>
103 <%endif%>
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)%>
110 # Begin Source File
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
119 <%endif%>
120 <%endfor%>
121 !ENDIF
122 <%else%>
123 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
124 # ADD CPP <%flag_overrides(grouped_source_file->file, buildflags)%>
125 <%endif%>
126 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
127 # SUBTRACT CPP /YX /Yc /Yu
128 <%endif%>
129 <%endif%>
130 # End Source File
131 <%endfor%>
132 # End Group
133 <%endfor%>
134 <%else%>
135 <%foreach(source_files)%>
136 # Begin Source File
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
145 <%endif%>
146 <%endfor%>
147 !ENDIF
148 <%else%>
149 <%if(flag_overrides(source_file, buildflags))%>
150 # ADD CPP <%flag_overrides(source_file, buildflags)%>
151 <%endif%>
152 <%if(flag_overrides(source_file, no_pch))%>
153 # SUBTRACT CPP /YX /Yc /Yu
154 <%endif%>
155 <%endif%>
156 # End Source File
157 <%endfor%>
158 <%endif%>
159 # End Group
160 <%endif%>
161 <%if(header_files)%>
162 # Begin Group "Header Files"
164 # PROP Default_Filter "<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>"
165 <%if(pch_header)%>
166 # Begin Source File
168 SOURCE="<%pch_header%>"
169 # End Source File
170 <%endif%>
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)%>
177 # Begin Source File
179 SOURCE="<%grouped_header_file->file%>"
180 # End Source File
181 <%endfor%>
182 # End Group
183 <%endfor%>
184 <%else%>
185 <%foreach(header_files)%>
186 # Begin Source File
188 SOURCE="<%header_file%>"
189 # End Source File
190 <%endfor%>
191 <%endif%>
192 # End Group
193 <%endif%>
194 <%if(inline_files)%>
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)%>
204 # Begin Source File
206 SOURCE="<%grouped_inline_file->file%>"
207 # End Source File
208 <%endfor%>
209 # End Group
210 <%endfor%>
211 <%else%>
212 <%foreach(inline_files)%>
213 # Begin Source File
215 SOURCE="<%inline_file%>"
216 # End Source File
217 <%endfor%>
218 <%endif%>
219 # End Group
220 <%endif%>
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)%>
231 # Begin Source File
233 SOURCE="<%grouped_template_file->file%>"
234 # PROP Exclude_From_Build 1
235 # End Source File
236 <%endfor%>
237 # End Group
238 <%endfor%>
239 <%else%>
240 <%foreach(template_files)%>
241 # Begin Source File
243 SOURCE="<%template_file%>"
244 # PROP Exclude_From_Build 1
245 # End Source File
246 <%endfor%>
247 <%endif%>
248 # End Group
249 <%endif%>
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)%>
260 # Begin Source File
262 SOURCE="<%grouped_documentation_file->file%>"
263 # End Source File
264 <%endfor%>
265 # End Group
266 <%endfor%>
267 <%else%>
268 <%foreach(documentation_files)%>
269 # Begin Source File
271 SOURCE="<%documentation_file%>"
272 # End Source File
273 <%endfor%>
274 <%endif%>
275 # End Group
276 <%endif%>
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)%>
287 # Begin Source File
289 SOURCE="<%grouped_resource_file->file%>"
290 # End Source File
291 <%endfor%>
292 # End Group
293 <%endfor%>
294 <%else%>
295 <%foreach(resource_files)%>
296 # Begin Source File
298 SOURCE="<%resource_file%>"
299 # End Source File
300 <%endfor%>
301 <%endif%>
302 # End Group
303 <%endif%>
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)%>
310 # Begin Source File
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%>
320 <%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%>"
325 BuildCmds= \
326 <%if(custom_type->libpath)%>
327         PATH=%PATH%;<%custom_type->libpath%> \
328 <%endif%>
329 <%if(flag_overrides(custom_type->input_file, gendir))%>
330         mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
331 <%endif%>
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)%> \
336 <%endfor%>
337 <%else%>
338 <%if(custom_type->postcommand)%>
339 <%foreach(custom_type->input_file)%>
340         <%custom_type->postcommand%> \
341 <%endfor%>
342 <%endif%>
343 <%endif%>
344 <%if(pch_header)%>
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%>"
350 <%endfor%>
351 <%endif%>
352 <%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)"
356    $(BuildCmds)
357 <%endfor%>
358 # End Custom Build
360 <%endfor%>
361 !ENDIF
363 <%else%>
364 # PROP Exclude_From_Build 1
365 <%endif%>
366 # End Source File
367 <%endfor%>
368 # End Group
369 <%endif%>
370 <%endfor%>
371 # End Target
372 # End Project