Fixed thr_flags for bcc32
[MPC.git] / templates / vc10.mpd
bloba5b4d17f4920b1300deb03f5190a74fa174f651a
1 <?xml version="<%xml_version("1.0")%>" encoding="<%encoding("utf-8")%>"?>
2 <Project DefaultTargets="Build" ToolsVersion="<%toolsversion%>" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <%foreach(platforms)%>
5 <%foreach(configurations)%>
6 <ProjectConfiguration Include="<%configuration%>|<%platform%>">
7 <Configuration><%configuration%></Configuration>
8 <Platform><%platform%></Platform>
9 </ProjectConfiguration>
10 <%endfor%>
11 <%endfor%>
12 </ItemGroup>
13 <PropertyGroup Label="Globals">
14 <ProjectName><%project_name%></ProjectName>
15 <ProjectGuid>{<%guid%>}</ProjectGuid>
16 <RootNamespace><%project_name%></RootNamespace>
17 <%if(VCProjectVersion)%>
18 <VCProjectVersion><%VCProjectVersion%></VCProjectVersion>
19 <%endif%>
20 <%if(WindowsTargetPlatformVersion)%>
21 <WindowsTargetPlatformVersion><%WindowsTargetPlatformVersion%></WindowsTargetPlatformVersion>
22 <%endif%>
23 <%if(managed)%>
24 <Keyword>ManagedCProj</Keyword>
25 <TargetFrameworkVersion>v<%TargetFrameworkVersion("4.0")%></TargetFrameworkVersion>
26 <%else%>
27 <Keyword><%if(UseOfMFC)%>MFCProj<%else%><%platform("Win32")%>Proj<%endif%></Keyword>
28 <%endif%>
29 </PropertyGroup>
30 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
31 <%foreach(platforms)%>
32 <%foreach(configurations)%>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'" Label="Configuration">
34 <ConfigurationType><%if(type_is_dynamic)%>DynamicLibrary<%else%><%if(type_is_static && staticname)%>StaticLibrary<%else%><%if(custom_only)%>Utility<%else%><%if(makeoutput)%>Makefile<%else%>Application<%endif%><%endif%><%endif%><%endif%></ConfigurationType>
35 <%if(UseOfMFC)%>
36 <UseOfMfc><%UseOfMFC%></UseOfMfc>
37 <%endif%>
38 <%if(UseOfATL)%>
39 <UseOfAtl><%UseOfATL%></UseOfAtl>
40 <%endif%>
41 <UseDebugLibraries><%if(debug_prj)%>true<%else%>false<%endif%></UseDebugLibraries>
42 <%if(unicode)%>
43 <CharacterSet>Unicode</CharacterSet>
44 <%else%>
45 <CharacterSet>NotSet</CharacterSet>
46 <%endif%>
47 <%if(PlatformToolset)%>
48 <PlatformToolset><%PlatformToolset%></PlatformToolset>
49 <%endif%>
50 <%if(managed)%>
51 <CLRSupport><%if(compares(managed,0))%>false<%else%><%if(compares(managed,1))%>true<%else%><%if(compares(managed,2))%>Pure<%else%><%if(compares(managed,3))%>Safe<%else%><%managed%><%endif%><%endif%><%endif%><%endif%></CLRSupport>
52 <%endif%>
53 <%if(WholeProgramOptimization)%>
54 <WholeProgramOptimization><%WholeProgramOptimization%></WholeProgramOptimization>
55 <%endif%>
56 </PropertyGroup>
57 <%endfor%>
58 <%endfor%>
59 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
60 <ImportGroup Label="ExtensionSettings">
61 </ImportGroup>
62 <%foreach(platforms)%>
63 <%foreach(configurations)%>
64 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'" Label="PropertySheets">
65 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
66 </ImportGroup>
67 <%endfor%>
68 <%endfor%>
69 <PropertyGroup Label="UserMacros" />
70 <PropertyGroup>
71 <_ProjectFileVersion><%prversion%></_ProjectFileVersion>
72 <%foreach(platforms)%>
73 <%foreach(configurations)%>
74 <%if(makeoutput)%>
75 <LinkIncremental><%if(debug_prj)%>true<%else%>false<%endif%></LinkIncremental>
76 <NMakePreprocessorDefinitions><%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%>;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
77 <%if(includes)%>
78 <NMakeIncludeSearchPath><%foreach(includes)%><%include%>;<%endfor%>$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
79 <%endif%>
80 <%if(ForcedIncludeFiles)%>
81 <NMakeForcedIncludes><%ForcedIncludeFiles%>;%(NMakeForcedIncludes)</NMakeForcedIncludes>
82 <%endif%>
83 <%if(NMakeAssemblySearchPath)%>
84 <NMakeAssemblySearchPath><%NMakeAssemblySearchPath%>;$(NMakeAssemblySearchPath)</NMakeAssemblySearchPath>
85 <%endif%>
86 <%if(NMakeForcedUsingAssemblies)%>
87 <NMakeForcedUsingAssemblies><%NMakeForcedUsingAssemblies%>;$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
88 <%endif%>
89 <%if(compile_flags)%>
90 <AdditionalOptions><%compile_flags%></AdditionalOptions>
91 <%endif%>
92 <NMakeBuildCommandLine><%makebuild%> CONF=<%configuration%></NMakeBuildCommandLine>
93 <NMakeReBuildCommandLine><%makerebuild%> CONF=<%configuration%></NMakeReBuildCommandLine>
94 <NMakeCleanCommandLine><%makeclean%> CONF=<%configuration%></NMakeOutput>
95 <NMakeOutput><%makeoutput%></NMakeOutput>
96 <%else%>
97 <OutDir Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%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%></OutDir>
98 <IntDir Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(intdir)%><%intdir%>\<%else%><%intermediate_dir%>\<%noextension(project_file)%>\<%if(output_subdir)%><%output_subdir%>\<%endif%><%endif%></IntDir>
99 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(debug_prj)%>true<%else%>false<%endif%></LinkIncremental>
100 <TargetName Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(type_is_dynamic)%><%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%else%><%if(type_is_static)%><%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%else%><%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%endif%><%endif%></TargetName>
101 <LocalDebuggerCommandArguments Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%marker(debug_cmd_args)%></LocalDebuggerCommandArguments>
102 <LocalDebuggerWorkingDirectory Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(debug_work_dir)%><%debug_work_dir%><%else%>$(OutDir)<%endif%></LocalDebuggerWorkingDirectory>
103 <%if(type_is_static && staticname && !compares(lib_ext, .lib))%>
104 <TargetExt Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%lib_ext%></TargetExt>
105 <%else%>
106 <%if(!type_is_static)%>
107 <%if(exename || sharedname || staticname)%>
108 <%if(type_is_dynamic && !compares(dll_ext, .dll))%>
109 <TargetExt Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%dll_ext%></TargetExt>
110 <%else%>
111 <%if(!type_is_dynamic && !compares(exe_ext, .exe))%>
112 <TargetExt Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%exe_ext%></TargetExt>
113 <%endif%>
114 <%endif%>
115 <%endif%>
116 <%endif%>
117 <%endif%>
118 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%CodeAnalysisRuleSet("AllRules.ruleset")%></CodeAnalysisRuleSet>
119 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'" />
120 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'" />
121 <%if(ReferencePath)%>
122 <ReferencePath><%ReferencePath%>;$(ReferencePath)</ReferencePath>
123 <%endif%>
124 <%if(EmbedManifest || keyfile)%>
125 <EmbedManifest Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(EmbedManifest)%><%EmbedManifest%><%else%><%if(keyfile)%>false<%endif%><%endif%></EmbedManifest>
126 <%endif%>
127 <%if(keyfile)%>
128 <LinkKeyFile Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%keyfile%></LinkKeyFile>
129 <%endif%>
130 <%endif%>
131 <%endfor%>
132 <%endfor%>
133 </PropertyGroup>
134 <%foreach(platforms)%>
135 <%foreach(configurations)%>
136 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">
137 <%if(prebuild)%>
138 <PreBuildEvent>
139 <Command><%eval(prebuild)%></Command>
140 </PreBuildEvent>
141 <%endif%>
142 <Midl>
143 <PreprocessorDefinitions><%foreach(midl_defines)%><%midl_define%>;<%endfor%>%(PreprocessorDefinitions)</PreprocessorDefinitions>
144 <AdditionalIncludeDirectories><%foreach(midl_includes)%><%midl_include%>;<%endfor%>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
145 <TargetEnvironment><%platform%></TargetEnvironment>
146 <%if(midl_notlb)%>
147 <GenerateStublessProxies>false</GenerateStublessProxies>
148 <%endif%>
149 <TypeLibraryName>%(Filename).tlb</TypeLibraryName>
150 <HeaderFileName>%(Filename).h</HeaderFileName>
151 <InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName>
152 <ProxyFileName>%(Filename)_p.c</ProxyFileName>
153 <%if(midl_flags)%>
154 <AdditionalOptions><%midl_flags%></AdditionalOptions>
155 <%endif%>
156 </Midl>
157 <ClCompile>
158 <Optimization><%optimize("Disabled")%></Optimization>
159 <%if(InlineFunctionExpansion)%>
160 <InlineFunctionExpansion><%InlineFunctionExpansion%></InlineFunctionExpansion>
161 <%endif%>
162 <%if(EnableIntrinsicFunctions)%>
163 <IntrinsicFunctions>true</IntrinsicFunctions>
164 <%endif%>
165 <%if(FavorSizeOrSpeed)%>
166 <FavorSizeOrSpeed><%FavorSizeOrSpeed%></FavorSizeOrSpeed>
167 <%endif%>
168 <%if(OmitFramePointers)%>
169 <OmitFramePointers><%OmitFramePointers%></OmitFramePointers>
170 <%endif%>
171 <%if(EnableFiberSafeOptimizations)%>
172 <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
173 <%endif%>
174 <%if(includes)%>
175 <AdditionalIncludeDirectories><%foreach(includes)%><%include%>;<%endfor%>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
176 <%endif%>
177 <%if(AdditionalUsingDirectories)%>
178 <AdditionalUsingDirectories><%AdditionalUsingDirectories%>;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
179 <%endif%>
180 <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%>;%(PreprocessorDefinitions)</PreprocessorDefinitions>
181 <%if(IgnoreStandardIncludePath)%>
182 <IgnoreStandardIncludePath>true</IgnoreStandardIncludePath>
183 <%endif%>
184 <%if(PreprocessToFile)%>
185 <PreprocessToFile>true</PreprocessToFile>
186 <%endif%>
187 <%if(PreprocessSuppressLineNumbers)%>
188 <PreprocessSuppressLineNumbers>true</PreprocessSuppressLineNumbers>
189 <%endif%>
190 <%if(PreprocessKeepComments)%>
191 <PreprocessKeepComments>true</PreprocessKeepComments>
192 <%endif%>
193 <%if(StringPooling)%>
194 <StringPooling>true</StringPooling>
195 <%endif%>
196 <%if(!optimize)%>
197 <MinimalRebuild><%MinimalRebuild("true")%></MinimalRebuild>
198 <%endif%>
199 <%if(SmallerTypeCheck)%>
200 <SmallerTypeCheck>true</SmallerTypeCheck>
201 <%endif%>
202 <RuntimeLibrary><%if(runtime_library)%><%runtime_library%><%else%><%if(type_is_static || need_staticflags)%><%if(debug_prj)%>MultiThreadedDebug<%else%>MultiThreaded<%endif%><%else%><%if(debug_prj)%>MultiThreadedDebugDLL<%else%>MultiThreadedDLL<%endif%><%endif%><%endif%></RuntimeLibrary>
203 <%if(StructMemberAlignment)%>
204 <StructMemberAlignment><%StructMemberAlignment%></StructMemberAlignment>
205 <%endif%>
206 <%if(BufferSecurityCheck)%>
207 <BufferSecurityCheck><%BufferSecurityCheck%></BufferSecurityCheck>
208 <%endif%>
209 <%if(FunctionLevelLinking)%>
210 <FunctionLevelLinking>true</FunctionLevelLinking>
211 <%endif%>
212 <%if(EnableEnhancedInstructionSet)%>
213 <EnableEnhancedInstructionSet><%EnableEnhancedInstructionSet%></EnableEnhancedInstructionSet>
214 <%endif%>
215 <%if(FloatingPointModel)%>
216 <FloatingPointModel><%FloatingPointModel%></FloatingPointModel>
217 <%endif%>
218 <%if(FloatingPointExceptions)%>
219 <FloatingPointExceptions>true</FloatingPointExceptions>
220 <%endif%>
221 <%if(DisableLanguageExtensions)%>
222 <DisableLanguageExtensions>true</DisableLanguageExtensions>
223 <%endif%>
224 <%if(TreatWChar_tAsBuiltInType)%>
225 <TreatWChar_tAsBuiltInType><%TreatWChar_tAsBuiltInType%></TreatWChar_tAsBuiltInType>
226 <%endif%>
227 <%if(ForceConformanceInForLoopScope)%>
228 <ForceConformanceInForLoopScope><%ForceConformanceInForLoopScope%></ForceConformanceInForLoopScope>
229 <%endif%>
230 <RuntimeTypeInfo><%RuntimeTypeInfo("true")%></RuntimeTypeInfo>
231 <%if(OpenMP || OpenMPSupport)%>
232 <OpenMPSupport>true</OpenMPSupport>
233 <%endif%>
234 <%if(LanguageStandard)%>
235 <LanguageStandard><%LanguageStandard%></LanguageStandard>
236 <%endif%>
237 <%if(pch_header)%>
238 <PrecompiledHeader>Use</PrecompiledHeader>
239 <%if(pch_header_output)%>
240 <PrecompiledHeaderOutputFile><%pch_header_output%></PrecompiledHeaderOutputFile>
241 <%endif%>
242 <PrecompiledHeaderFile><%pch_header%></PrecompiledHeaderFile>
243 <%endif%>
244 <%if(ExceptionHandling)%>
245 <ExceptionHandling><%ExceptionHandling%></ExceptionHandling>
246 <%endif%>
247 <%if(!managed)%>
248 <%if(BasicRuntimeChecks)%>
249 <BasicRuntimeChecks><%BasicRuntimeChecks%></BasicRuntimeChecks>
250 <%endif%>
251 <%endif%>
252 <%if(ExpandAttributedSource)%>
253 <ExpandAttributedSource>true</ExpandAttributedSource>
254 <%endif%>
255 <%if(AssemblerOutput)%>
256 <AssemblerOutput>AssemblyCode</AssemblerOutput>
257 <%endif%>
258 <%if(AssemblerListingLocation)%>
259 <AssemblerListingLocation><%AssemblerListingLocation%></AssemblerListingLocation>
260 <%endif%>
261 <%if(ObjectFileName)%>
262 <ObjectFileName><%ObjectFileName%></ObjectFileName>
263 <%endif%>
264 <%if(pdbc)%>
265 <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%></ProgramDataBaseFileName>
266 <%else%>
267 <%if(ProgramDataBaseFileName)%>
268 <ProgramDataBaseFileName><%ProgramDataBaseFileName%></ProgramDataBaseFileName>
269 <%endif%>
270 <%endif%>
271 <%if(GenerateXMLDocumentationFiles)%>
272 <GenerateXMLDocumentationFiles><%GenerateXMLDocumentationFiles%></GenerateXMLDocumentationFiles>
273 <%endif%>
274 <%if(XMLDocumentationFileName)%>
275 <XMLDocumentationFileName><%XMLDocumentationFileName%></XMLDocumentationFileName>
276 <%endif%>
277 <%if(BrowseInformation)%>
278 <BrowseInformation>true</BrowseInformation>
279 <%endif%>
280 <%if(BrowseInformationFile)%>
281 <BrowseInformationFile><%BrowseInformationFile%></BrowseInformationFile>
282 <%endif%>
283 <WarningLevel><%if(compares(warning_level, all))%>EnableAllWarnings<%else%><%if(compares(warning_level, none) || compares(warning_level, 0))%>TurnOffAllWarnings<%else%>Level<%warning_level("3")%><%endif%><%endif%></WarningLevel>
284 <%if(!managed && debug_format)%>
285 <DebugInformationFormat><%debug_format%></DebugInformationFormat>
286 <%endif%>
287 <%if(CallingConvention)%>
288 <CallingConvention><%CallingConvention%></CallingConvention>
289 <%endif%>
290 <%if(CompileAs)%>
291 <CompileAs><%CompileAs%></CompileAs>
292 <%endif%>
293 <%if(DisableSpecificWarnings)%>
294 <DisableSpecificWarnings><%foreach(DisableSpecificWarnings)%><%DisableSpecificWarning%>;<%endfor%>%(DisableSpecificWarnings)</DisableSpecificWarnings>
295 <%endif%>
296 <%if(ForcedIncludeFiles)%>
297 <ForcedIncludeFiles><%ForcedIncludeFiles%>;%(ForcedIncludeFiles)</ForcedIncludeFiles>
298 <%endif%>
299 <%if(ForcedUsingFiles)%>
300 <ForcedUsingFiles><%ForcedUsingFiles%>;%(ForcedUsingFiles)</ForcedUsingFiles>
301 <%endif%>
302 <%if(ShowIncludes)%>
303 <ShowIncludes>true</ShowIncludes>
304 <%endif%>
305 <%if(UndefinePreprocessorDefinitions)%>
306 <UndefinePreprocessorDefinitions><%UndefinePreprocessorDefinitions%>;%(UndefinePreprocessorDefinitions)</UndefinePreprocessorDefinitions>
307 <%endif%>
308 <%if(UndefineAllPreprocessorDefinitions)%>
309 <UndefineAllPreprocessorDefinitions>true</UndefineAllPreprocessorDefinitions>
310 <%endif%>
311 <%if(UseFullPaths)%>
312 <UseFullPaths>true</UseFullPaths>
313 <%endif%>
314 <%if(OmitDefaultLibName)%>
315 <OmitDefaultLibName>true</OmitDefaultLibName>
316 <%endif%>
317 <%if(ErrorReporting)%>
318 <ErrorReporting><%ErrorReporting%></ErrorReporting>
319 <%endif%>
320 <%if(TreatSpecificWarningsAsErrors)%>
321 <TreatSpecificWarningsAsErrors><%TreatSpecificWarningsAsErrors%>;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
322 <%endif%>
323 <%if(WarnAsError)%>
324 <TreatWarningAsError>true</TreatWarningAsError>
325 <%endif%>
326 <%if(CompileAsManaged)%>
327 <CompileAsManaged><%CompileAsManaged%></CompileAsManaged>
328 <%endif%>
329 <%if(MultiProcessorCompilation)%>
330 <MultiProcessorCompilation><%MultiProcessorCompilation%></MultiProcessorCompilation>
331 <%endif%>
332 <%if(UseUnicodeForAssemblerListing)%>
333 <UseUnicodeForAssemblerListing>true</UseUnicodeForAssemblerListing>
334 <%endif%>
335 <%if(compile_flags)%>
336 <AdditionalOptions><%compile_flags%> %(AdditionalOptions)</AdditionalOptions>
337 <%endif%>
338 </ClCompile>
339 <ResourceCompile>
340 <PreprocessorDefinitions><%if(unicode)%>UNICODE;_UNICODE;<%endif%><%foreach(defines macros platform_defines)%><%define%>;<%endfor%>%(PreprocessorDefinitions)</PreprocessorDefinitions>
341 <Culture><%culture("1033")%></Culture>
342 <AdditionalIncludeDirectories><%foreach(includes)%><%include%>;<%endfor%>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
343 </ResourceCompile>
344 <%if(prelink)%>
345 <PreLinkEvent>
346 <Command><%eval(prelink)%></Command>
347 </PreLinkEvent>
348 <%endif%>
349 <%if(type_is_static)%>
350 <Lib>
351 <%if(staticname)%>
352 <OutputFile><%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%></OutputFile>
353 <%endif%>
354 <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
355 <AdditionalLibraryDirectories><%foreach(libpaths)%><%libpath%>;<%endfor%>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
356 <%if(SuppressStartupBanner)%>
357 <SuppressStartupBanner>true</SuppressStartupBanner>
358 <%endif%>
359 <%if(ModuleDefinitionFile)%>
360 <ModuleDefinitionFile><%ModuleDefinitionFile%></ModuleDefinitionFile>
361 <%endif%>
362 <%if(IgnoreAllDefaultLibraries)%>
363 <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
364 <%endif%>
365 <%if(ignore_default_library_names)%>
366 <IgnoreSpecificDefaultLibraries><%foreach(ignore_default_library_names)%><%ignore_default_library_name%>;<%endfor%>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
367 <%endif%>
368 <%if(ExportNamedFunctions)%>
369 <ExportNamedFunctions><%ExportNamedFunctions%></ExportNamedFunctions>
370 <%endif%>
371 <%if(ForceSymbolReferences)%>
372 <ForceSymbolReferences><%ForceSymbolReferences%></ForceSymbolReferences>
373 <%endif%>
374 <%if(UseUnicodeResponseFiles)%>
375 <UseUnicodeResponseFiles>true</UseUnicodeResponseFiles>
376 <%endif%>
377 <%if(ErrorReporting)%>
378 <ErrorReporting><%ErrorReporting%></ErrorReporting>
379 <%endif%>
380 <%if(TreatLibWarningAsErrors)%>
381 <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
382 <%endif%>
383 <%if(TargetMachine)%>
384 <!--
385 Though we can set TargetMachine explicitly, VC++
386 can figure it out by project type. We don't need
387 to set it by ourselves.
389 <!-- <TargetMachine><%TargetMachine%></TargetMachine>-->
390 <%endif%>
391 <%if(SubSystem)%>
392 <SubSystem><%SubSystem%></SubSystem>
393 <%endif%>
394 <%if(MinimumRequiredVersion)%>
395 <MinimumRequiredVersion><%MinimumRequiredVersion%></MinimumRequiredVersion>
396 <%endif%>
397 <%if(RemoveObjects)%>
398 <RemoveObjects><%RemoveObjects%>;%(RemoveObjects)</RemoveObjects>
399 <%endif%>
400 <%if(Verbose)%>
401 <Verbose>true</Verbose>
402 <%endif%>
403 <%if(LinkTimeCodeGeneration)%>
404 <LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
405 <%endif%>
406 <%if(lib_options)%>
407 <AdditionalOptions><%lib_options%> %(AdditionalOptions)</AdditionalOptions>
408 <%endif%>
409 </Lib>
410 <%else%>
411 <Link>
412 <%if(SubSystem)%>
413 <SubSystem><%SubSystem%></SubSystem>
414 <%endif%>
415 <%if(GenerateDebugInformation)%>
416 <GenerateDebugInformation><%GenerateDebugInformation%></GenerateDebugInformation>
417 <%endif%>
418 <AdditionalDependencies><%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%>%(AdditionalDependencies)</AdditionalDependencies>
419 <%if(exename || sharedname || staticname)%>
420 <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%></OutputFile>
421 <%endif%>
422 <%if(ShowProgress)%>
423 <ShowProgress><%ShowProgress%></ShowProgress>
424 <%endif%>
425 <%if(win_version)%>
426 <Version><%win_version%></Version>
427 <%endif%>
428 <%if(SuppressStartupBanner)%>
429 <SuppressStartupBanner>true</SuppressStartupBanner>
430 <%endif%>
431 <%if(RegisterOutput)%>
432 <RegisterOutput>true</RegisterOutput>
433 <%endif%>
434 <%if(PerUserRedirection)%>
435 <PerUserRedirection>true</PerUserRedirection>
436 <%endif%>
437 <AdditionalLibraryDirectories><%foreach(libpaths)%><%libpath%>;<%endfor%>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
438 <%if(LinkStatus)%>
439 <LinkStatus>true</LinkStatus>
440 <%endif%>
441 <%if(PreventDllBinding)%>
442 <PreventDllBinding>true</PreventDllBinding>
443 <%endif%>
444 <%if(LinkWarnAsError)%>
445 <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
446 <%endif%>
447 <%if(ForceFileOutput)%>
448 <ForceFileOutput><%ForceFileOutput%></ForceFileOutput>
449 <%endif%>
450 <%if(CreateHotPatchableImage)%>
451 <CreateHotPatchableImage><%CreateHotPatchableImage%></CreateHotPatchableImage>
452 <%endif%>
453 <%if(SpecifySectionAttributes)%>
454 <SpecifySectionAttributes><%SpecifySectionAttributes%></SpecifySectionAttributes>
455 <%endif%>
456 <%if(IgnoreAllDefaultLibraries)%>
457 <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
458 <%endif%>
459 <%if(ignore_default_library_names)%>
460 <IgnoreSpecificDefaultLibraries><%foreach(ignore_default_library_names)%><%ignore_default_library_name%>;<%endfor%>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
461 <%endif%>
462 <%if(ModuleDefinitionFile)%>
463 <ModuleDefinitionFile><%ModuleDefinitionFile%></ModuleDefinitionFile>
464 <%else%>
465 <%foreach(uniq(source_files))%>
466 <%if(ends_with(source_file,\.def))%>
467 <ModuleDefinitionFile><%source_file%></ModuleDefinitionFile>
468 <%endif%>
469 <%endfor%>
470 <%endif%>
471 <%if(AddModuleNamesToAssembly)%>
472 <AddModuleNamesToAssembly><%AddModuleNamesToAssembly%>;%(AddModuleNamesToAssembly)</AddModuleNamesToAssembly>
473 <%endif%>
474 <%if(EmbedManagedResourceFile)%>
475 <EmbedManagedResourceFile><%EmbedManagedResourceFile%>;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
476 <%endif%>
477 <%if(ForceSymbolReferences)%>
478 <ForceSymbolReferences><%ForceSymbolReferences%>;%(ForceSymbolReferences)</ForceSymbolReferences>
479 <%endif%>
480 <%if(DelayLoadDLLs)%>
481 <DelayLoadDLLs><%DelayLoadDLLs%>;%(DelayLoadDLLs)</DelayLoadDLLs>
482 <%endif%>
483 <%if(AssemblyLinkResource)%>
484 <AssemblyLinkResource><%AssemblyLinkResource%>;%(AssemblyLinkResource)</AssemblyLinkResource>
485 <%endif%>
486 <%if(GenerateManifest)%>
487 <GenerateManifest>true</GenerateManifest>
488 <%endif%>
489 <%if(ManifestFile)%>
490 <ManifestFile><%ManifestFile%></ManifestFile>
491 <%endif%>
492 <%if(AdditionalManifestDependencies)%>
493 <AdditionalManifestDependencies><%AdditionalManifestDependencies%>;%(AdditionalManifestDependencies)</AdditionalManifestDependencies>
494 <%endif%>
495 <%if(AllowIsolation)%>
496 <AllowIsolation>true</AllowIsolation>
497 <%endif%>
498 <%if(AllowIsolation)%>
499 <AllowIsolation>true</AllowIsolation>
500 <%endif%>
501 <%if(UACExecutionLevel)%>
502 <UACExecutionLevel><%UACExecutionLevel%></UACExecutionLevel>
503 <%endif%>
504 <%if(UACUIAccess)%>
505 <UACUIAccess>true</UACUIAccess>
506 <%endif%>
507 <%if(pdbl)%>
508 <%if(sharedname)%>
509 <ProgramDatabaseFile>$(OutDir)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%if(use_pdb_modifier)%><%pdb_modifier%><%endif%>.pdb</ProgramDatabaseFile>
510 <%else%>
511 <%if(exename)%>
512 <ProgramDatabaseFile>$(OutDir)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%if(use_pdb_modifier)%><%pdb_modifier%><%endif%>.pdb</ProgramDatabaseFile>
513 <%endif%>
514 <%endif%>
515 <%endif%>
516 <%if(StripPrivateSymbols)%>
517 <StripPrivateSymbols><%StripPrivateSymbols%></StripPrivateSymbols>
518 <%endif%>
519 <%if(GenerateMapFile)%>
520 <GenerateMapFile>true</GenerateMapFile>
521 <%endif%>
522 <%if(MapFileName)%>
523 <MapFileName><%MapFileName%></MapFileName>
524 <%endif%>
525 <%if(MapExports)%>
526 <MapExports>true</MapExports>
527 <%endif%>
528 <%if(AssemblyDebug)%>
529 <AssemblyDebug>true</AssemblyDebug>
530 <%endif%>
531 <%if(MinimumRequiredVersion)%>
532 <MinimumRequiredVersion><%MinimumRequiredVersion%></MinimumRequiredVersion>
533 <%endif%>
534 <%if(HeapReserveSize)%>
535 <HeapReserveSize><%HeapReserveSize%></HeapReserveSize>
536 <%endif%>
537 <%if(HeapCommitSize)%>
538 <HeapCommitSize><%HeapCommitSize%></HeapCommitSize>
539 <%endif%>
540 <%if(StackReserveSize)%>
541 <StackReserveSize><%StackReserveSize%></StackReserveSize>
542 <%endif%>
543 <%if(StackCommitSize)%>
544 <StackCommitSize><%StackCommitSize%></StackCommitSize>
545 <%endif%>
546 <%if(LargeAddressAware)%>
547 <LargeAddressAware>true</LargeAddressAware>
548 <%endif%>
549 <%if(TerminalServerAware)%>
550 <TerminalServerAware>true</TerminalServerAware>
551 <%endif%>
552 <%if(SwapRunFromCD)%>
553 <SwapRunFromCD>true</SwapRunFromCD>
554 <%endif%>
555 <%if(SwapRunFromNet)%>
556 <SwapRunFromNET>true</SwapRunFromNET>
557 <%endif%>
558 <%if(Driver)%>
559 <Driver><%Driver%></Driver>
560 <%endif%>
561 <%if(OptimizeReferences || optimize)%>
562 <OptimizeReferences>true</OptimizeReferences>
563 <%endif%>
564 <%if(EnableCOMDATFolding || optimize)%>
565 <EnableCOMDATFolding>true</EnableCOMDATFolding>
566 <%endif%>
567 <%if(FunctionOrder)%>
568 <FunctionOrder><%FunctionOrder%></FunctionOrder>
569 <%endif%>
570 <%if(ProfileGuidedDatabase)%>
571 <ProfileGuidedDatabase><%ProfileGuidedDatabase%></ProfileGuidedDatabase>
572 <%endif%>
573 <%if(LinkTimeCodeGeneration)%>
574 <LinkTimeCodeGeneration><%LinkTimeCodeGeneration%></LinkTimeCodeGeneration>
575 <%endif%>
576 <%if(MidlCommandFile)%>
577 <MidlCommandFile><%MidlCommandFile%></MidlCommandFile>
578 <%endif%>
579 <%if(IgnoreEmbeddedIDL)%>
580 <IgnoreEmbeddedIDL>true</IgnoreEmbeddedIDL>
581 <%endif%>
582 <%if(MergedIDLBaseFileName)%>
583 <MergedIDLBaseFileName><%MergedIDLBaseFileName%></MergedIDLBaseFileName>
584 <%endif%>
585 <%if(TypeLibraryFile)%>
586 <TypeLibraryFile><%TypeLibraryFile%></TypeLibraryFile>
587 <%endif%>
588 <%if(TypeLibraryResourceID)%>
589 <TypeLibraryResourceID><%TypeLibraryResourceID%></TypeLibraryResourceID>
590 <%endif%>
591 <%if(unicode && unicode_mfc_entry && exename && source_files)%>
592 <EntryPointSymbol><%unicode_mfc_entry%></EntryPointSymbol>
593 <%else%>
594 <%if(EntryPointSymbol)%>
595 <EntryPointSymbol><%EntryPointSymbol%></EntryPointSymbol>
596 <%endif%>
597 <%endif%>
598 <%if(NoEntryPoint)%>
599 <NoEntryPoint>true</NoEntryPoint>
600 <%endif%>
601 <%if(SetChecksum)%>
602 <SetChecksum>true</SetChecksum>
603 <%endif%>
604 <%if(BaseAddress)%>
605 <BaseAddress><%BaseAddress%></BaseAddress>
606 <%endif%>
607 <%if(RandomizedBaseAddress)%>
608 <RandomizedBaseAddress>true</RandomizedBaseAddress>
609 <%endif%>
610 <%if(FixedBaseAddress)%>
611 <FixedBaseAddress>true</FixedBaseAddress>
612 <%endif%>
613 <%if(DataExecutionPrevention)%>
614 <DataExecutionPrevention>true</DataExecutionPrevention>
615 <%endif%>
616 <%if(TurnOffAssemblyGeneration)%>
617 <TurnOffAssemblyGeneration>true</TurnOffAssemblyGeneration>
618 <%endif%>
619 <%if(SupportUnloadOfDelayLoadedDLL)%>
620 <SupportUnloadOfDelayLoadedDLL>true</SupportUnloadOfDelayLoadedDLL>
621 <%endif%>
622 <%if(SupportNobindOfDelayLoadedDLL)%>
623 <SupportNobindOfDelayLoadedDLL>true</SupportNobindOfDelayLoadedDLL>
624 <%endif%>
625 <%if(ImportLibrary)%>
626 <ImportLibrary><%ImportLibrary%></ImportLibrary>
627 <%else%>
628 <%if(type_is_dynamic && sharedname)%>
629 <ImportLibrary><%libout%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%></ImportLibrary>
630 <%endif%>
631 <%endif%>
632 <%if(MergeSections)%>
633 <MergeSections><%MergeSections%></MergeSections>
634 <%endif%>
635 <%if(TargetMachine)%>
636 <!--
637 Though we can set TargetMachine explicitly, VC++
638 can figure it out by project type. We don't need
639 to set it by ourselves.
641 <!-- <TargetMachine><%TargetMachine%></TargetMachine>-->
642 <%endif%>
643 <%if(Profile)%>
644 <Profile>true</Profile>
645 <%endif%>
646 <%if(CLRThreadAttribute)%>
647 <CLRThreadAttribute><%CLRThreadAttribute%></CLRThreadAttribute>
648 <%endif%>
649 <%if(CLRImageType)%>
650 <CLRImageType><%CLRImageType%></CLRImageType>
651 <%endif%>
652 <%if(KeyFile)%>
653 <KeyFile><%KeyFile%></KeyFile>
654 <%endif%>
655 <%if(KeyContainer)%>
656 <KeyContainer><%KeyContainer%></KeyContainer>
657 <%endif%>
658 <%if(DelaySign)%>
659 <DelaySign>true</DelaySign>
660 <%endif%>
661 <%if(CLRUnmanagedCodeCheck)%>
662 <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
663 <%endif%>
664 <%if(LinkErrorReporting)%>
665 <LinkErrorReporting><%LinkErrorReporting%></LinkErrorReporting>
666 <%endif%>
667 <%if(SectionAlignment)%>
668 <SectionAlignment><%SectionAlignment%></SectionAlignment>
669 <%endif%>
670 <%if(CLRSupportLastError)%>
671 <CLRSupportLastError><%CLRSupportLastError%></CLRSupportLastError>
672 <%endif%>
673 <%if(ImageHasSafeExceptionHandlers)%>
674 <ImageHasSafeExceptionHandlers><%ImageHasSafeExceptionHandlers%></ImageHasSafeExceptionHandlers>
675 <%endif%>
676 <%if(!source_files)%>
677 <AdditionalOptions>/noentry<%if(link_options)%> <%link_options%><%endif%><%if(release_link_options && !debug_prj)%> <%release_link_options%><%endif%> %(AdditionalOptions)</AdditionalOptions>
678 <%else%>
679 <%if(link_options || release_link_options && !debug_prj)%>
680 <AdditionalOptions><%link_options%><%if(release_link_options && !debug_prj)%> <%release_link_options%><%endif%> %(AdditionalOptions)</AdditionalOptions>
681 <%endif%>
682 <%endif%>
683 </Link>
684 <%endif%>
685 <%if(postbuild)%>
686 <PostBuildEvent>
687 <Command><%eval(postbuild)%></Command>
688 </PostBuildEvent>
689 <%endif%>
690 <!-- "postclean" was made-up by MPC for use by vs_postclean.pl.
691 Check if msbuild has any support for a custom post-cleaning step
692 <%if(postclean)%>
693 <Tool
694 Name="VCPostCleanEventTool"
695 CommandLine="<%eval(postclean)%>"
697 <%endif%> -->
698 <!-- No known equivalent for DeploymentTool in vc10:
699 <%if(deploymenttool)%>
700 <DeploymentTool
701 ForceDirty="-1"
702 RemoteDirectory="<%deployment_directory%>"
703 RegisterOutput="0"
704 AdditionalFiles=""
706 <%endif%>
708 </ItemDefinitionGroup>
709 <%endfor%>
710 <%endfor%>
711 <ItemGroup>
712 <%if(after && add_references)%>
713 <!-- MPC ADD DEPENDENCIES -->
714 <%endif%>
715 <%foreach(AssemblyReferences)%>
716 <Reference Include="<%AssemblyReference%>" />
717 <%endfor%>
718 <%foreach(comreferences)%>
719 <COMReference Include="<%comreference->_default%>">
720 <Guid><%lc(comreference->guid)%></Guid>
721 <VersionMajor><%comreference->majorver("1")%></VersionMajor>
722 <VersionMinor><%comreference->minorver("0")%></VersionMinor>
723 <Lcid><%comreference->lcid("0")%></Lcid>
724 <WrapperTool><%comreference->wrapper("tlbimp")%></WrapperTool>
725 <Isolated><%comreference->isolated("false")%></Isolated>
726 <%if(comreference->copylocal)%>
727 <Private><%comreference->copylocal%></Private>
728 <%endif%>
729 <%if(comreference->refout)%>
730 <ReferenceOutputAssembly><%comreference->refout%></ReferenceOutputAssembly>
731 <%endif%>
732 <%if(comreference->clsa)%>
733 <CopyLocalSatelliteAssemblies><%comreference->clsa%></CopyLocalSatelliteAssemblies>
734 <%endif%>
735 </COMReference>
736 <%endfor%>
737 </ItemGroup>
738 <%if(exename || sharedname || staticname)%>
739 <%if(source_files)%>
740 <ItemGroup>
741 <%if(pch_source)%>
742 <ClCompile Include="<%pch_source%>">
743 <%foreach(platforms)%>
744 <%foreach(configurations)%>
745 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">Create</PrecompiledHeader>
746 <%endfor%>
747 <%endfor%>
748 </ClCompile>
749 <%endif%>
750 <%foreach(uniq(source_files))%>
751 <%if(ends_with(source_file,\.def))%>
752 <None Include="<%source_file%>" />
753 <%else%>
754 <%if(ends_with(source_file,\.[io]dl))%>
755 <Midl Include="<%source_File%>" />
756 <%else%>
757 <ClCompile Include="<%source_file%>">
758 <%if(flag_overrides(source_file, buildflags) || flag_overrides(source_file, no_pch) || flag_overrides(source_file, managed))%>
759 <%foreach(platforms)%>
760 <%foreach(configurations)%>
761 <%if(flag_overrides(source_file, no_pch))%>
762 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">NotUsing</PrecompiledHeader>
763 <%endif%>
764 <%if(flag_overrides(source_file, buildflags))%>
765 <AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%flag_overrides(source_file, buildflags)%> %(AdditionalOptions)</AdditionalOptions>
766 <%endif%>
767 <%if(flag_overrides(source_file, managed))%>
768 <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">Default</BasicRuntimeChecks>
769 <CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(compares(flag_overrides(source_file, managed),0))%>false<%else%><%if(compares(flag_overrides(source_file, managed),1))%>true<%else%><%if(compares(flag_overrides(source_file, managed),2))%>Pure<%else%><%if(compares(flag_overrides(source_file, managed),3))%>Safe<%else%><%flag_overrides(source_file, managed)%><%endif%><%endif%><%endif%><%endif%></CompileAsManaged>
770 <%if(!ExceptionHandling || compares(ExceptionHandling, 'Sync'))%>
771 <ExceptionHandling>Async</ExceptionHandling>
772 <%endif%>
773 <%endif%>
774 <%endfor%>
775 <%endfor%>
776 <%endif%>
777 <%if(duplicate_index(source_file))%>
778 <ObjectFileName>$(IntDir)\%(Filename)<%duplicate_index(source_file)%>.obj</ObjectFileName>
779 <%endif%>
780 </ClCompile>
781 <%endif%>
782 <%endif%>
783 <%endfor%>
784 </ItemGroup>
785 <%endif%>
786 <%endif%>
787 <%if(template_files)%>
788 <ItemGroup>
789 <%foreach(uniq(template_files))%>
790 <%if(!is_custom_input(template_file))%>
791 <ClCompile Include="<%template_file%>">
792 <%foreach(platforms)%>
793 <%foreach(configurations)%>
794 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">true</ExcludedFromBuild>
795 <%endfor%>
796 <%endfor%>
797 </ClCompile>
798 <%endif%>
799 <%endfor%>
800 </ItemGroup>
801 <%endif%>
802 <%if(header_files)%>
803 <ItemGroup>
804 <%foreach(uniq(header_files))%>
805 <%if(!is_custom_input(header_file))%>
806 <ClInclude Include="<%header_file%>" />
807 <%endif%>
808 <%endfor%>
809 </ItemGroup>
810 <%endif%>
811 <%foreach(custom_types)%>
812 <%if(custom_type->input_files)%>
813 <ItemGroup>
814 <%foreach(custom_type->input_files)%>
815 <%if(custom_type->input_file->output_files)%>
816 <CustomBuild Include="<%custom_type->input_file%>">
817 <%foreach(platforms)%>
818 <%foreach(configurations)%>
819 <Command Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%if(custom_type->libpath)%>setlocal&#x0D;&#x0A;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%><%foreach(custom_type->input_file->commands)%><%if(custom_type->input_file->command->gdir)%>if not exist <%custom_type->input_file->command->gdir%> mkdir <%custom_type->input_file->command->gdir%>&#x0D;&#x0A;<%endif%><%endfor%><%if(custom_type->input_file->commands)%><%foreach(custom_type->input_file->commands)%>cmd /c &quot;<%custom_type->input_file->command%> <%custom_type->input_file->command->flags%> &quot;<%custom_type->input_file%>&quot;<%if(custom_type->input_file->command->outopt)%> <%custom_type->input_file->command->outopt%> &quot;<%custom_type->input_file->command->outfile%>&quot;&quot;<%endif%><%fornotlast(" &amp;&amp; ")%><%endfor%><%else%>cmd /c &quot;<%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%><%endif%>&quot;<%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%><%if(custom_type->libpath)%>&#x0D;&#x0A;endlocal<%endif%></Command>
820 <Message Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">Invoking "<%if(custom_type->input_file->commands)%><%foreach(custom_type->input_file->commands)%><%custom_type->input_file->command%><%fornotlast(" and ")%><%endfor%><%else%><%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%><%endif%> on <%custom_type->input_file%>"</Message>
821 <Outputs Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%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%></Outputs>
822 <%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)))%>
823 <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'"><%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%></AdditionalInputs>
824 <%endif%>
825 <%endfor%>
826 <%endfor%>
827 </CustomBuild>
828 <%else%>
829 <None Include="<%custom_type->input_file%>" />
830 <%endif%>
831 <%endfor%>
832 </ItemGroup>
833 <%endif%>
834 <%endfor%>
835 <%if(inline_files)%>
836 <ItemGroup>
837 <%foreach(uniq(inline_files))%>
838 <%if(!is_custom_input(inline_file))%>
839 <None Include="<%inline_file%>" />
840 <%endif%>
841 <%endfor%>
842 </ItemGroup>
843 <%endif%>
844 <%if(documentation_files)%>
845 <ItemGroup>
846 <%foreach(uniq(documentation_files))%>
847 <%if(!is_custom_input(documentation_file))%>
848 <CustomBuild Include="<%documentation_file%>">
849 <FileType>Document</FileType>
850 <%foreach(platforms)%>
851 <%foreach(configurations)%>
852 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='<%configuration%>|<%platform%>'">true</ExcludedFromBuild>
853 <%endfor%>
854 <%endfor%>
855 </CustomBuild>
856 <%endif%>
857 <%endfor%>
858 </ItemGroup>
859 <%endif%>
860 <%if(resource_files && !type_is_static)%>
861 <ItemGroup>
862 <%foreach(uniq(resource_files))%>
863 <%if(!is_custom_input(resource_file))%>
864 <<%if(ends_with(resource_file,\.rc))%>ResourceCompile<%else%>None<%endif%> Include="<%resource_file%>" />
865 <%endif%>
866 <%endfor%>
867 </ItemGroup>
868 <%endif%>
869 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
870 <ImportGroup Label="ExtensionTargets">
871 </ImportGroup>
872 </Project>