Whitespace changes
[MPC.git] / templates / vc8java.mpd
blob78a2071ba209a830400ded1b8ad1106df2cc1923
1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2   <PropertyGroup>
3     <ProjectType>Local</ProjectType>
4     <ProductVersion><%prversion("8.0.50727")%></ProductVersion>
5     <SchemaVersion><%schemaversion("2.0")%></SchemaVersion>
6     <ProjectGuid>{<%guid%>}</ProjectGuid>
7 <%foreach(configurations)%>
8 <%if(forfirst)%>
9     <Configuration Condition=" '$(Configuration)' == '' "><%configuration%></Configuration>
10 <%endif%>
11 <%endfor%>
12 <%foreach(platforms)%>
13 <%if(forfirst)%>
14     <Platform Condition=" '$(Platform)' == '' "><%platform%></Platform>
15 <%endif%>
16 <%endfor%>
17     <AssemblyKeyContainerName>
18     </AssemblyKeyContainerName>
19 <%if(exename || sharedname || staticname)%>
20     <AssemblyName><%if(exename)%><%exename%><%else%><%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%endif%></AssemblyName>
21 <%endif%>
22     <AssemblyOriginatorKeyFile><%keyfile%></AssemblyOriginatorKeyFile>
23 <%if(keyfile)%>
24     <SignAssembly>true</SignAssembly>
25 <%endif%>
26     <DefaultClientScript>JScript</DefaultClientScript>
27     <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
28     <DefaultTargetSchema>IE50</DefaultTargetSchema>
29     <DelaySign><%DelaySign("false")%></DelaySign>
30 <%if(exename || sharedname || staticname)%>
31     <OutputType><%if(exename)%><%if(winapp)%>Win<%endif%>Exe<%else%>Library<%endif%></OutputType>
32 <%endif%>
33     <RootNamespace>
34     </RootNamespace>
35     <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
36     <StartupObject><%startupobject%></StartupObject>
37     <ReferencePath><%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%></ReferencePath>
38     <FileUpgradeFlags>
39     </FileUpgradeFlags>
40     <UpgradeBackupLocation>
41     </UpgradeBackupLocation>
42   </PropertyGroup>
43 <%foreach(platforms)%>
44 <%foreach(configurations)%>
45   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == '<%configuration%>|<%platform%>' ">
46 <%if(exename || sharedname || staticname)%>
47     <OutputPath><%if(exename)%><%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir%><%endif%><%else%>.\<%output_dir%><%endif%><%else%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%output_dir%><%endif%>\</OutputPath>
48 <%endif%>
49     <AllowUnsafeBlocks><%allowunsafeblocks(false)%></AllowUnsafeBlocks>
50     <BaseAddress>285212672</BaseAddress>
51     <ConfigurationOverrideFile>
52     </ConfigurationOverrideFile>
53     <DefineConstants><%foreach(defines common_defines macros)%><%define%>;<%endfor%><%if(!optimize)%>DESIGN;DEBUG;<%endif%><%if(trace)%>TRACE<%endif%></DefineConstants>
54     <DebugSymbols><%if(optimize)%>false<%else%>true<%endif%></DebugSymbols>
55     <NoWarn>
56     </NoWarn>
57     <Optimize><%if(optimize)%>true<%else%>false<%endif%></Optimize>
58     <RegisterForComInterop><%RegisterForComInterop("false")%></RegisterForComInterop>
59     <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
60     <WarningLevel><%warning_level("4")%></WarningLevel>
61     <DebugType><%if(optimize)%>none<%else%>full<%endif%></DebugType>
62   </PropertyGroup>
63 <%endfor%>
64 <%endfor%>
65   <ItemGroup>
66 <%if(after)%>
67     <!-- MPC ADD DEPENDENCIES -->
68 <%endif%>
69 <%foreach(libs)%>
70     <Reference Include="<%libname_prefix%><%lib%>">
71       <Name><%libname_prefix%><%lib%></Name>
72     </Reference>
73 <%endfor%>
74 <%foreach(lib, sort(lit_libs pure_libs))%>
75     <Reference Include="<%lib%>">
76       <Name><%lib%></Name>
77     </Reference>
78 <%endfor%>
79   </ItemGroup>
80   <ItemGroup>
81 <%foreach(source_files)%>
82     <Compile Include="<%source_file%>">
83       <SubType><%if(flag_overrides(source_file, subtype))%><%flag_overrides(source_file, subtype)%><%else%>Code<%endif%></SubType>
84 <%if(flag_overrides(source_file, dependent_upon))%>
85       <DependentUpon><%flag_overrides(source_file, dependent_upon)%></DependentUpon>
86 <%endif%>
87     </Compile>
88 <%endfor%>
89 <%foreach(custom_types)%>
90 <%foreach(custom_type->input_files)%>
91 <%if(custom_type->input_file->output_files)%>
92     <Compile Include="<%custom_type->input_file%>">
93       <Generator><%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)%><%custom_type->input_file%> <%custom_type->output_option%> <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_files)%><%else%><%custom_type->input_file->output_files%><%endif%><%else%><%custom_type->input_file%><%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%></Generator>
94     </Compile>
95 <%else%>
96     <None Include="<%custom_type->input_file%>" />
97 <%endif%>
98 <%endfor%>
99 <%endfor%>
100 <%foreach(documentation_files)%>
101     <None Include="<%documentation_file%>" />
102 <%endfor%>
103   </ItemGroup>
104   <Import Project="$(MSBuildBinPath)\Microsoft.VisualJSharp.targets" />
105   <PropertyGroup>
106     <PreBuildEvent><%if(prebuild)%><%eval(prebuild)%><%endif%></PreBuildEvent>
107     <PostBuildEvent><%if(postbuild)%><%eval(postbuild)%><%endif%></PostBuildEvent>
108   </PropertyGroup>
109 </Project>