PageRenderTime 67ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/templates/vc7.mpd

https://bitbucket.org/snaewe/mpc
Unknown | 655 lines | 655 code | 0 blank | 0 comment | 0 complexity | 0f1667ccd0f2b97dfae73d448bd58cac MD5 | raw file
  1. <?xml version="<%xml_version("1.0")%>" encoding="<%encoding("Windows-1252")%>"?>
  2. <VisualStudioProject
  3. ProjectType="<%vcprojecttype("Visual C++")%>"
  4. Version="<%vcversion%>"
  5. Name="<%project_name%>"
  6. ProjectGUID="{<%guid%>}"
  7. SccProjectName=""
  8. SccLocalPath="">
  9. <Platforms>
  10. <Platform
  11. Name="<%platform("Win32")%>"/>
  12. </Platforms>
  13. <Configurations>
  14. <%foreach(configurations)%>
  15. <Configuration
  16. Name="<%configuration%>|<%platform%>"
  17. OutputDirectory="<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%><%else%><%if(type_is_static)%><%libout%><%else%><%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir("Debug")%><%endif%><%else%><%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%><%endif%><%endif%><%endif%>"
  18. IntermediateDirectory="<%intermediate_dir%>\<%noextension(project_file)%><%if(output_subdir)%>\<%output_subdir%><%endif%>"
  19. <%if(type_is_static && staticname)%>
  20. ConfigurationType="4"
  21. <%else%>
  22. <%if(custom_only)%>
  23. ConfigurationType="10"
  24. <%else%>
  25. ConfigurationType="<%configuration_type("2")%>"
  26. <%endif%>
  27. <%endif%>
  28. UseOfMFC="<%use_mfc("0")%>"
  29. <%if(UseOfATL)%>
  30. UseOfATL="<%UseOfATL%>"
  31. <%endif%>
  32. ATLMinimizesCRunTimeLibraryUsage="FALSE"
  33. <%if(managed)%>
  34. ManagedExtensions="1"
  35. <%endif%>
  36. CharacterSet="<%charset("0")%>">
  37. <%if(!custom_only)%>
  38. <Tool
  39. Name="VCCLCompilerTool"
  40. <%if(compile_flags || DisableSpecificWarnings)%>
  41. AdditionalOptions="<%compile_flags%><%foreach(DisableSpecificWarnings)%> /wd<%DisableSpecificWarning%><%endfor%>"
  42. <%endif%>
  43. <%if(optimize)%>
  44. Optimization="<%optimize%>"
  45. <%else%>
  46. Optimization="0"
  47. <%endif%>
  48. <%if(InlineFunctionExpansion)%>
  49. InlineFunctionExpansion="<%InlineFunctionExpansion%>"
  50. <%endif%>
  51. AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(",")%><%endfor%>"
  52. PreprocessorDefinitions="<%if(unicode)%>UNICODE;_UNICODE;<%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%><%dynamicflag%>;<%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%><%staticflag%>;<%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%><%pch_define%>;<%endfor%><%endif%><%foreach(defines common_defines macros)%><%define%><%fornotlast(";")%><%endfor%><%if(macro_for_lib_modifier)%><%if(use_lib_modifier)%><%if(lib_modifier)%>;MPC_LIB_MODIFIER=\&quot;<%lib_modifier%>\&quot;<%endif%><%endif%><%endif%>"
  53. MinimalRebuild="<%MinimalRebuild("FALSE")%>"
  54. ExceptionHandling="<%exceptions("TRUE")%>"
  55. <%if(!managed)%>
  56. <%if(optimize)%>
  57. <%if(BasicRuntimeChecks)%>
  58. BasicRuntimeChecks="<%BasicRuntimeChecks%>"
  59. <%endif%>
  60. <%else%>
  61. BasicRuntimeChecks="<%BasicRuntimeChecks("3")%>"
  62. <%endif%>
  63. <%endif%>
  64. <%if(StringPooling)%>
  65. StringPooling="<%StringPooling%>"
  66. <%endif%>
  67. <%if(runtime_library)%>
  68. RuntimeLibrary="<%runtime_library%>"
  69. <%else%>
  70. RuntimeLibrary="<%if(type_is_static || need_staticflags)%><%if(debug_prj)%>1<%else%>0<%endif%><%else%><%if(debug_prj)%>3<%else%>2<%endif%><%endif%>"
  71. <%endif%>
  72. BufferSecurityCheck="<%BufferSecurityCheck("TRUE")%>"
  73. EnableFunctionLevelLinking="<%EnableFunctionLevelLinking("TRUE")%>"
  74. TreatWChar_tAsBuiltInType="<%wchar_t("TRUE")%>"
  75. <%if(forloopscope)%>
  76. ForceConformanceInForLoopScope="<%forloopscope%>"
  77. <%endif%>
  78. RuntimeTypeInfo="<%rtti("TRUE")%>"
  79. <%if(pch_header)%>
  80. <%if(pch_source)%>
  81. UsePrecompiledHeader="3"
  82. <%else%>
  83. UsePrecompiledHeader="2"
  84. <%endif%>
  85. PrecompiledHeaderThrough="<%pch_header%>"
  86. <%endif%>
  87. <%if(pdbc)%>
  88. ProgramDataBaseFileName="<%if(type_is_static)%><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%><%intermediate_dir%>\<%noextension(project_file)%><%if(output_subdir)%>\<%output_subdir%><%endif%>/<%endif%>"
  89. <%endif%>
  90. WarningLevel="<%warning_level("3")%>"
  91. SuppressStartupBanner="TRUE"
  92. Detect64BitPortabilityProblems="<%Detect64BitPortabilityProblems("FALSE")%>"
  93. DebugInformationFormat="<%debug_format("3")%>"/>
  94. <%endif%>
  95. <Tool
  96. Name="VCCustomBuildTool"/>
  97. <%if(!custom_only)%>
  98. <Tool
  99. <%if(type_is_static)%>
  100. Name="VCLibrarianTool"
  101. <%if(staticname)%>
  102. OutputFile="<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
  103. <%endif%>
  104. <%if(lib_options)%>
  105. AdditionalOptions="<%lib_options%>"
  106. <%endif%>
  107. <%else%>
  108. Name="VCLinkerTool"
  109. <%if(!source_files || link_options)%>
  110. AdditionalOptions="<%if(!source_files)%>/noentry <%endif%><%if(link_options)%><%link_options%><%endif%>"
  111. <%endif%>
  112. <%if(type_is_binary)%>
  113. AdditionalDependencies="<%foreach(reverse(libs))%><%fornotfirst(" ")%><%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%>"
  114. <%endif%>
  115. <%if(exename || sharedname || staticname)%>
  116. OutputFile="$(OutDir)\<%if(type_is_dynamic)%><%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%else%><%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"
  117. <%endif%>
  118. <%if(win_version)%>
  119. Version="<%win_version%>"
  120. <%endif%>
  121. LinkIncremental="<%LinkIncremental("2")%>"
  122. SuppressStartupBanner="TRUE"
  123. AdditionalLibraryDirectories="<%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%>"
  124. <%if(ignore_default_library_names)%>
  125. IgnoreDefaultLibraryNames="<%foreach(ignore_default_library_names)%><%ignore_default_library_name%><%fornotlast(";")%><%endfor%>"
  126. <%endif%>
  127. <%if(IgnoreAllDefaultLibraries)%>
  128. IgnoreAllDefaultLibraries="<%IgnoreAllDefaultLibraries%>"
  129. <%endif%>
  130. <%if(ModuleDefinitionFile)%>
  131. ModuleDefinitionFile="<%ModuleDefinitionFile%>"
  132. <%endif%>
  133. <%if(pdbl)%>
  134. GenerateDebugInformation="TRUE"
  135. <%if(sharedname)%>
  136. ProgramDatabaseFile="$(OutDir)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
  137. <%else%>
  138. <%if(exename)%>
  139. ProgramDatabaseFile="$(OutDir)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"
  140. <%endif%>
  141. <%endif%>
  142. <%endif%>
  143. <%if(GenerateMapFile)%>
  144. GenerateMapFile="<%GenerateMapFile%>"
  145. <%endif%>
  146. SubSystem="<%subsystem("1")%>"
  147. <%if(StackReserveSize)%>
  148. StackReserveSize="<%StackReserveSize%>"
  149. <%endif%>
  150. <%if(StackCommitSize)%>
  151. StackCommitSize="<%StackCommitSize%>"
  152. <%endif%>
  153. <%if(optimize)%>
  154. OptimizeReferences="<%optref("2")%>"
  155. EnableCOMDATFolding="<%opticf("2")%>"
  156. <%else%>
  157. <%if(optref)%>
  158. OptimizeReferences="<%optref%>"
  159. <%endif%>
  160. <%endif%>
  161. <%if(unicode && unicode_mfc_entry && exename && source_files)%>
  162. EntryPointSymbol="<%unicode_mfc_entry%>"
  163. <%endif%>
  164. <%if(type_is_dynamic && sharedname)%>
  165. ImportLibrary="<%libout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
  166. <%endif%>
  167. <%endif%>
  168. <%if(FixedBaseAddress || managed)%>
  169. FixedBaseAddress="<%FixedBaseAddress("1")%>"
  170. <%endif%>
  171. TargetMachine="<%machine("1")%>"/>
  172. <%endif%>
  173. <Tool
  174. Name="VCMIDLTool"
  175. <%if(midl_flags)%>
  176. AdditionalOptions="<%midl_flags%>"
  177. <%endif%>
  178. <%if(midl_includes)%>
  179. AdditionalIncludeDirectories="<%foreach(midl_includes)%><%midl_include%><%fornotlast(",")%><%endfor%>"
  180. <%endif%>
  181. <%if(midl_defines)%>
  182. PreprocessorDefinitions="<%foreach(midl_defines)%><%midl_define%><%fornotlast(";")%><%endfor%>"
  183. <%endif%>
  184. <%if(midl_notlb)%>
  185. GenerateTypeLibrary="FALSE"
  186. <%endif%>
  187. TypeLibraryName="$(InputName).tlb"
  188. HeaderFileName="$(InputName).h"
  189. InterfaceIdentifierFileName="$(InputName)_i.c"
  190. ProxyFileName="$(InputName)_p.c"
  191. />
  192. <Tool
  193. Name="VCPostBuildEventTool"
  194. <%if(postbuild)%>
  195. CommandLine="<%eval(postbuild)%>"
  196. <%endif%>
  197. />
  198. <Tool
  199. Name="VCPreBuildEventTool"
  200. <%if(prebuild)%>
  201. CommandLine="<%eval(prebuild)%>"
  202. <%endif%>
  203. />
  204. <%if(!custom_only)%>
  205. <Tool
  206. Name="VCPreLinkEventTool"
  207. <%if(prelink)%>
  208. CommandLine="<%eval(prelink)%>"
  209. <%endif%>
  210. />
  211. <%if(postclean)%>
  212. <Tool
  213. Name="VCPostCleanEventTool"
  214. CommandLine="<%eval(postclean)%>"
  215. />
  216. <%endif%>
  217. <Tool
  218. Name="VCResourceCompilerTool"
  219. PreprocessorDefinitions="<%if(unicode)%>UNICODE;_UNICODE;<%endif%><%foreach(defines macros)%><%define%><%fornotlast(";")%><%endfor%>"
  220. Culture="<%culture("1033")%>"
  221. AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(",")%><%endfor%>"/>
  222. <Tool
  223. Name="VCWebServiceProxyGeneratorTool"/>
  224. <Tool
  225. Name="VCWebDeploymentTool"/>
  226. <%endif%>
  227. </Configuration>
  228. <%endfor%>
  229. </Configurations>
  230. <Files>
  231. <%if(exename || sharedname || staticname)%>
  232. <%if(source_files)%>
  233. <Filter
  234. Name="Source Files"
  235. Filter="<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>">
  236. <%if(pch_source)%>
  237. <File
  238. RelativePath="<%pch_source%>">
  239. <%foreach(configurations)%>
  240. <FileConfiguration
  241. Name="<%configuration%>|<%platform%>">
  242. <Tool
  243. Name="VCCLCompilerTool"
  244. UsePrecompiledHeader="1"/>
  245. </FileConfiguration>
  246. <%endfor%>
  247. </File>
  248. <%endif%>
  249. <%if(grouped_source_files)%>
  250. <%foreach(sort(grouped_source_files))%>
  251. <%if(compares(grouped_source_file, default_group))%>
  252. <%foreach(grouped_source_file->files)%>
  253. <File
  254. RelativePath="<%grouped_source_file->file%>">
  255. <%if(duplicate_index(grouped_source_file->file))%>
  256. <%foreach(configurations)%>
  257. <FileConfiguration
  258. Name="<%configuration%>|<%platform%>">
  259. <Tool
  260. Name="VCCLCompilerTool"
  261. <%if(flag_overrides(grouped_source_file->file, buildflags))%>
  262. AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
  263. <%endif%>
  264. <%if(flag_overrides(grouped_source_file->file, no_pch))%>
  265. UsePrecompiledHeader="0"
  266. <%endif%>
  267. <%if(flag_overrides(grouped_source_file->file, managed))%>
  268. BasicRuntimeChecks="0"
  269. CompileAsManaged="2"
  270. <%endif%>
  271. ObjectFile="$(IntDir)\$(InputName)<%duplicate_index(grouped_source_file->file)%>.obj"/>
  272. </FileConfiguration>
  273. <%endfor%>
  274. <%else%>
  275. <%if(flag_overrides(grouped_source_file->file, buildflags) || flag_overrides(grouped_source_file->file, no_pch) || flag_overrides(grouped_source_file->file, managed))%>
  276. <%foreach(configurations)%>
  277. <FileConfiguration
  278. Name="<%configuration%>|<%platform%>">
  279. <Tool
  280. Name="VCCLCompilerTool"
  281. <%if(flag_overrides(grouped_source_file->file, buildflags))%>
  282. AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
  283. <%endif%>
  284. <%if(flag_overrides(grouped_source_file->file, no_pch))%>
  285. UsePrecompiledHeader="0"
  286. <%endif%>
  287. <%if(flag_overrides(grouped_source_file->file, managed))%>
  288. BasicRuntimeChecks="0"
  289. CompileAsManaged="2"
  290. <%endif%>
  291. />
  292. </FileConfiguration>
  293. <%endfor%>
  294. <%endif%>
  295. <%endif%>
  296. </File>
  297. <%endfor%>
  298. <%else%>
  299. <Filter
  300. Name="<%grouped_source_file%>"
  301. Filter="">
  302. <%foreach(grouped_source_file->files)%>
  303. <File
  304. RelativePath="<%grouped_source_file->file%>">
  305. <%if(duplicate_index(grouped_source_file->file))%>
  306. <%foreach(configurations)%>
  307. <FileConfiguration
  308. Name="<%configuration%>|<%platform%>">
  309. <Tool
  310. Name="VCCLCompilerTool"
  311. <%if(flag_overrides(grouped_source_file->file, buildflags))%>
  312. AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
  313. <%endif%>
  314. <%if(flag_overrides(grouped_source_file->file, no_pch))%>
  315. UsePrecompiledHeader="0"
  316. <%endif%>
  317. <%if(flag_overrides(grouped_source_file->file, managed))%>
  318. BasicRuntimeChecks="0"
  319. CompileAsManaged="2"
  320. <%endif%>
  321. ObjectFile="$(IntDir)\$(InputName)<%duplicate_index(grouped_source_file->file)%>.obj"/>
  322. </FileConfiguration>
  323. <%endfor%>
  324. <%else%>
  325. <%if(flag_overrides(grouped_source_file->file, buildflags) || flag_overrides(grouped_source_file->file, no_pch) || flag_overrides(grouped_source_file->file, managed))%>
  326. <%foreach(configurations)%>
  327. <FileConfiguration
  328. Name="<%configuration%>|<%platform%>">
  329. <Tool
  330. Name="VCCLCompilerTool"
  331. <%if(flag_overrides(grouped_source_file->file, buildflags))%>
  332. AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
  333. <%endif%>
  334. <%if(flag_overrides(grouped_source_file->file, no_pch))%>
  335. UsePrecompiledHeader="0"
  336. <%endif%>
  337. <%if(flag_overrides(grouped_source_file->file, managed))%>
  338. BasicRuntimeChecks="0"
  339. CompileAsManaged="2"
  340. <%endif%>
  341. />
  342. </FileConfiguration>
  343. <%endfor%>
  344. <%endif%>
  345. <%endif%>
  346. </File>
  347. <%endfor%>
  348. </Filter>
  349. <%endif%>
  350. <%endfor%>
  351. <%else%>
  352. <%foreach(source_files)%>
  353. <File
  354. RelativePath="<%source_file%>">
  355. <%if(duplicate_index(source_file))%>
  356. <%foreach(configurations)%>
  357. <FileConfiguration
  358. Name="<%configuration%>|<%platform%>">
  359. <Tool
  360. Name="VCCLCompilerTool"
  361. <%if(flag_overrides(source_file, buildflags))%>
  362. AdditionalOptions="<%flag_overrides(source_file, buildflags)%>"
  363. <%endif%>
  364. <%if(flag_overrides(source_file, no_pch))%>
  365. UsePrecompiledHeader="0"
  366. <%endif%>
  367. <%if(flag_overrides(source_file, managed))%>
  368. BasicRuntimeChecks="0"
  369. CompileAsManaged="2"
  370. <%endif%>
  371. ObjectFile="$(IntDir)\$(InputName)<%duplicate_index(source_file)%>.obj"/>
  372. </FileConfiguration>
  373. <%endfor%>
  374. <%else%>
  375. <%if(flag_overrides(source_file, buildflags) || flag_overrides(source_file, no_pch) || flag_overrides(source_file, managed))%>
  376. <%foreach(configurations)%>
  377. <FileConfiguration
  378. Name="<%configuration%>|<%platform%>">
  379. <Tool
  380. Name="VCCLCompilerTool"
  381. <%if(flag_overrides(source_file, buildflags))%>
  382. AdditionalOptions="<%flag_overrides(source_file, buildflags)%>"
  383. <%endif%>
  384. <%if(flag_overrides(source_file, no_pch))%>
  385. UsePrecompiledHeader="0"
  386. <%endif%>
  387. <%if(flag_overrides(source_file, managed))%>
  388. BasicRuntimeChecks="0"
  389. CompileAsManaged="2"
  390. <%endif%>
  391. />
  392. </FileConfiguration>
  393. <%endfor%>
  394. <%endif%>
  395. <%endif%>
  396. </File>
  397. <%endfor%>
  398. <%endif%>
  399. </Filter>
  400. <%endif%>
  401. <%endif%>
  402. <%if(header_files)%>
  403. <Filter
  404. Name="Header Files"
  405. Filter="<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>">
  406. <%if(pch_header)%>
  407. <File
  408. RelativePath="<%pch_header%>">
  409. </File>
  410. <%endif%>
  411. <%if(grouped_header_files)%>
  412. <%foreach(sort(grouped_header_files))%>
  413. <%if(compares(grouped_header_file, default_group))%>
  414. <%foreach(grouped_header_file->files)%>
  415. <File
  416. RelativePath="<%grouped_header_file->file%>">
  417. </File>
  418. <%endfor%>
  419. <%else%>
  420. <Filter
  421. Name="<%grouped_header_file%>"
  422. Filter="">
  423. <%foreach(grouped_header_file->files)%>
  424. <File
  425. RelativePath="<%grouped_header_file->file%>">
  426. </File>
  427. <%endfor%>
  428. </Filter>
  429. <%endif%>
  430. <%endfor%>
  431. <%else%>
  432. <%foreach(header_files)%>
  433. <File
  434. RelativePath="<%header_file%>">
  435. </File>
  436. <%endfor%>
  437. <%endif%>
  438. </Filter>
  439. <%endif%>
  440. <%foreach(custom_types)%>
  441. <%if(custom_type->input_files)%>
  442. <Filter
  443. Name="<%ucw(custom_type)%>"
  444. Filter="<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>">
  445. <%foreach(custom_type->input_files)%>
  446. <File
  447. RelativePath="<%custom_type->input_file%>">
  448. <%foreach(configurations)%>
  449. <FileConfiguration
  450. Name="<%configuration%>|<%platform%>"
  451. <%if(!custom_type->input_file->output_files)%>
  452. ExcludedFromBuild="TRUE"
  453. <%endif%>
  454. >
  455. <%if(custom_type->input_file->output_files)%>
  456. <Tool
  457. Name="VCCustomBuildTool"
  458. Description="Invoking <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> on <%custom_type->input_file%>"
  459. CommandLine="<%if(custom_type->libpath)%>PATH=%PATH%;<%custom_type->libpath%>&#x0D;&#x0A;<%endif%><%if(flag_overrides(custom_type->input_file, gendir))%>if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%>&#x0D;&#x0A;<%endif%><%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)%>&quot;<%custom_type->input_file%>&quot; <%custom_type->output_option%><%foreach(custom_type->input_file->output_files)%> &quot;<%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%>&quot;<%endfor%><%else%>&quot;<%custom_type->input_file%>&quot;<%endif%><%if(flag_overrides(custom_type->input_file, postcommand))%><%foreach(custom_type->input_file)%> &amp;&amp; <%flag_overrides(custom_type->input_file, postcommand)%><%endfor%><%else%><%if(custom_type->postcommand)%><%foreach(custom_type->input_file)%> &amp;&amp; <%custom_type->postcommand%><%endfor%><%endif%><%endif%><%if(pch_header)%><%if(custom_type->pch_postrule)%><%foreach(custom_type->input_file->source_output_files)%> &amp;&amp; echo #include &quot;<%pch_header%>&quot; &gt; temporary.src &amp;&amp; type &quot;<%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%>&quot; &gt;&gt; temporary.src &amp;&amp; move /y temporary.src &quot;<%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%>&quot;<%endfor%><%endif%><%endif%>"
  460. <%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)))%>
  461. AdditionalDependencies="<%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%>"
  462. <%endif%>
  463. Outputs="<%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%><%fornotlast(";")%><%endfor%>"/>
  464. <%endif%>
  465. </FileConfiguration>
  466. <%endfor%>
  467. </File>
  468. <%endfor%>
  469. </Filter>
  470. <%endif%>
  471. <%endfor%>
  472. <%if(inline_files)%>
  473. <Filter
  474. Name="Inline Files"
  475. Filter="<%foreach(ext, extensions(inline_files))%><%ext%><%fornotlast(";")%><%endfor%>">
  476. <%if(grouped_inline_files)%>
  477. <%foreach(sort(grouped_inline_files))%>
  478. <%if(compares(grouped_inline_file, default_group))%>
  479. <%foreach(grouped_inline_file->files)%>
  480. <File
  481. RelativePath="<%grouped_inline_file->file%>">
  482. </File>
  483. <%endfor%>
  484. <%else%>
  485. <Filter
  486. Name="<%grouped_inline_file%>"
  487. Filter="">
  488. <%foreach(grouped_inline_file->files)%>
  489. <File
  490. RelativePath="<%grouped_inline_file->file%>">
  491. </File>
  492. <%endfor%>
  493. </Filter>
  494. <%endif%>
  495. <%endfor%>
  496. <%else%>
  497. <%foreach(inline_files)%>
  498. <File
  499. RelativePath="<%inline_file%>">
  500. </File>
  501. <%endfor%>
  502. <%endif%>
  503. </Filter>
  504. <%endif%>
  505. <%if(template_files)%>
  506. <Filter
  507. Name="Template Files"
  508. Filter="">
  509. <%if(grouped_template_files)%>
  510. <%foreach(sort(grouped_template_files))%>
  511. <%if(compares(grouped_template_file, default_group))%>
  512. <%foreach(grouped_template_file->files)%>
  513. <File
  514. RelativePath="<%grouped_template_file->file%>">
  515. <%foreach(configurations)%>
  516. <FileConfiguration
  517. Name="<%configuration%>|<%platform%>"
  518. ExcludedFromBuild="TRUE">
  519. <Tool
  520. Name="VCCLCompilerTool"/>
  521. </FileConfiguration>
  522. <%endfor%>
  523. </File>
  524. <%endfor%>
  525. <%else%>
  526. <Filter
  527. Name="<%grouped_template_file%>"
  528. Filter="">
  529. <%foreach(grouped_template_file->files)%>
  530. <File
  531. RelativePath="<%grouped_template_file->file%>">
  532. <%foreach(configurations)%>
  533. <FileConfiguration
  534. Name="<%configuration%>|<%platform%>"
  535. ExcludedFromBuild="TRUE">
  536. <Tool
  537. Name="VCCLCompilerTool"/>
  538. </FileConfiguration>
  539. <%endfor%>
  540. </File>
  541. <%endfor%>
  542. </Filter>
  543. <%endif%>
  544. <%endfor%>
  545. <%else%>
  546. <%foreach(template_files)%>
  547. <File
  548. RelativePath="<%template_file%>">
  549. <%foreach(configurations)%>
  550. <FileConfiguration
  551. Name="<%configuration%>|<%platform%>"
  552. ExcludedFromBuild="TRUE">
  553. <Tool
  554. Name="VCCLCompilerTool"/>
  555. </FileConfiguration>
  556. <%endfor%>
  557. </File>
  558. <%endfor%>
  559. <%endif%>
  560. </Filter>
  561. <%endif%>
  562. <%if(documentation_files)%>
  563. <Filter
  564. Name="Documentation"
  565. Filter="">
  566. <%if(grouped_documentation_files)%>
  567. <%foreach(sort(grouped_documentation_files))%>
  568. <%if(compares(grouped_documentation_file, default_group))%>
  569. <%foreach(grouped_documentation_file->files)%>
  570. <File
  571. RelativePath="<%grouped_documentation_file->file%>">
  572. <%foreach(configurations)%>
  573. <FileConfiguration
  574. Name="<%configuration%>|<%platform%>"
  575. ExcludedFromBuild="TRUE">
  576. <Tool
  577. Name="VCCustomBuildTool"/>
  578. </FileConfiguration>
  579. <%endfor%>
  580. </File>
  581. <%endfor%>
  582. <%else%>
  583. <Filter
  584. Name="<%grouped_documentation_file%>"
  585. Filter="">
  586. <%foreach(grouped_documentation_file->files)%>
  587. <File
  588. RelativePath="<%grouped_documentation_file->file%>">
  589. <%foreach(configurations)%>
  590. <FileConfiguration
  591. Name="<%configuration%>|<%platform%>"
  592. ExcludedFromBuild="TRUE">
  593. <Tool
  594. Name="VCCustomBuildTool"/>
  595. </FileConfiguration>
  596. <%endfor%>
  597. </File>
  598. <%endfor%>
  599. </Filter>
  600. <%endif%>
  601. <%endfor%>
  602. <%else%>
  603. <%foreach(documentation_files)%>
  604. <File
  605. RelativePath="<%documentation_file%>">
  606. <%foreach(configurations)%>
  607. <FileConfiguration
  608. Name="<%configuration%>|<%platform%>"
  609. ExcludedFromBuild="TRUE">
  610. <Tool
  611. Name="VCCustomBuildTool"/>
  612. </FileConfiguration>
  613. <%endfor%>
  614. </File>
  615. <%endfor%>
  616. <%endif%>
  617. </Filter>
  618. <%endif%>
  619. <%if(resource_files && !type_is_static)%>
  620. <Filter
  621. Name="Resource Files"
  622. Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe">
  623. <%if(grouped_resource_files)%>
  624. <%foreach(sort(grouped_resource_files))%>
  625. <%if(compares(grouped_resource_file, default_group))%>
  626. <%foreach(grouped_resource_file->files)%>
  627. <File
  628. RelativePath="<%grouped_resource_file->file%>">
  629. </File>
  630. <%endfor%>
  631. <%else%>
  632. <Filter
  633. Name="<%grouped_resource_file%>"
  634. Filter="">
  635. <%foreach(grouped_resource_file->files)%>
  636. <File
  637. RelativePath="<%grouped_resource_file->file%>">
  638. </File>
  639. <%endfor%>
  640. </Filter>
  641. <%endif%>
  642. <%endfor%>
  643. <%else%>
  644. <%foreach(resource_files)%>
  645. <File
  646. RelativePath="<%resource_file%>">
  647. </File>
  648. <%endfor%>
  649. <%endif%>
  650. </Filter>
  651. <%endif%>
  652. </Files>
  653. <Globals>
  654. </Globals>
  655. </VisualStudioProject>