summaryrefslogtreecommitdiff
path: root/ACE/MPC/templates/vc8csharp.mpd
blob: 7e2ede7b1c51cb03e4d7f83efcd79ff8b9f263a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<%if(xmlheader)%><?xml version="1.0" encoding="utf-8"?>
<%endif%><Project<%if(toolsversion)%> ToolsVersion="<%toolsversion%>"<%endif%> DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectType>Local</ProjectType>
    <ProductVersion><%prversion("8.0.50727")%></ProductVersion>
    <SchemaVersion><%schemaversion("2.0")%></SchemaVersion>
    <ProjectGuid>{<%guid%>}</ProjectGuid>
<%foreach(configurations)%>
<%if(forfirst)%>
    <Configuration Condition=" '$(Configuration)' == '' "><%configuration%></Configuration>
<%endif%>
<%endfor%>
<%foreach(platforms)%>
<%if(forfirst)%>
    <Platform Condition=" '$(Platform)' == '' "><%platform%></Platform>
<%endif%>
<%endfor%>
<%if(ico_files)%>
<%foreach(ico_files)%>
<%if(forfirst)%>
    <ApplicationIcon><%ico_file%></ApplicationIcon>
<%endif%>
<%endfor%>
<%endif%>
    <AssemblyKeyContainerName>
    </AssemblyKeyContainerName>
<%if(exename || sharedname || staticname)%>
    <AssemblyName><%if(exename)%><%exename%><%else%><%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%endif%></AssemblyName>
<%endif%>
    <AssemblyOriginatorKeyFile><%keyfile%></AssemblyOriginatorKeyFile>
<%if(keyfile)%>
    <SignAssembly>true</SignAssembly>
<%endif%>
    <DefaultClientScript>JScript</DefaultClientScript>
    <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
    <DefaultTargetSchema>IE50</DefaultTargetSchema>
    <DelaySign><%DelaySign("false")%></DelaySign>
<%if(exename || sharedname || staticname)%>
    <OutputType><%if(exename)%><%if(winapp)%>Win<%endif%>Exe<%else%>Library<%endif%></OutputType>
<%endif%>
    <RootNamespace>
    </RootNamespace>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
    <StartupObject><%startupobject%></StartupObject>
    <ReferencePath><%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%></ReferencePath>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
  </PropertyGroup>
<%foreach(platforms)%>
<%foreach(configurations)%>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == '<%configuration%>|<%platform%>' ">
<%if(exename || sharedname || staticname)%>
    <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>
<%endif%>
    <AllowUnsafeBlocks><%allowunsafeblocks(false)%></AllowUnsafeBlocks>
    <BaseAddress>285212672</BaseAddress>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <ConfigurationOverrideFile>
    </ConfigurationOverrideFile>
    <DefineConstants><%foreach(defines common_defines macros)%><%define%>;<%endfor%><%if(!optimize)%>DESIGN;DEBUG;<%endif%><%if(trace)%>TRACE<%endif%></DefineConstants>
    <DocumentationFile>
    </DocumentationFile>
    <DebugSymbols><%if(optimize)%>false<%else%>true<%endif%></DebugSymbols>
    <FileAlignment>4096</FileAlignment>
    <NoStdLib>false</NoStdLib>
    <NoWarn>
    </NoWarn>
    <Optimize><%if(optimize)%>true<%else%>false<%endif%></Optimize>
    <RegisterForComInterop><%RegisterForComInterop("false")%></RegisterForComInterop>
    <RemoveIntegerChecks>false</RemoveIntegerChecks>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <WarningLevel><%warning_level("4")%></WarningLevel>
    <DebugType><%if(optimize)%>none<%else%>full<%endif%></DebugType>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
<%endfor%>
<%endfor%>
  <ItemGroup>
<%if(after)%>
    <!-- MPC ADD DEPENDENCIES -->
<%endif%>
<%foreach(libs)%>
    <Reference Include="<%libname_prefix%><%lib%>">
      <Name><%libname_prefix%><%lib%></Name>
    </Reference>
<%endfor%>
<%foreach(lib, sort(lit_libs pure_libs))%>
    <Reference Include="<%lib%>">
      <Name><%lib%></Name>
    </Reference>
<%endfor%>
  </ItemGroup>
  <ItemGroup>
<%foreach(source_files)%>
<%if(contains(flag_overrides(source_file, subtype), ^(Form|Component)$))%>
    <Compile Include="<%source_file%>">
      <SubType><%flag_overrides(source_file, subtype)%></SubType>
<%if(flag_overrides(source_file, dependent_upon))%>
      <DependentUpon><%flag_overrides(source_file, dependent_upon)%></DependentUpon>
<%endif%>
    </Compile>
<%if(remove_from(source_files, \.Designer\.cs, source_file, \.cs))%>
    <Compile Include="<%noextension(source_file)%>.Designer.cs">
      <DependentUpon><%basename(source_file)%></DependentUpon>
    </Compile>
<%endif%>
<%if(remove_from(resx_files, resx, source_file, cs))%>
    <EmbeddedResource Include="<%noextension(source_file)%>.resx">
      <SubType>Designer</SubType>
      <DependentUpon><%basename(source_file)%></DependentUpon>
    </EmbeddedResource>
<%endif%>
<%foreach(removed, 1, remove_from(resx_files, .*\.resx, source_file, cs))%>
    <EmbeddedResource Include="<%removed%>">
      <SubType>Designer</SubType>
      <DependentUpon><%basename(source_file)%></DependentUpon>
    </EmbeddedResource>
<%endfor%>
<%endif%>
<%endfor%>
<%foreach(source_files)%>
<%if(!contains(flag_overrides(source_file, subtype), ^(Form|Component)$))%>
    <Compile Include="<%source_file%>">
<%if(flag_overrides(source_file, dependent_upon))%>
      <DependentUpon><%flag_overrides(source_file, dependent_upon)%></DependentUpon>
<%endif%>
    </Compile>
<%endif%>
<%endfor%>
<%foreach(custom_types)%>
<%foreach(custom_type->input_files)%>
<%if(custom_type->input_file->output_files)%>
    <Compile Include="<%custom_type->input_file%>">
      <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>
    </Compile>
<%else%>
    <None Include="<%custom_type->input_file%>" />
<%endif%>
<%endfor%>
<%endfor%>
<%foreach(resx_files)%>
    <EmbeddedResource Include="<%resx_file%>">
<%if(flag_overrides(resx_file, subtype))%>
      <SubType><%flag_overrides(resx_file, subtype)%></SubType>
<%endif%>
<%if(flag_overrides(resx_file, generates_source))%>
<%if(compares(flag_overrides(resx_file, generates_source), 1))%>
<%if(ends_with(resx_file, \.settings))%>
      <Generator>SettingsSingleFileGenerator</Generator>
<%else%>
      <Generator>ResXFileCodeGenerator</Generator>
<%endif%>
<%else%>
      <Generator><%flag_overrides(resx_file, generates_source)%></Generator>
<%endif%>
      <LastGenOutput><%basenoextension(resx_file)%>.Designer.cs</LastGenOutput>
<%endif%>
<%if(flag_overrides(resx_file, dependent_upon))%>
      <DependentUpon><%flag_overrides(resx_file, dependent_upon)%></DependentUpon>
<%endif%>
    </EmbeddedResource>
<%if(flag_overrides(resx_file, generates_source))%>
    <Compile Include="<%noextension(resx_file)%>.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon><%basename(resx_file)%></DependentUpon>
    </Compile>
<%endif%>
<%endfor%>
<%foreach(ico_files)%>
    <Content Include="<%ico_file%>" />
<%endfor%>
<%foreach(config_files)%>
    <None Include="<%config_file%>" />
<%endfor%>
<%foreach(documentation_files)%>
    <None Include="<%documentation_file%>" />
<%endfor%>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PreBuildEvent><%if(prebuild)%><%eval(prebuild)%><%endif%></PreBuildEvent>
    <PostBuildEvent><%if(postbuild)%><%eval(postbuild)%><%endif%></PostBuildEvent>
  </PropertyGroup>
</Project>