Add languagestandard variable
[MPC.git] / templates / vc8.mpd
bloba7ad5263b894b79ea227ae2192df218fa47fcc65
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 RootNamespace="<%project_name%>"
8 Keyword="<%if(UseOfMFC)%>MFCProj<%else%><%platform("Win32")%>Proj<%endif%>"
9 SignManifests="true"
11 <Platforms>
12 <%foreach(platforms)%>
13 <Platform
14 Name="<%platform%>"
16 <%endfor%>
17 </Platforms>
18 <ToolFiles>
19 </ToolFiles>
20 <Configurations>
21 <%foreach(platforms)%>
22 <%foreach(configurations)%>
23 <Configuration
24 Name="<%configuration%>|<%platform%>"
25 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%>"
26 IntermediateDirectory="<%intermediate_dir%>\<%noextension(project_file)%><%if(output_subdir)%>\<%output_subdir%><%endif%>"
27 <%if(type_is_static && staticname)%>
28 ConfigurationType="4"
29 <%else%>
30 <%if(custom_only)%>
31 ConfigurationType="10"
32 <%else%>
33 ConfigurationType="<%ConfigurationType%>"
34 <%endif%>
35 <%endif%>
36 <%if(UseOfATL)%>
37 UseOfATL="<%UseOfATL%>"
38 <%endif%>
39 <%if(UseOfMFC)%>
40 UseOfMFC="<%UseOfMFC%>"
41 <%endif%>
42 <%if(unicode)%>
43 CharacterSet="<%charset("1")%>"
44 <%else%>
45 CharacterSet="<%charset("0")%>"
46 <%endif%>
48 <%if(managed)%>
49 ManagedExtensions="<%managed%>"
50 <%endif%>
52 <%if(makeoutput)%>
53 <Tool
54 Name="VCNMakeTool"
55 BuildCommandLine="<%makebuild%> CONF=<%configuration%>"
56 ReBuildCommandLine="<%makerebuild%> CONF=<%configuration%>"
57 CleanCommandLine="<%makeclean%> CONF=<%configuration%>"
58 Output="<%makeoutput%>"/>
59 <%else%>
60 <Tool
61 Name="VCPreBuildEventTool"
62 <%if(prebuild)%>
63 CommandLine="<%eval(prebuild)%>"
64 <%endif%>
66 <Tool
67 Name="VCCustomBuildTool"
69 <%if(!custom_only)%>
70 <Tool
71 Name="VCXMLDataGeneratorTool"
73 <Tool
74 Name="VCWebServiceProxyGeneratorTool"
76 <Tool
77 Name="VCMIDLTool"
78 AdditionalOptions="<%foreach(midl_defines)%>/D <%midl_define%> <%endfor%><%midl_flags%>"
79 AdditionalIncludeDirectories="<%foreach(midl_includes)%><%midl_include%><%fornotlast(",")%><%endfor%>"
80 <%if(midl_notlb)%>
81 GenerateTypeLibrary="false"
82 <%endif%>
83 TypeLibraryName="$(InputName).tlb"
84 HeaderFileName="$(InputName).h"
85 InterfaceIdentifierFileName="$(InputName)_i.c"
86 ProxyFileName="$(InputName)_p.c"
88 <Tool
89 Name="VCCLCompilerTool"
90 <%if(compile_flags)%>
91 AdditionalOptions="<%compile_flags%>"
92 <%endif%>
93 Optimization="<%optimize("0")%>"
94 <%if(InlineFunctionExpansion)%>
95 InlineFunctionExpansion="<%InlineFunctionExpansion%>"
96 <%endif%>
97 <%if(EnableIntrinsicFunctions)%>
98 EnableIntrinsicFunctions="<%EnableIntrinsicFunctions%>"
99 <%endif%>
100 <%if(FavorSizeOrSpeed)%>
101 FavorSizeOrSpeed="<%FavorSizeOrSpeed%>"
102 <%endif%>
103 <%if(OmitFramePointers)%>
104 OmitFramePointers="<%OmitFramePointers%>"
105 <%endif%>
106 <%if(EnableFiberSafeOptimizations)%>
107 EnableFiberSafeOptimizations="<%EnableFiberSafeOptimizations%>"
108 <%endif%>
109 <%if(WholeProgramOptimization)%>
110 WholeProgramOptimization="<%WholeProgramOptimization%>"
111 <%endif%>
112 <%if(includes)%>
113 AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(",")%><%endfor%>"
114 <%endif%>
115 <%if(AdditionalUsingDirectories)%>
116 AdditionalUsingDirectories="<%AdditionalUsingDirectories%>"
117 <%endif%>
118 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 cpu_defines platform_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%>"
119 <%if(IgnoreStandardIncludePath)%>
120 IgnoreStandardIncludePath="<%IgnoreStandardIncludePath%>"
121 <%endif%>
122 <%if(GeneratePreprocessedFile)%>
123 GeneratePreprocessedFile="<%GeneratePreprocessedFile%>"
124 <%endif%>
125 <%if(KeepComments)%>
126 KeepComments="<%KeepComments%>"
127 <%endif%>
128 <%if(StringPooling)%>
129 StringPooling="<%StringPooling%>"
130 <%endif%>
131 <%if(!optimize)%>
132 MinimalRebuild="<%MinimalRebuild("true")%>"
133 <%endif%>
134 <%if(ExceptionHandling)%>
135 ExceptionHandling="<%ExceptionHandling%>"
136 <%endif%>
137 <%if(!managed)%>
138 <%if(optimize)%>
139 <%if(BasicRuntimeChecks)%>
140 BasicRuntimeChecks="<%BasicRuntimeChecks%>"
141 <%endif%>
142 <%else%>
143 BasicRuntimeChecks="<%BasicRuntimeChecks("3")%>"
144 <%endif%>
145 <%endif%>
146 <%if(SmallerTypeCheck)%>
147 SmallerTypeCheck="<%SmallerTypeCheck%>"
148 <%endif%>
149 <%if(runtime_library)%>
150 RuntimeLibrary="<%runtime_library%>"
151 <%else%>
152 RuntimeLibrary="<%if(type_is_static || need_staticflags)%><%if(debug_prj)%>1<%else%>0<%endif%><%else%><%if(debug_prj)%>3<%else%>2<%endif%><%endif%>"
153 <%endif%>
154 <%if(StructMemberAlignment)%>
155 StructMemberAlignment="<%StructMemberAlignment%>"
156 <%endif%>
157 <%if(BufferSecurityCheck)%>
158 BufferSecurityCheck="<%BufferSecurityCheck%>"
159 <%endif%>
160 <%if(EnableFunctionLevelLinking)%>
161 EnableFunctionLevelLinking="<%EnableFunctionLevelLinking%>"
162 <%endif%>
163 <%if(EnableEnhancedInstructionSet)%>
164 EnableEnhancedInstructionSet="<%EnableEnhancedInstructionSet%>"
165 <%endif%>
166 <%if(FloatingPointModel)%>
167 FloatingPointModel="<%FloatingPointModel%>"
168 <%endif%>
169 <%if(FloatingPointExceptions)%>
170 FloatingPointExceptions="<%FloatingPointExceptions%>"
171 <%endif%>
172 <%if(DisableLanguageExtensions)%>
173 DisableLanguageExtensions="<%DisableLanguageExtensions%>"
174 <%endif%>
175 <%if(DefaultCharIsUnsigned)%>
176 DefaultCharIsUnsigned="<%DefaultCharIsUnsigned%>"
177 <%endif%>
178 <%if(TreatWChar_tAsBuiltInType)%>
179 TreatWChar_tAsBuiltInType="<%TreatWChar_tAsBuiltInType%>"
180 <%endif%>
181 <%if(ForceConformanceInForLoopScope)%>
182 ForceConformanceInForLoopScope="<%ForceConformanceInForLoopScope%>"
183 <%endif%>
184 RuntimeTypeInfo="<%RuntimeTypeInfo("true")%>"
185 <%if(OpenMP)%>
186 OpenMP="<%OpenMP%>"
187 <%endif%>
188 <%if(pch_header)%>
189 UsePrecompiledHeader="2"
190 PrecompiledHeaderThrough="<%pch_header%>"
191 <%if(PrecompiledHeaderFile)%>
192 PrecompiledHeaderFile="<%PrecompiledHeaderFile%>"
193 <%endif%>
194 <%endif%>
195 <%if(ExpandAttributedSource)%>
196 ExpandAttributedSource="<%ExpandAttributedSource%>"
197 <%endif%>
198 <%if(AssemblerOutput)%>
199 AssemblerOutput="<%AssemblerOutput%>"
200 <%endif%>
201 <%if(AssemblerListingLocation)%>
202 AssemblerListingLocation="<%AssemblerListingLocation%>"
203 <%endif%>
204 <%if(ObjectFile)%>
205 ObjectFile="<%ObjectFile%>"
206 <%endif%>
207 <%if(pdbc)%>
208 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%>"
209 <%else%>
210 <%if(ProgramDataBaseFileName)%>
211 ProgramDataBaseFileName="<%ProgramDataBaseFileName%>"
212 <%endif%>
213 <%endif%>
214 <%if(GenerateXMLDocumentationFiles)%>
215 GenerateXMLDocumentationFiles="<%GenerateXMLDocumentationFiles%>"
216 <%endif%>
217 <%if(XMLDocumentationFileName)%>
218 XMLDocumentationFileName="<%XMLDocumentationFileName%>"
219 <%endif%>
220 <%if(BrowseInformation)%>
221 BrowseInformation="<%BrowseInformation%>"
222 <%endif%>
223 <%if(BrowseInformationFile)%>
224 BrowseInformationFile="<%BrowseInformationFile%>"
225 <%endif%>
226 WarningLevel="<%warning_level("3")%>"
227 <%if(WarnAsError)%>
228 WarnAsError="<%WarnAsError%>"
229 <%endif%>
230 Detect64BitPortabilityProblems="<%Detect64BitPortabilityProblems("true")%>"
231 <%if(!optimize || debug_format)%>
232 DebugInformationFormat="<%debug_format("3")%>"
233 <%endif%>
234 <%if(CallingConvention)%>
235 CallingConvention="<%CallingConvention%>"
236 <%endif%>
237 <%if(CompileAs)%>
238 CompileAs="<%CompileAs%>"
239 <%endif%>
240 <%if(DisableSpecificWarnings)%>
241 DisableSpecificWarnings="<%foreach(DisableSpecificWarnings)%><%DisableSpecificWarning%><%fornotlast(";")%><%endfor%>"
242 <%endif%>
243 <%if(ForcedIncludeFiles)%>
244 ForcedIncludeFiles="<%ForcedIncludeFiles%>"
245 <%endif%>
246 <%if(ForcedUsingFiles)%>
247 ForcedUsingFiles="<%ForcedUsingFiles%>"
248 <%endif%>
249 <%if(ShowIncludes)%>
250 ShowIncludes="<%ShowIncludes%>"
251 <%endif%>
252 <%if(UndefinePreprocessorDefinitions)%>
253 UndefinePreprocessorDefinitions="<%UndefinePreprocessorDefinitions%>"
254 <%endif%>
255 <%if(UndefineAllPreprocessorDefinitions)%>
256 UndefineAllPreprocessorDefinitions="<%UndefineAllPreprocessorDefinitions%>"
257 <%endif%>
258 <%if(EnablePREfast)%>
259 EnablePREfast="<%EnablePREfast%>"
260 <%endif%>
261 <%if(UseFullPaths)%>
262 UseFullPaths="<%UseFullPaths%>"
263 <%endif%>
264 <%if(OmitDefaultLibName)%>
265 OmitDefaultLibName="<%OmitDefaultLibName%>"
266 <%endif%>
267 <%if(ErrorReporting)%>
268 ErrorReporting="<%ErrorReporting%>"
269 <%endif%>
270 <%if(SuppressStartupBanner)%>
271 SuppressStartupBanner="<%SuppressStartupBanner%>"
272 <%endif%>
274 <Tool
275 Name="VCManagedResourceCompilerTool"
277 <Tool
278 Name="VCResourceCompilerTool"
279 PreprocessorDefinitions="<%if(unicode)%>UNICODE;_UNICODE;<%endif%><%foreach(defines macros platform_defines)%><%define%><%fornotlast(";")%><%endfor%>"
280 Culture="<%culture("1033")%>"
281 AdditionalIncludeDirectories="<%foreach(includes)%><%include%><%fornotlast(",")%><%endfor%>"
283 <Tool
284 Name="VCPreLinkEventTool"
285 <%if(prelink)%>
286 CommandLine="<%eval(prelink)%>"
287 <%endif%>
289 <Tool
290 <%if(type_is_static)%>
291 Name="VCLibrarianTool"
292 <%if(staticname)%>
293 OutputFile="<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
294 <%endif%>
295 <%if(lib_options)%>
296 AdditionalOptions="<%lib_options%>"
297 <%endif%>
298 <%else%>
299 Name="VCLinkerTool"
300 <%if(RegisterOutput)%>
301 RegisterOutput="<%RegisterOutput%>"
302 <%endif%>
303 <%if(IgnoreImportLibrary)%>
304 IgnoreImportLibrary="<%IgnoreImportLibrary%>"
305 <%endif%>
306 <%if(LinkLibraryDependencies)%>
307 LinkLibraryDependencies="<%LinkLibraryDependencies%>"
308 <%endif%>
309 <%if(UseLibraryDependencyInputs)%>
310 UseLibraryDependencyInputs="<%UseLibraryDependencyInputs%>"
311 <%endif%>
312 <%if(UseUnicodeResponseFiles)%>
313 UseUnicodeResponseFiles="<%UseUnicodeResponseFiles%>"
314 <%endif%>
315 <%if(!source_files)%>
316 AdditionalOptions="/noentry<%if(link_options)%> <%link_options%><%endif%><%if(release_link_options && !debug_prj)%> <%release_link_options%><%endif%>"
317 <%else%>
318 <%if(link_options || release_link_options && !debug_prj)%>
319 AdditionalOptions="<%link_options%><%if(release_link_options && !debug_prj)%> <%release_link_options%><%endif%>"
320 <%endif%>
321 <%endif%>
322 <%if(type_is_binary)%>
323 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%>"
324 <%endif%>
325 <%if(exename || sharedname || staticname)%>
326 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%>"
327 <%endif%>
328 <%if(win_version)%>
329 Version="<%win_version%>"
330 <%endif%>
331 LinkIncremental="<%LinkIncremental("2")%>"
332 SuppressStartupBanner="<%SuppressStartupBanner("true")%>"
333 AdditionalLibraryDirectories="<%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%>"
334 <%if(ShowProgress)%>
335 ShowProgress="<%ShowProgress%>"
336 <%endif%>
337 <%if(ignore_default_library_names)%>
338 IgnoreDefaultLibraryNames="<%foreach(ignore_default_library_names)%><%ignore_default_library_name%><%fornotlast(";")%><%endfor%>"
339 <%endif%>
340 <%if(GenerateManifest)%>
341 GenerateManifest="<%GenerateManifest%>"
342 <%endif%>
343 <%if(ManifestFile)%>
344 ManifestFile="<%ManifestFile%>"
345 <%endif%>
346 <%if(AdditionalManifestDependencies)%>
347 AdditionalManifestDependencies="<%AdditionalManifestDependencies%>"
348 <%endif%>
349 <%if(IgnoreAllDefaultLibraries)%>
350 IgnoreAllDefaultLibraries="<%IgnoreAllDefaultLibraries%>"
351 <%endif%>
352 <%if(ModuleDefinitionFile)%>
353 ModuleDefinitionFile="<%ModuleDefinitionFile%>"
354 <%endif%>
355 <%if(AddModuleNamesToAssembly)%>
356 AddModuleNamesToAssembly="<%AddModuleNamesToAssembly%>"
357 <%endif%>
358 <%if(EmbedManagedResourceFile)%>
359 EmbedManagedResourceFile="<%EmbedManagedResourceFile%>"
360 <%endif%>
361 <%if(ForceSymbolReferences)%>
362 ForceSymbolReferences="<%ForceSymbolReferences%>"
363 <%endif%>
364 <%if(DelayLoadDLLs)%>
365 DelayLoadDLLs="<%DelayLoadDLLs%>"
366 <%endif%>
367 <%if(AssemblyLinkResource)%>
368 AssemblyLinkResource="<%AssemblyLinkResource%>"
369 <%endif%>
370 GenerateDebugInformation="<%GenerateDebugInformation("true")%>"
371 <%if(AssemblyDebug)%>
372 AssemblyDebug="<%AssemblyDebug%>"
373 <%endif%>
374 <%if(pdbl)%>
375 <%if(sharedname)%>
376 ProgramDatabaseFile="$(OutDir)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
377 <%else%>
378 <%if(exename)%>
379 ProgramDatabaseFile="$(OutDir)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"
380 <%endif%>
381 <%endif%>
382 <%endif%>
383 <%if(StripPrivateSymbols)%>
384 StripPrivateSymbols="<%StripPrivateSymbols%>"
385 <%endif%>
386 <%if(GenerateMapFile)%>
387 GenerateMapFile="<%GenerateMapFile%>"
388 <%endif%>
389 <%if(MapFileName)%>
390 MapFileName="<%MapFileName%>"
391 <%endif%>
392 <%if(MapExports)%>
393 MapExports="<%MapExports%>"
394 <%endif%>
395 SubSystem="<%subsystem("2")%>"
396 <%if(HeapReserveSize)%>
397 HeapReserveSize="<%HeapReserveSize%>"
398 <%endif%>
399 <%if(HeapCommitSize)%>
400 HeapCommitSize="<%HeapCommitSize%>"
401 <%endif%>
402 <%if(StackReserveSize)%>
403 StackReserveSize="<%StackReserveSize%>"
404 <%endif%>
405 <%if(StackCommitSize)%>
406 StackCommitSize="<%StackCommitSize%>"
407 <%endif%>
408 <%if(LargeAddressAware)%>
409 LargeAddressAware="<%LargeAddressAware%>"
410 <%endif%>
411 <%if(TerminalServerAware)%>
412 TerminalServerAware="<%TerminalServerAware%>"
413 <%endif%>
414 <%if(SwapRunFromCD)%>
415 SwapRunFromCD="<%SwapRunFromCD%>"
416 <%endif%>
417 <%if(SwapRunFromNet)%>
418 SwapRunFromNet="<%SwapRunFromNet%>"
419 <%endif%>
420 <%if(Driver)%>
421 Driver="<%Driver%>"
422 <%endif%>
423 <%if(OptimizeReferences)%>
424 OptimizeReferences="<%OptimizeReferences%>"
425 <%else%>
426 <%if(optimize)%>
427 OptimizeReferences="<%OptimizeReferences("2")%>"
428 <%endif%>
429 <%endif%>
430 <%if(EnableCOMDATFolding)%>
431 EnableCOMDATFolding="<%EnableCOMDATFolding%>"
432 <%else%>
433 <%if(optimize)%>
434 EnableCOMDATFolding="<%EnableCOMDATFolding("2")%>"
435 <%endif%>
436 <%endif%>
437 <%if(OptimizeForWindows98)%>
438 OptimizeForWindows98="<%OptimizeForWindows98%>"
439 <%endif%>
440 <%if(FunctionOrder)%>
441 FunctionOrder="<%FunctionOrder%>"
442 <%endif%>
443 <%if(LinkTimeCodeGeneration)%>
444 LinkTimeCodeGeneration="<%LinkTimeCodeGeneration%>"
445 <%endif%>
446 <%if(ProfileGuidedDatabase)%>
447 ProfileGuidedDatabase="<%ProfileGuidedDatabase%>"
448 <%endif%>
449 <%if(unicode && unicode_mfc_entry && exename && source_files)%>
450 EntryPointSymbol="<%unicode_mfc_entry%>"
451 <%else%>
452 <%if(EntryPointSymbol)%>
453 EntryPointSymbol="<%EntryPointSymbol%>"
454 <%endif%>
455 <%endif%>
456 <%if(ResourceOnlyDLL)%>
457 ResourceOnlyDLL="<%ResourceOnlyDLL%>"
458 <%endif%>
459 <%if(SetChecksum)%>
460 SetChecksum="<%SetChecksum%>"
461 <%endif%>
462 <%if(BaseAddress)%>
463 BaseAddress="<%BaseAddress%>"
464 <%endif%>
465 <%if(TurnOffAssemblyGeneration)%>
466 TurnOffAssemblyGeneration="<%TurnOffAssemblyGeneration%>"
467 <%endif%>
468 <%if(ImportLibrary)%>
469 ImportLibrary="<%ImportLibrary%>"
470 <%else%>
471 <%if(type_is_dynamic && sharedname)%>
472 ImportLibrary="<%libout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
473 <%endif%>
474 <%endif%>
475 <%if(SupportUnloadOfDelayLoadedDLL)%>
476 SupportUnloadOfDelayLoadedDLL="<%SupportUnloadOfDelayLoadedDLL%>"
477 <%endif%>
478 <%if(MergeSections)%>
479 MergeSections="<%MergeSections%>"
480 <%endif%>
481 TargetMachine="<%TargetMachine("1")%>"
482 <%if(FixedBaseAddress || managed)%>
483 FixedBaseAddress="<%FixedBaseAddress("1")%>"
484 <%endif%>
485 <%if(KeyFile)%>
486 KeyFile="<%KeyFile%>"
487 <%endif%>
488 <%if(KeyContainer)%>
489 KeyContainer="<%KeyContainer%>"
490 <%endif%>
491 <%if(DelaySign)%>
492 DelaySign="<%DelaySign%>"
493 <%endif%>
494 <%if(AllowIsolation)%>
495 AllowIsolation="<%AllowIsolation%>"
496 <%endif%>
497 <%if(Profile)%>
498 Profile="<%Profile%>"
499 <%endif%>
500 <%if(CLRThreadAttribute)%>
501 CLRThreadAttribute="<%CLRThreadAttribute%>"
502 <%endif%>
503 <%if(CLRImageType)%>
504 CLRImageType="<%CLRImageType%>"
505 <%endif%>
506 <%if(ErrorReporting)%>
507 ErrorReporting="<%ErrorReporting%>"
508 <%endif%>
509 <%endif%>
511 <Tool
512 Name="VCALinkTool"
514 <Tool
515 Name="VCXDCMakeTool"
517 <Tool
518 Name="VCBscMakeTool"
520 <Tool
521 Name="VCFxCopTool"
523 <%endif%>
524 <Tool
525 Name="VCPostBuildEventTool"
526 <%if(postbuild)%>
527 CommandLine="<%eval(postbuild)%>"
528 <%endif%>
530 <%if(postclean)%>
531 <Tool
532 Name="VCPostCleanEventTool"
533 CommandLine="<%eval(postclean)%>"
535 <%endif%>
536 <%if(deploymenttool)%>
537 <DeploymentTool
538 ForceDirty="-1"
539 RemoteDirectory="<%deployment_directory%>"
540 RegisterOutput="0"
541 AdditionalFiles=""
543 <%endif%>
544 <%endif%>
545 </Configuration>
546 <%endfor%>
547 <%endfor%>
548 </Configurations>
549 <References>
550 <%if(after && add_references)%>
551 <!-- MPC ADD DEPENDENCIES -->
552 <%endif%>
553 <%foreach(AssemblyReferences)%>
554 <AssemblyReference
555 RelativePath="<%AssemblyReference%>"
557 <%endfor%>
558 </References>
559 <Files>
560 <%if(exename || sharedname || staticname)%>
561 <%if(source_files)%>
562 <Filter
563 Name="Source Files"
564 Filter="<%foreach(ext, extensions(source_files))%><%ext%><%fornotlast(";")%><%endfor%>">
565 <%if(pch_source)%>
566 <File
567 RelativePath="<%pch_source%>">
568 <%foreach(platforms)%>
569 <%foreach(configurations)%>
570 <FileConfiguration
571 Name="<%configuration%>|<%platform%>">
572 <Tool
573 Name="VCCLCompilerTool"
574 UsePrecompiledHeader="1"/>
575 </FileConfiguration>
576 <%endfor%>
577 <%endfor%>
578 </File>
579 <%endif%>
580 <%if(grouped_source_files)%>
581 <%foreach(sort(grouped_source_files))%>
582 <%if(compares(grouped_source_file, default_group))%>
583 <%foreach(grouped_source_file->files)%>
584 <File
585 RelativePath="<%grouped_source_file->file%>">
586 <%if(duplicate_index(grouped_source_file->file))%>
587 <%foreach(platforms)%>
588 <%foreach(configurations)%>
589 <FileConfiguration
590 Name="<%configuration%>|<%platform%>">
591 <Tool
592 Name="VCCLCompilerTool"
593 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
594 AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
595 <%endif%>
596 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
597 UsePrecompiledHeader="0"
598 <%endif%>
599 <%if(flag_overrides(grouped_source_file->file, managed))%>
600 BasicRuntimeChecks="0"
601 CompileAsManaged="<%flag_overrides(grouped_source_file->file, managed)%>"
602 <%if(!ExceptionHandling || compares(ExceptionHandling, 1))%>
603 ExceptionHandling="2"
604 <%endif%>
605 <%endif%>
606 ObjectFile="$(IntDir)\$(InputName)<%duplicate_index(grouped_source_file->file)%>.obj"/>
607 </FileConfiguration>
608 <%endfor%>
609 <%endfor%>
610 <%else%>
611 <%if(flag_overrides(grouped_source_file->file, buildflags) || flag_overrides(grouped_source_file->file, no_pch) || flag_overrides(grouped_source_file->file, managed))%>
612 <%foreach(platforms)%>
613 <%foreach(configurations)%>
614 <FileConfiguration
615 Name="<%configuration%>|<%platform%>">
616 <Tool
617 Name="VCCLCompilerTool"
618 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
619 AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
620 <%endif%>
621 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
622 UsePrecompiledHeader="0"
623 <%endif%>
624 <%if(flag_overrides(grouped_source_file->file, managed))%>
625 BasicRuntimeChecks="0"
626 CompileAsManaged="<%flag_overrides(grouped_source_file->file, managed)%>"
627 <%if(!ExceptionHandling || compares(ExceptionHandling, 1))%>
628 ExceptionHandling="2"
629 <%endif%>
630 <%endif%>
632 </FileConfiguration>
633 <%endfor%>
634 <%endfor%>
635 <%endif%>
636 <%endif%>
637 </File>
638 <%endfor%>
639 <%else%>
640 <Filter
641 Name="<%grouped_source_file%>"
642 Filter="">
643 <%foreach(grouped_source_file->files)%>
644 <File
645 RelativePath="<%grouped_source_file->file%>">
646 <%if(duplicate_index(grouped_source_file->file))%>
647 <%foreach(platforms)%>
648 <%foreach(configurations)%>
649 <FileConfiguration
650 Name="<%configuration%>|<%platform%>">
651 <Tool
652 Name="VCCLCompilerTool"
653 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
654 AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
655 <%endif%>
656 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
657 UsePrecompiledHeader="0"
658 <%endif%>
659 <%if(flag_overrides(grouped_source_file->file, managed))%>
660 BasicRuntimeChecks="0"
661 CompileAsManaged="<%flag_overrides(grouped_source_file->file, managed)%>"
662 <%if(!ExceptionHandling || compares(ExceptionHandling, 1))%>
663 ExceptionHandling="2"
664 <%endif%>
665 <%endif%>
666 ObjectFile="$(IntDir)\$(InputName)<%duplicate_index(grouped_source_file->file)%>.obj"/>
667 </FileConfiguration>
668 <%endfor%>
669 <%endfor%>
670 <%else%>
671 <%if(flag_overrides(grouped_source_file->file, buildflags) || flag_overrides(grouped_source_file->file, no_pch) || flag_overrides(grouped_source_file->file, managed))%>
672 <%foreach(platforms)%>
673 <%foreach(configurations)%>
674 <FileConfiguration
675 Name="<%configuration%>|<%platform%>">
676 <Tool
677 Name="VCCLCompilerTool"
678 <%if(flag_overrides(grouped_source_file->file, buildflags))%>
679 AdditionalOptions="<%flag_overrides(grouped_source_file->file, buildflags)%>"
680 <%endif%>
681 <%if(flag_overrides(grouped_source_file->file, no_pch))%>
682 UsePrecompiledHeader="0"
683 <%endif%>
684 <%if(flag_overrides(grouped_source_file->file, managed))%>
685 BasicRuntimeChecks="0"
686 CompileAsManaged="<%flag_overrides(grouped_source_file->file, managed)%>"
687 <%if(!ExceptionHandling || compares(ExceptionHandling, 1))%>
688 ExceptionHandling="2"
689 <%endif%>
690 <%endif%>
692 </FileConfiguration>
693 <%endfor%>
694 <%endfor%>
695 <%endif%>
696 <%endif%>
697 </File>
698 <%endfor%>
699 </Filter>
700 <%endif%>
701 <%endfor%>
702 <%else%>
703 <%foreach(source_files)%>
704 <File
705 RelativePath="<%source_file%>">
706 <%if(duplicate_index(source_file))%>
707 <%foreach(platforms)%>
708 <%foreach(configurations)%>
709 <FileConfiguration
710 Name="<%configuration%>|<%platform%>">
711 <Tool
712 Name="VCCLCompilerTool"
713 <%if(flag_overrides(source_file, buildflags))%>
714 AdditionalOptions="<%flag_overrides(source_file, buildflags)%>"
715 <%endif%>
716 <%if(flag_overrides(source_file, no_pch))%>
717 UsePrecompiledHeader="0"
718 <%endif%>
719 <%if(flag_overrides(source_file, managed))%>
720 BasicRuntimeChecks="0"
721 CompileAsManaged="<%flag_overrides(source_file, managed)%>"
722 <%if(!ExceptionHandling || compares(ExceptionHandling, 1))%>
723 ExceptionHandling="2"
724 <%endif%>
725 <%endif%>
726 ObjectFile="$(IntDir)\$(InputName)<%duplicate_index(source_file)%>.obj"/>
727 </FileConfiguration>
728 <%endfor%>
729 <%endfor%>
730 <%else%>
731 <%if(flag_overrides(source_file, buildflags) || flag_overrides(source_file, no_pch) || flag_overrides(source_file, managed))%>
732 <%foreach(platforms)%>
733 <%foreach(configurations)%>
734 <FileConfiguration
735 Name="<%configuration%>|<%platform%>">
736 <Tool
737 Name="VCCLCompilerTool"
738 <%if(flag_overrides(source_file, buildflags))%>
739 AdditionalOptions="<%flag_overrides(source_file, buildflags)%>"
740 <%endif%>
741 <%if(flag_overrides(source_file, no_pch))%>
742 UsePrecompiledHeader="0"
743 <%endif%>
744 <%if(flag_overrides(source_file, managed))%>
745 BasicRuntimeChecks="0"
746 CompileAsManaged="<%flag_overrides(source_file, managed)%>"
747 <%if(!ExceptionHandling || compares(ExceptionHandling, 1))%>
748 ExceptionHandling="2"
749 <%endif%>
750 <%endif%>
752 </FileConfiguration>
753 <%endfor%>
754 <%endfor%>
755 <%endif%>
756 <%endif%>
757 </File>
758 <%endfor%>
759 <%endif%>
760 </Filter>
761 <%endif%>
762 <%endif%>
763 <%if(header_files)%>
764 <Filter
765 Name="Header Files"
766 Filter="<%foreach(ext, extensions(header_files))%><%ext%><%fornotlast(";")%><%endfor%>">
767 <%if(pch_header)%>
768 <File
769 RelativePath="<%pch_header%>">
770 </File>
771 <%endif%>
772 <%if(grouped_header_files)%>
773 <%foreach(sort(grouped_header_files))%>
774 <%if(compares(grouped_header_file, default_group))%>
775 <%foreach(grouped_header_file->files)%>
776 <File
777 <%if(flag_overrides(grouped_header_file->file, dependent_upon))%>
778 RelativePath="<%grouped_header_file->file%>"
779 FileType="3">
780 <File
781 RelativePath="<%flag_overrides(grouped_header_file->file, dependent_upon)%>">
782 </File>
783 <%else%>
784 RelativePath="<%grouped_header_file->file%>">
785 <%endif%>
786 </File>
787 <%endfor%>
788 <%else%>
789 <Filter
790 Name="<%grouped_header_file%>"
791 Filter="">
792 <%foreach(grouped_header_file->files)%>
793 <File
794 <%if(flag_overrides(grouped_header_file->file, dependent_upon))%>
795 RelativePath="<%grouped_header_file->file%>"
796 FileType="3">
797 <File
798 RelativePath="<%flag_overrides(grouped_header_file->file, dependent_upon)%>">
799 </File>
800 <%else%>
801 RelativePath="<%grouped_header_file->file%>">
802 <%endif%>
804 </File>
805 <%endfor%>
806 </Filter>
807 <%endif%>
808 <%endfor%>
809 <%else%>
810 <%foreach(header_files)%>
811 <File
812 <%if(flag_overrides(header_file, dependent_upon))%>
813 RelativePath="<%header_file%>"
814 FileType="3">
815 <File
816 RelativePath="<%flag_overrides(header_file, dependent_upon)%>">
817 </File>
818 <%else%>
819 RelativePath="<%header_file%>">
820 <%endif%>
821 </File>
822 <%endfor%>
823 <%endif%>
824 </Filter>
825 <%endif%>
826 <%foreach(custom_types)%>
827 <%if(custom_type->input_files)%>
828 <Filter
829 Name="<%ucw(custom_type)%>"
830 Filter="<%foreach(custom_type->inputexts)%><%custom_type->inputext%><%fornotlast(";")%><%endfor%>">
831 <%foreach(custom_type->input_files)%>
832 <File
833 RelativePath="<%custom_type->input_file%>">
834 <%foreach(platforms)%>
835 <%foreach(configurations)%>
836 <FileConfiguration
837 Name="<%configuration%>|<%platform%>"
838 <%if(!custom_type->input_file->output_files)%>
839 ExcludedFromBuild="true"
840 <%endif%>
842 <%if(custom_type->input_file->output_files)%>
843 <Tool
844 Name="VCCustomBuildTool"
845 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%>"
846 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%>"
847 <%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)))%>
848 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%>"
849 <%endif%>
850 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%>"/>
851 <%endif%>
852 </FileConfiguration>
853 <%endfor%>
854 <%endfor%>
855 </File>
856 <%endfor%>
857 </Filter>
858 <%endif%>
859 <%endfor%>
860 <%if(inline_files)%>
861 <Filter
862 Name="Inline Files"
863 Filter="<%foreach(ext, extensions(inline_files))%><%ext%><%fornotlast(";")%><%endfor%>">
864 <%if(grouped_inline_files)%>
865 <%foreach(sort(grouped_inline_files))%>
866 <%if(compares(grouped_inline_file, default_group))%>
867 <%foreach(grouped_inline_file->files)%>
868 <File
869 RelativePath="<%grouped_inline_file->file%>">
870 </File>
871 <%endfor%>
872 <%else%>
873 <Filter
874 Name="<%grouped_inline_file%>"
875 Filter="">
876 <%foreach(grouped_inline_file->files)%>
877 <File
878 RelativePath="<%grouped_inline_file->file%>">
879 </File>
880 <%endfor%>
881 </Filter>
882 <%endif%>
883 <%endfor%>
884 <%else%>
885 <%foreach(inline_files)%>
886 <File
887 RelativePath="<%inline_file%>">
888 </File>
889 <%endfor%>
890 <%endif%>
891 </Filter>
892 <%endif%>
893 <%if(template_files)%>
894 <Filter
895 Name="Template Files"
896 Filter="">
897 <%if(grouped_template_files)%>
898 <%foreach(sort(grouped_template_files))%>
899 <%if(compares(grouped_template_file, default_group))%>
900 <%foreach(grouped_template_file->files)%>
901 <File
902 RelativePath="<%grouped_template_file->file%>">
903 <%foreach(platforms)%>
904 <%foreach(configurations)%>
905 <FileConfiguration
906 Name="<%configuration%>|<%platform%>"
907 ExcludedFromBuild="TRUE">
908 <Tool
909 Name="VCCLCompilerTool"/>
910 </FileConfiguration>
911 <%endfor%>
912 <%endfor%>
913 </File>
914 <%endfor%>
915 <%else%>
916 <Filter
917 Name="<%grouped_template_file%>"
918 Filter="">
919 <%foreach(grouped_template_file->files)%>
920 <File
921 RelativePath="<%grouped_template_file->file%>">
922 <%foreach(platforms)%>
923 <%foreach(configurations)%>
924 <FileConfiguration
925 Name="<%configuration%>|<%platform%>"
926 ExcludedFromBuild="true">
927 <Tool
928 Name="VCCLCompilerTool"/>
929 </FileConfiguration>
930 <%endfor%>
931 <%endfor%>
932 </File>
933 <%endfor%>
934 </Filter>
935 <%endif%>
936 <%endfor%>
937 <%else%>
938 <%foreach(template_files)%>
939 <File
940 RelativePath="<%template_file%>">
941 <%foreach(platforms)%>
942 <%foreach(configurations)%>
943 <FileConfiguration
944 Name="<%configuration%>|<%platform%>"
945 ExcludedFromBuild="true">
946 <Tool
947 Name="VCCLCompilerTool"/>
948 </FileConfiguration>
949 <%endfor%>
950 <%endfor%>
951 </File>
952 <%endfor%>
953 <%endif%>
954 </Filter>
955 <%endif%>
956 <%if(documentation_files)%>
957 <Filter
958 Name="Documentation"
959 Filter="">
960 <%if(grouped_documentation_files)%>
961 <%foreach(sort(grouped_documentation_files))%>
962 <%if(compares(grouped_documentation_file, default_group))%>
963 <%foreach(grouped_documentation_file->files)%>
964 <File
965 RelativePath="<%grouped_documentation_file->file%>">
966 <%foreach(platforms)%>
967 <%foreach(configurations)%>
968 <FileConfiguration
969 Name="<%configuration%>|<%platform%>"
970 ExcludedFromBuild="TRUE">
971 <Tool
972 Name="VCCustomBuildTool"/>
973 </FileConfiguration>
974 <%endfor%>
975 <%endfor%>
976 </File>
977 <%endfor%>
978 <%else%>
979 <Filter
980 Name="<%grouped_documentation_file%>"
981 Filter="">
982 <%foreach(grouped_documentation_file->files)%>
983 <File
984 RelativePath="<%grouped_documentation_file->file%>">
985 <%foreach(platforms)%>
986 <%foreach(configurations)%>
987 <FileConfiguration
988 Name="<%configuration%>|<%platform%>"
989 ExcludedFromBuild="TRUE">
990 <Tool
991 Name="VCCustomBuildTool"/>
992 </FileConfiguration>
993 <%endfor%>
994 <%endfor%>
995 </File>
996 <%endfor%>
997 </Filter>
998 <%endif%>
999 <%endfor%>
1000 <%else%>
1001 <%foreach(documentation_files)%>
1002 <File
1003 RelativePath="<%documentation_file%>">
1004 <%foreach(platforms)%>
1005 <%foreach(configurations)%>
1006 <FileConfiguration
1007 Name="<%configuration%>|<%platform%>"
1008 ExcludedFromBuild="TRUE">
1009 <Tool
1010 Name="VCCustomBuildTool"/>
1011 </FileConfiguration>
1012 <%endfor%>
1013 <%endfor%>
1014 </File>
1015 <%endfor%>
1016 <%endif%>
1017 </Filter>
1018 <%endif%>
1019 <%if(resource_files && !type_is_static)%>
1020 <Filter
1021 Name="Resource Files"
1022 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe">
1023 <%if(grouped_resource_files)%>
1024 <%foreach(sort(grouped_resource_files))%>
1025 <%if(compares(grouped_resource_file, default_group))%>
1026 <%foreach(grouped_resource_file->files)%>
1027 <File
1028 RelativePath="<%grouped_resource_file->file%>">
1029 </File>
1030 <%endfor%>
1031 <%else%>
1032 <Filter
1033 Name="<%grouped_resource_file%>"
1034 Filter="">
1035 <%foreach(grouped_resource_file->files)%>
1036 <File
1037 RelativePath="<%grouped_resource_file->file%>">
1038 </File>
1039 <%endfor%>
1040 </Filter>
1041 <%endif%>
1042 <%endfor%>
1043 <%else%>
1044 <%foreach(resource_files)%>
1045 <File
1046 RelativePath="<%resource_file%>">
1047 </File>
1048 <%endfor%>
1049 <%endif%>
1050 </Filter>
1051 <%endif%>
1052 </Files>
1053 <Globals>
1054 </Globals>
1055 </VisualStudioProject>