Subversion Repositories gelsvn

Rev

Rev 198 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 bj 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 **
4
 
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%>
6
 
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
25
 
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
33
 
34
<%foreach(configurations)%>
35
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
36
 
37
# PROP Use_MFC <%use_mfc("0")%>
38
# PROP Use_Debug_Libraries <%use_debug_libraries("1")%>
39
<%if(exename)%>
40
# PROP Output_Dir "<%output_dir%>"
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%>
198 bj 56
# ADD CPP /nologo <%if(optimize)%><%optimize_flags("/O2")%><%else%><%debug_flags("/Ob0")%><%endif%> <%compile_flags%><%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
107 bj 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
198 bj 64
# ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%>
107 bj 65
<%if(type_is_binary)%>
66
LINK32=link.exe
198 bj 67
# ADD LINK32 <%systemlibs("advapi32.lib user32.lib")%><%if(link_options)%> <%link_options%><%endif%> /INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%libname_prefix%><%lib%><%lib_modifier%><%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(install)%><%install%><%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(install)%><%install%><%else%><%output_dir%><%endif%>\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
107 bj 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
198 bj 74
# ADD LIB32 /nologo /out:"<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
107 bj 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%>
82
 
83
<%endfor%>
84
!ENDIF
85
 
86
# Begin Target
87
 
88
<%foreach(configurations)%>
89
# Name "<%project_name%> - <%platform%> <%configuration%>"
90
<%endfor%>
91
<%if(exename || sharedname || staticname)%>
92
# Begin Group "Source Files"
93
 
94
# PROP Default_Filter "cpp;cxx;c"
95
<%if(pch_source)%>
96
<%if(pch_header)%>
97
# Begin Source File
98
 
99
SOURCE="<%pch_source%>"
100
# ADD CPP /Yc"<%pch_header%>"
101
# End Source File
102
<%endif%>
103
<%endif%>
104
<%if(grouped_source_files)%>
217 bj 105
<%foreach(sort(grouped_source_files))%>
107 bj 106
# Begin Group "<%grouped_source_file%>"
107
 
108
# PROP Default_Filter ""
109
<%foreach(grouped_source_file->files)%>
110
# Begin Source File
111
 
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%>"
217 bj 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"
107 bj 117
<%endfor%>
118
!ENDIF
217 bj 119
<%else%>
120
<%if(flag_overrides(grouped_source_file->file, buildflags))%>
121
# ADD CPP <%flag_overrides(grouped_source_file->file, buildflags)%>
107 bj 122
<%endif%>
217 bj 123
<%endif%>
107 bj 124
# End Source File
125
<%endfor%>
126
# End Group
127
<%endfor%>
128
<%else%>
129
<%foreach(source_files)%>
130
# Begin Source File
131
 
132
SOURCE="<%source_file%>"
133
<%if(duplicate_index(source_file))%>
134
<%foreach(configurations)%>
135
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
217 bj 136
# 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"
107 bj 137
<%endfor%>
138
!ENDIF
217 bj 139
<%else%>
140
<%if(flag_overrides(source_file, buildflags))%>
141
# ADD CPP <%flag_overrides(source_file, buildflags)%>
107 bj 142
<%endif%>
217 bj 143
<%endif%>
107 bj 144
# End Source File
145
<%endfor%>
146
<%endif%>
147
# End Group
148
<%endif%>
149
<%if(header_files)%>
150
# Begin Group "Header Files"
151
 
152
# PROP Default_Filter "h;hpp;hxx;hh"
153
<%if(pch_header)%>
154
# Begin Source File
155
 
156
SOURCE="<%pch_header%>"
157
# End Source File
158
<%endif%>
159
<%if(grouped_header_files)%>
217 bj 160
<%foreach(sort(grouped_header_files))%>
107 bj 161
# Begin Group "<%grouped_header_file%>"
162
 
163
# PROP Default_Filter ""
164
<%foreach(grouped_header_file->files)%>
165
# Begin Source File
166
 
167
SOURCE="<%grouped_header_file->file%>"
168
# End Source File
169
<%endfor%>
170
# End Group
171
<%endfor%>
172
<%else%>
173
<%foreach(header_files)%>
174
# Begin Source File
175
 
176
SOURCE="<%header_file%>"
177
# End Source File
178
<%endfor%>
179
<%endif%>
180
# End Group
181
<%endif%>
182
<%if(inline_files)%>
183
# Begin Group "Inline Files"
184
 
185
# PROP Default_Filter "i;inl"
186
<%if(grouped_inline_files)%>
217 bj 187
<%foreach(sort(grouped_inline_files))%>
107 bj 188
# Begin Group "<%grouped_inline_file%>"
189
 
190
# PROP Default_Filter ""
191
<%foreach(grouped_inline_file->files)%>
192
# Begin Source File
193
 
194
SOURCE="<%grouped_inline_file->file%>"
195
# End Source File
196
<%endfor%>
197
# End Group
198
<%endfor%>
199
<%else%>
200
<%foreach(inline_files)%>
201
# Begin Source File
202
 
203
SOURCE="<%inline_file%>"
204
# End Source File
205
<%endfor%>
206
<%endif%>
207
# End Group
208
<%endif%>
209
<%if(template_files)%>
210
# Begin Group "Template Files"
211
 
212
# PROP Default_Filter ""
213
<%if(grouped_template_files)%>
217 bj 214
<%foreach(sort(grouped_template_files))%>
107 bj 215
# Begin Group "<%grouped_template_file%>"
216
 
217
# PROP Default_Filter ""
218
<%foreach(grouped_template_file->files)%>
219
# Begin Source File
220
 
221
SOURCE="<%grouped_template_file->file%>"
222
# PROP Exclude_From_Build 1
223
# End Source File
224
<%endfor%>
225
# End Group
226
<%endfor%>
227
<%else%>
228
<%foreach(template_files)%>
229
# Begin Source File
230
 
231
SOURCE="<%template_file%>"
232
# PROP Exclude_From_Build 1
233
# End Source File
234
<%endfor%>
235
<%endif%>
236
# End Group
237
<%endif%>
238
<%if(documentation_files)%>
239
# Begin Group "Documentation"
240
 
241
# PROP Default_Filter ""
242
<%if(grouped_documentation_files)%>
217 bj 243
<%foreach(sort(grouped_documentation_files))%>
107 bj 244
# Begin Group "<%grouped_documentation_file%>"
245
 
246
# PROP Default_Filter ""
247
<%foreach(grouped_documentation_file->files)%>
248
# Begin Source File
249
 
250
SOURCE="<%grouped_documentation_file->file%>"
251
# End Source File
252
<%endfor%>
253
# End Group
254
<%endfor%>
255
<%else%>
256
<%foreach(documentation_files)%>
257
# Begin Source File
258
 
259
SOURCE="<%documentation_file%>"
260
# End Source File
261
<%endfor%>
262
<%endif%>
263
# End Group
264
<%endif%>
265
<%if(resource_files && !type_is_static)%>
266
# Begin Group "Resource Files"
267
 
268
# PROP Default_Filter "rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
269
<%if(grouped_resource_files)%>
217 bj 270
<%foreach(sort(grouped_resource_files))%>
107 bj 271
# Begin Group "<%grouped_resource_file%>"
272
 
273
# PROP Default_Filter ""
274
<%foreach(grouped_resource_file->files)%>
275
# Begin Source File
276
 
277
SOURCE="<%grouped_resource_file->file%>"
278
# End Source File
279
<%endfor%>
280
# End Group
281
<%endfor%>
282
<%else%>
283
<%foreach(resource_files)%>
284
# Begin Source File
285
 
286
SOURCE="<%resource_file%>"
287
# End Source File
288
<%endfor%>
289
<%endif%>
290
# End Group
291
<%endif%>
292
<%foreach(custom_types)%>
293
<%if(custom_type->input_files)%>
294
# Begin Group "<%ucw(custom_type)%>"
295
 
296
# PROP Default_Filter "<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>"
297
<%foreach(custom_type->input_files)%>
298
# Begin Source File
299
 
300
SOURCE="<%custom_type->input_file%>"
301
<%if(custom_type->input_file->output_files)%>
302
 
303
<%foreach(configurations)%>
304
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
305
 
306
<%if(flag_overrides(custom_type->input_file, dependent))%>
307
USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(dep, flag_overrides(custom_type->input_file, dependent))%>"<%dep%><%if(!ends_with(dep, \.p.))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
308
<%else%>
309
<%if(custom_type->dependent)%>
310
USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(custom_type->dependent)%>"<%custom_type->dependent%><%if(!ends_with(custom_type->dependent, \.p.))%><%exe_ext%><%endif%>"<%fornotlast(" ")%><%endfor%><%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
311
<%else%>
312
<%if(custom_type->input_file->dependencies)%>
313
USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(custom_type->input_file->dependencies)%>"<%custom_type->input_file->dependencie%>"<%fornotlast(" ")%><%endfor%>
314
<%endif%>
315
<%endif%>
316
<%endif%>
317
# PROP Ignore_Default_Tool 1
318
# 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)
319
InputPath="<%custom_type->input_file%>"
320
 
321
BuildCmds= \
322
<%if(custom_type->libpath)%>
323
	PATH=%PATH%;<%custom_type->libpath%> \
324
<%endif%>
325
<%if(flag_overrides(custom_type->input_file, gendir))%>
326
	mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
327
<%endif%>
198 bj 328
	<%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)%> <%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%><%endif%> $(InputPath) \
107 bj 329
<%if(flag_overrides(custom_type->input_file, postcommand))%>
330
<%foreach(custom_type->input_file)%>
331
	<%flag_overrides(custom_type->input_file, postcommand)%> \
332
<%endfor%>
333
<%else%>
334
<%if(custom_type->postcommand)%>
335
<%foreach(custom_type->input_file)%>
336
	<%custom_type->postcommand%> \
337
<%endfor%>
338
<%endif%>
339
<%endif%>
340
<%if(pch_header)%>
341
<%if(custom_type->pch_postrule)%>
342
<%foreach(custom_type->input_file->source_output_files)%>
343
	echo #include "<%pch_header%>" > temporary.src \
344
	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 \
345
	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%>"
346
<%endfor%>
347
<%endif%>
348
<%endif%>
349
<%foreach(custom_type->input_file->output_files)%>
350
 
351
"<%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)"
352
   $(BuildCmds)
353
<%endfor%>
354
# End Custom Build
355
 
356
<%endfor%>
357
!ENDIF
358
 
359
<%else%>
360
# PROP Exclude_From_Build 1
361
<%endif%>
362
# End Source File
363
<%endfor%>
364
# End Group
365
<%endif%>
366
<%endfor%>
367
# End Target
368
# End Project