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