Subversion Repositories gelsvn

Rev

Details | 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)%>
6
# TARGTYPE "<%operating_system("Win32")%> (<%platform%>) <%if(exename || sharedname || staticname)%><%if(type_is_static && staticname)%>Static Library<%else%><%type_description%><%endif%>" <%type_code%><%else%>Generic Project" 0x010a<%endif%>
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)%>
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%>Generic Project<%endif%>")
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
198 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)"<%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)%>
114
<%foreach(grouped_source_files)%>
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%>"
126
# ADD CPP /Fo"<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>\<%basenoextension(grouped_source_file->file)%><%duplicate_index(grouped_source_file->file)%>.obj"
127
<%endfor%>
128
!ENDIF
129
<%endfor%>
130
<%endif%>
131
# End Source File
132
<%endfor%>
133
# End Group
134
<%endfor%>
135
<%else%>
136
<%foreach(source_files)%>
137
# Begin Source File
138
 
139
SOURCE="<%source_file%>"
140
<%if(duplicate_index(source_file))%>
141
<%foreach(platforms)%>
142
<%foreach(configurations)%>
143
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
144
# ADD CPP /Fo"<%intermediate_dir%>\<%noextension(project_file)%>\<%machine%>\<%basenoextension(source_file)%><%duplicate_index(source_file)%>.obj"
145
<%endfor%>
146
!ENDIF
147
<%endfor%>
148
<%endif%>
149
# End Source File
150
<%endfor%>
151
<%endif%>
152
# End Group
153
<%endif%>
154
<%if(header_files)%>
155
# Begin Group "Header Files"
156
 
157
# PROP Default_Filter "h;hpp;hxx;hh"
158
<%if(pch_header)%>
159
# Begin Source File
160
 
161
SOURCE="<%pch_header%>"
162
# End Source File
163
<%endif%>
164
<%if(grouped_header_files)%>
165
<%foreach(grouped_header_files)%>
166
# Begin Group "<%grouped_header_file%>"
167
 
168
# PROP Default_Filter ""
169
<%foreach(grouped_header_file->files)%>
170
# Begin Source File
171
 
172
SOURCE="<%grouped_header_file->file%>"
173
# End Source File
174
<%endfor%>
175
# End Group
176
<%endfor%>
177
<%else%>
178
<%foreach(header_files)%>
179
# Begin Source File
180
 
181
SOURCE="<%header_file%>"
182
# End Source File
183
<%endfor%>
184
<%endif%>
185
# End Group
186
<%endif%>
187
<%if(inline_files)%>
188
# Begin Group "Inline Files"
189
 
190
# PROP Default_Filter "i;inl"
191
<%if(grouped_inline_files)%>
192
<%foreach(grouped_inline_files)%>
193
# Begin Group "<%grouped_inline_file%>"
194
 
195
# PROP Default_Filter ""
196
<%foreach(grouped_inline_file->files)%>
197
# Begin Source File
198
 
199
SOURCE="<%grouped_inline_file->file%>"
200
# End Source File
201
<%endfor%>
202
# End Group
203
<%endfor%>
204
<%else%>
205
<%foreach(inline_files)%>
206
# Begin Source File
207
 
208
SOURCE="<%inline_file%>"
209
# End Source File
210
<%endfor%>
211
<%endif%>
212
# End Group
213
<%endif%>
214
<%if(template_files)%>
215
# Begin Group "Template Files"
216
 
217
# PROP Default_Filter ""
218
<%if(grouped_template_files)%>
219
<%foreach(grouped_template_files)%>
220
# Begin Group "<%grouped_template_file%>"
221
 
222
# PROP Default_Filter ""
223
<%foreach(grouped_template_file->files)%>
224
# Begin Source File
225
 
226
SOURCE="<%grouped_template_file->file%>"
227
# PROP Exclude_From_Build 1
228
# End Source File
229
<%endfor%>
230
# End Group
231
<%endfor%>
232
<%else%>
233
<%foreach(template_files)%>
234
# Begin Source File
235
 
236
SOURCE="<%template_file%>"
237
# PROP Exclude_From_Build 1
238
# End Source File
239
<%endfor%>
240
<%endif%>
241
# End Group
242
<%endif%>
243
<%if(documentation_files)%>
244
# Begin Group "Documentation"
245
 
246
# PROP Default_Filter ""
247
<%if(grouped_documentation_files)%>
248
<%foreach(grouped_documentation_files)%>
249
# Begin Group "<%grouped_documentation_file%>"
250
 
251
# PROP Default_Filter ""
252
<%foreach(grouped_documentation_file->files)%>
253
# Begin Source File
254
 
255
SOURCE="<%grouped_documentation_file->file%>"
256
# End Source File
257
<%endfor%>
258
# End Group
259
<%endfor%>
260
<%else%>
261
<%foreach(documentation_files)%>
262
# Begin Source File
263
 
264
SOURCE="<%documentation_file%>"
265
# End Source File
266
<%endfor%>
267
<%endif%>
268
# End Group
269
<%endif%>
270
<%if(resource_files && !type_is_static)%>
271
# Begin Group "Resource Files"
272
 
273
# PROP Default_Filter "rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
274
<%if(grouped_resource_files)%>
275
<%foreach(grouped_resource_files)%>
276
# Begin Group "<%grouped_resource_file%>"
277
 
278
# PROP Default_Filter ""
279
<%foreach(grouped_resource_file->files)%>
280
# Begin Source File
281
 
282
SOURCE="<%grouped_resource_file->file%>"
283
# End Source File
284
<%endfor%>
285
# End Group
286
<%endfor%>
287
<%else%>
288
<%foreach(resource_files)%>
289
# Begin Source File
290
 
291
SOURCE="<%resource_file%>"
292
# End Source File
293
<%endfor%>
294
<%endif%>
295
# End Group
296
<%endif%>
297
<%foreach(custom_types)%>
298
<%if(custom_type->input_files)%>
299
# Begin Group "<%ucw(custom_type)%>"
300
 
301
# PROP Default_Filter "<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>"
302
<%foreach(custom_type->input_files)%>
303
# Begin Source File
304
 
305
SOURCE="<%custom_type->input_file%>"
306
<%if(custom_type->input_file->output_files)%>
307
 
308
<%foreach(platforms)%>
309
<%foreach(configurations)%>
310
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%operating_system%> (<%platform%>) <%configuration%>"
311
 
312
<%if(flag_overrides(custom_type->input_file, dependent))%>
313
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%>
314
<%else%>
315
<%if(custom_type->dependent)%>
316
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%>
317
<%else%>
318
<%if(custom_type->input_file->dependencies)%>
319
USERDEP__<%basenoextension(custom_type->input_file)%>=<%foreach(custom_type->input_file->dependencies)%>"<%custom_type->input_file->dependencie%>"<%fornotlast(" ")%><%endfor%>
320
<%endif%>
321
<%endif%>
322
<%endif%>
323
# PROP Ignore_Default_Tool 1
324
# 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)
325
InputPath="<%custom_type->input_file%>"
326
 
327
BuildCmds= \
328
<%if(custom_type->libpath)%>
329
	PATH=%PATH%;<%custom_type->libpath%> \
330
<%endif%>
331
<%if(flag_overrides(custom_type->input_file, gendir))%>
332
	mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
333
<%endif%>
198 bj 334
	<%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 335
<%if(flag_overrides(custom_type->input_file, postcommand))%>
336
<%foreach(custom_type->input_file)%>
337
	<%flag_overrides(custom_type->input_file, postcommand)%> \
338
<%endfor%>
339
<%else%>
340
<%if(custom_type->postcommand)%>
341
<%foreach(custom_type->input_file)%>
342
	<%custom_type->postcommand%> \
343
<%endfor%>
344
<%endif%>
345
<%endif%>
346
<%if(pch_header)%>
347
<%if(custom_type->pch_postrule)%>
348
<%foreach(custom_type->input_file->source_output_files)%>
349
	echo #include "<%pch_header%>" > temporary.src \
350
	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 \
351
	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%>"
352
<%endfor%>
353
<%endif%>
354
<%endif%>
355
<%foreach(custom_type->input_file->output_files)%>
356
 
357
"<%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)"
358
   $(BuildCmds)
359
<%endfor%>
360
# End Custom Build
361
 
362
<%endfor%>
363
!ENDIF
364
<%endfor%>
365
 
366
<%else%>
367
# PROP Exclude_From_Build 1
368
<%endif%>
369
# End Source File
370
<%endfor%>
371
# End Group
372
<%endif%>
373
<%endfor%>
374
# End Target
375
# End Project