PageRenderTime 47ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/vc6.mpd

https://bitbucket.org/snaewe/mpc
Unknown | 372 lines | 330 code | 42 blank | 0 comment | 0 complexity | 24c374628afff689fa4cd4f3d32b112d MD5 | raw file
  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. # 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%>
  5. CFG=<%project_name%> - <%platform("Win32")%> <%default_configuration("Debug")%>
  6. !MESSAGE This is not a valid makefile. To build this project using NMAKE,
  7. !MESSAGE run the tool that generated this project file and specify the
  8. !MESSAGE nmake output type. You can then use the following command:
  9. !MESSAGE
  10. !MESSAGE NMAKE.
  11. !MESSAGE
  12. !MESSAGE You can specify a configuration when running NMAKE
  13. !MESSAGE by defining the macro CFG on the command line. For example:
  14. !MESSAGE
  15. !MESSAGE NMAKE CFG="<%project_name%> - <%platform%> <%default_configuration%>"
  16. !MESSAGE
  17. !MESSAGE Possible choices for configuration are:
  18. !MESSAGE
  19. <%foreach(configurations)%>
  20. !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%>")
  21. <%endfor%>
  22. !MESSAGE
  23. # Begin Project
  24. # PROP AllowPerConfigDependencies 0
  25. # PROP Scc_ProjName ""
  26. # PROP Scc_LocalPath ""
  27. CPP=cl.exe
  28. MTL=midl.exe
  29. RSC=rc.exe
  30. <%foreach(configurations)%>
  31. !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
  32. # PROP Use_MFC <%use_mfc("0")%>
  33. # PROP Use_Debug_Libraries <%use_debug_libraries("1")%>
  34. <%if(exename)%>
  35. # PROP Output_Dir "<%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%>"
  36. <%endif%>
  37. <%if(type_is_static)%>
  38. # PROP Output_Dir "<%output_dir%>"
  39. <%endif%>
  40. <%if(type_is_dynamic)%>
  41. # PROP Output_Dir "<%libout%>"
  42. <%endif%>
  43. # PROP Intermediate_Dir "<%intermediate_dir%>\<%noextension(project_file)%>"
  44. <%if(type_is_dynamic)%>
  45. # PROP Ignore_Export_Lib 0
  46. <%endif%>
  47. # PROP Target_Dir ""
  48. <%if(type_is_static)%>
  49. LINK32=link.exe -lib
  50. <%endif%>
  51. # 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
  52. <%if(compile_flags_removed)%>
  53. # SUBTRACT CPP <%compile_flags_removed%>
  54. <%endif%>
  55. <%if(midl_includes)%># ADD MTL <%foreach(midl_includes)%>/I "<%midl_include%>" <%endfor%><%endif%>
  56. # ADD MTL <%foreach(defines)%>/D "<%define%>" <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%foreach(midl_defines)%>/D "<%midl_define%>" <%endfor%><%midl_flags%>
  57. # ADD RSC /l 0x409<%foreach(defines macros)%> /d <%define%><%endfor%><%if(unicode)%> /d UNICODE /d _UNICODE<%endif%><%foreach(includes)%> /i "<%include%>"<%endfor%>
  58. BSC32=bscmake.exe
  59. # ADD BSC32 /nologo <%if(sharedname || staticname)%>/o"<%libout%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%>.bsc"<%endif%>
  60. <%if(type_is_binary)%>
  61. LINK32=link.exe
  62. # 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%>"
  63. <%if(link_flags_removed)%>
  64. # SUBTRACT LINK32 <%link_flags_removed%>
  65. <%endif%>
  66. <%endif%>
  67. <%if(type_is_static)%>
  68. LIB32=link.exe -lib
  69. # ADD LIB32 /nologo /out:"<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
  70. <%endif%>
  71. <%if(postbuild)%>
  72. # Begin Special Build Tool
  73. SOURCE="$(InputPath)"
  74. PostBuild_Cmds=<%eval(postbuild)%>
  75. # End Special Build Tool
  76. <%endif%>
  77. <%endfor%>
  78. !ENDIF
  79. # Begin Target
  80. <%foreach(configurations)%>
  81. # Name "<%project_name%> - <%platform%> <%configuration%>"
  82. <%endfor%>
  83. <%if(exename || sharedname || staticname)%>
  84. # Begin Group "Source Files"
  85. # PROP Default_Filter "<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>"
  86. <%if(pch_source)%>
  87. <%if(pch_header)%>
  88. # Begin Source File
  89. SOURCE="<%pch_source%>"
  90. # ADD CPP /Yc"<%pch_header%>"
  91. # End Source File
  92. <%endif%>
  93. <%endif%>
  94. <%if(grouped_source_files)%>
  95. <%foreach(sort(grouped_source_files))%>
  96. # Begin Group "<%grouped_source_file%>"
  97. # PROP Default_Filter ""
  98. <%foreach(grouped_source_file->files)%>
  99. # Begin Source File
  100. SOURCE="<%grouped_source_file->file%>"
  101. <%if(duplicate_index(grouped_source_file->file))%>
  102. <%foreach(configurations)%>
  103. !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
  104. # 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"
  105. <%if(flag_overrides(grouped_source_file->file, no_pch))%>
  106. # SUBTRACT CPP /YX /Yc /Yu
  107. <%endif%>
  108. <%endfor%>
  109. !ENDIF
  110. <%else%>
  111. <%if(flag_overrides(grouped_source_file->file, buildflags))%>
  112. # ADD CPP <%flag_overrides(grouped_source_file->file, buildflags)%>
  113. <%endif%>
  114. <%if(flag_overrides(grouped_source_file->file, no_pch))%>
  115. # SUBTRACT CPP /YX /Yc /Yu
  116. <%endif%>
  117. <%endif%>
  118. # End Source File
  119. <%endfor%>
  120. # End Group
  121. <%endfor%>
  122. <%else%>
  123. <%foreach(source_files)%>
  124. # Begin Source File
  125. SOURCE="<%source_file%>"
  126. <%if(duplicate_index(source_file))%>
  127. <%foreach(configurations)%>
  128. !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
  129. # 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"
  130. <%if(flag_overrides(source_file, no_pch))%>
  131. # SUBTRACT CPP /YX /Yc /Yu
  132. <%endif%>
  133. <%endfor%>
  134. !ENDIF
  135. <%else%>
  136. <%if(flag_overrides(source_file, buildflags))%>
  137. # ADD CPP <%flag_overrides(source_file, buildflags)%>
  138. <%endif%>
  139. <%if(flag_overrides(source_file, no_pch))%>
  140. # SUBTRACT CPP /YX /Yc /Yu
  141. <%endif%>
  142. <%endif%>
  143. # End Source File
  144. <%endfor%>
  145. <%endif%>
  146. # End Group
  147. <%endif%>
  148. <%if(header_files)%>
  149. # Begin Group "Header Files"
  150. # PROP Default_Filter "<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>"
  151. <%if(pch_header)%>
  152. # Begin Source File
  153. SOURCE="<%pch_header%>"
  154. # End Source File
  155. <%endif%>
  156. <%if(grouped_header_files)%>
  157. <%foreach(sort(grouped_header_files))%>
  158. # Begin Group "<%grouped_header_file%>"
  159. # PROP Default_Filter ""
  160. <%foreach(grouped_header_file->files)%>
  161. # Begin Source File
  162. SOURCE="<%grouped_header_file->file%>"
  163. # End Source File
  164. <%endfor%>
  165. # End Group
  166. <%endfor%>
  167. <%else%>
  168. <%foreach(header_files)%>
  169. # Begin Source File
  170. SOURCE="<%header_file%>"
  171. # End Source File
  172. <%endfor%>
  173. <%endif%>
  174. # End Group
  175. <%endif%>
  176. <%if(inline_files)%>
  177. # Begin Group "Inline Files"
  178. # PROP Default_Filter "<%foreach(ext, extensions(inline_files))%><%ext%><%fornotlast(";")%><%endfor%>"
  179. <%if(grouped_inline_files)%>
  180. <%foreach(sort(grouped_inline_files))%>
  181. # Begin Group "<%grouped_inline_file%>"
  182. # PROP Default_Filter ""
  183. <%foreach(grouped_inline_file->files)%>
  184. # Begin Source File
  185. SOURCE="<%grouped_inline_file->file%>"
  186. # End Source File
  187. <%endfor%>
  188. # End Group
  189. <%endfor%>
  190. <%else%>
  191. <%foreach(inline_files)%>
  192. # Begin Source File
  193. SOURCE="<%inline_file%>"
  194. # End Source File
  195. <%endfor%>
  196. <%endif%>
  197. # End Group
  198. <%endif%>
  199. <%if(template_files)%>
  200. # Begin Group "Template Files"
  201. # PROP Default_Filter ""
  202. <%if(grouped_template_files)%>
  203. <%foreach(sort(grouped_template_files))%>
  204. # Begin Group "<%grouped_template_file%>"
  205. # PROP Default_Filter ""
  206. <%foreach(grouped_template_file->files)%>
  207. # Begin Source File
  208. SOURCE="<%grouped_template_file->file%>"
  209. # PROP Exclude_From_Build 1
  210. # End Source File
  211. <%endfor%>
  212. # End Group
  213. <%endfor%>
  214. <%else%>
  215. <%foreach(template_files)%>
  216. # Begin Source File
  217. SOURCE="<%template_file%>"
  218. # PROP Exclude_From_Build 1
  219. # End Source File
  220. <%endfor%>
  221. <%endif%>
  222. # End Group
  223. <%endif%>
  224. <%if(documentation_files)%>
  225. # Begin Group "Documentation"
  226. # PROP Default_Filter ""
  227. <%if(grouped_documentation_files)%>
  228. <%foreach(sort(grouped_documentation_files))%>
  229. # Begin Group "<%grouped_documentation_file%>"
  230. # PROP Default_Filter ""
  231. <%foreach(grouped_documentation_file->files)%>
  232. # Begin Source File
  233. SOURCE="<%grouped_documentation_file->file%>"
  234. # End Source File
  235. <%endfor%>
  236. # End Group
  237. <%endfor%>
  238. <%else%>
  239. <%foreach(documentation_files)%>
  240. # Begin Source File
  241. SOURCE="<%documentation_file%>"
  242. # End Source File
  243. <%endfor%>
  244. <%endif%>
  245. # End Group
  246. <%endif%>
  247. <%if(resource_files && !type_is_static)%>
  248. # Begin Group "Resource Files"
  249. # PROP Default_Filter "rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
  250. <%if(grouped_resource_files)%>
  251. <%foreach(sort(grouped_resource_files))%>
  252. # Begin Group "<%grouped_resource_file%>"
  253. # PROP Default_Filter ""
  254. <%foreach(grouped_resource_file->files)%>
  255. # Begin Source File
  256. SOURCE="<%grouped_resource_file->file%>"
  257. # End Source File
  258. <%endfor%>
  259. # End Group
  260. <%endfor%>
  261. <%else%>
  262. <%foreach(resource_files)%>
  263. # Begin Source File
  264. SOURCE="<%resource_file%>"
  265. # End Source File
  266. <%endfor%>
  267. <%endif%>
  268. # End Group
  269. <%endif%>
  270. <%foreach(custom_types)%>
  271. <%if(custom_type->input_files)%>
  272. # Begin Group "<%ucw(custom_type)%>"
  273. # PROP Default_Filter "<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>"
  274. <%foreach(custom_type->input_files)%>
  275. # Begin Source File
  276. SOURCE="<%custom_type->input_file%>"
  277. <%if(custom_type->input_file->output_files)%>
  278. <%foreach(configurations)%>
  279. !<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%project_name%> - <%platform%> <%configuration%>"
  280. <%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)))%>
  281. 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%>
  282. <%endif%>
  283. # PROP Ignore_Default_Tool 1
  284. # 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)
  285. InputPath="<%custom_type->input_file%>"
  286. BuildCmds= \
  287. <%if(custom_type->libpath)%>
  288. PATH=%PATH%;<%custom_type->libpath%> \
  289. <%endif%>
  290. <%if(flag_overrides(custom_type->input_file, gendir))%>
  291. mkdir <%flag_overrides(custom_type->input_file, gendir)%> 2> nul \
  292. <%endif%>
  293. <%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%> \
  294. <%if(flag_overrides(custom_type->input_file, postcommand))%>
  295. <%foreach(custom_type->input_file)%>
  296. <%flag_overrides(custom_type->input_file, postcommand)%> \
  297. <%endfor%>
  298. <%else%>
  299. <%if(custom_type->postcommand)%>
  300. <%foreach(custom_type->input_file)%>
  301. <%custom_type->postcommand%> \
  302. <%endfor%>
  303. <%endif%>
  304. <%endif%>
  305. <%if(pch_header)%>
  306. <%if(custom_type->pch_postrule)%>
  307. <%foreach(custom_type->input_file->source_output_files)%>
  308. echo #include "<%pch_header%>" > temporary.src \
  309. 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 \
  310. 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%>"
  311. <%endfor%>
  312. <%endif%>
  313. <%endif%>
  314. <%foreach(custom_type->input_file->output_files)%>
  315. "<%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)"
  316. $(BuildCmds)
  317. <%endfor%>
  318. # End Custom Build
  319. <%endfor%>
  320. !ENDIF
  321. <%else%>
  322. # PROP Exclude_From_Build 1
  323. <%endif%>
  324. # End Source File
  325. <%endfor%>
  326. # End Group
  327. <%endif%>
  328. <%endfor%>
  329. # End Target
  330. # End Project