Merge pull request #228 from DOCGroup/jwillemsen-patch-1
[MPC.git] / templates / vc7csharp.mpd
blob287c2f6a69cf3fa1a088961a956d267a164c0185
1 <VisualStudioProject>
2     <CSHARP
3         ProjectType = "Local"
4         ProductVersion = "<%prversion("7.10.3077")%>"
5         SchemaVersion = "<%schemaversion("2.0")%>"
6         ProjectGuid = "{<%guid%>}"
7 <%if(scc)%>
8         SccProjectName = "<%scc%>"
9         SccLocalPath = "<%scc%>"
10         SccAuxPath = "<%scc%>"
11         SccProvider = "<%scc%>"
12 <%endif%>
13     >
14         <Build>
15             <Settings
16 <%if(ico_files)%>
17 <%foreach(ico_files)%>
18 <%if(forfirst)%>
19                 ApplicationIcon = "<%ico_file%>"
20 <%endif%>
21 <%endfor%>
22 <%else%>
23                 ApplicationIcon = ""
24 <%endif%>
25                 AssemblyKeyContainerName = ""
26 <%if(exename || sharedname || staticname)%>
27                 AssemblyName = "<%if(exename)%><%exename%><%else%><%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%endif%>"
28 <%endif%>
29                 AssemblyOriginatorKeyFile = "<%keyfile%>"
30                 DefaultClientScript = "JScript"
31                 DefaultHTMLPageLayout = "Grid"
32                 DefaultTargetSchema = "IE50"
33                 DelaySign = "<%DelaySign("false")%>"
34 <%if(exename || sharedname || staticname)%>
35                 OutputType = "<%if(exename)%><%if(winapp)%>Win<%endif%>Exe<%else%>Library<%endif%>"
36 <%endif%>
37                 PreBuildEvent = "<%if(prebuild)%><%eval(prebuild)%><%endif%>"
38                 PostBuildEvent = "<%if(postbuild)%><%eval(postbuild)%><%endif%>"
39                 RootNamespace = ""
40                 RunPostBuildEvent = "OnBuildSuccess"
41                 StartupObject = "<%startupobject%>"
42 <%if(libpaths)%>
43                 ReferencePath = "<%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%>"
44 <%endif%>
45             >
46 <%foreach(configurations)%>
47                 <Config
48                    Name = "<%configuration%>"
49                    AllowUnsafeBlocks = "<%allowunsafeblocks(false)%>"
50                    BaseAddress = "285212672"
51                    CheckForOverflowUnderflow = "false"
52                    ConfigurationOverrideFile = ""
53                    DefineConstants = "<%foreach(defines common_defines macros)%><%define%>;<%endfor%><%if(!optimize)%>DESIGN;DEBUG;<%endif%><%if(trace)%>TRACE<%endif%>"
54                    DocumentationFile = ""
55                    DebugSymbols = "<%if(optimize)%>false<%else%>true<%endif%>"
56                    FileAlignment = "4096"
57                    IncrementalBuild = "<%incremental("false")%>"
58                    NoStdLib = "false"
59                    NoWarn = ""
60                    Optimize = "<%if(optimize)%>true<%else%>false<%endif%>"
61 <%if(exename || sharedname || staticname)%>
62                    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%>\"
63 <%endif%>
64                    RegisterForComInterop = "false"
65                    RemoveIntegerChecks = "false"
66                    TreatWarningsAsErrors = "false"
67                    WarningLevel = "4"
68                 />
69 <%endfor%>
70             </Settings>
71             <References>
72 <%foreach(libs)%>
73                 <Reference
74                     Name = "<%libname_prefix%><%lib%>"
75                     AssemblyName = "<%libname_prefix%><%lib%>"
76                 />
77 <%endfor%>
78 <%foreach(lib, lit_libs pure_libs)%>
79                 <Reference
80                     Name = "<%lib%>"
81                     AssemblyName = "<%lib%>"
82                 />
83 <%endfor%>
84             </References>
85         </Build>
86         <Files>
87             <Include>
88 <%foreach(source_files)%>
89                         <File
90                                 RelPath = "<%source_file%>"
91                                 SubType = "<%if(flag_overrides(source_file, subtype))%><%flag_overrides(source_file, subtype)%><%else%>Code<%endif%>"
92                                 BuildAction = "Compile"
93                         />
94 <%endfor%>
95 <%foreach(resx_files)%>
96                         <File
97                                 RelPath = "<%resx_file%>"
98                                 BuildAction = "EmbeddedResource"
99                         />
100 <%endfor%>
101 <%foreach(custom_types)%>
102 <%foreach(custom_type->input_files)%>
103                         <File
104                                 RelPath = "<%custom_type->input_file%>"
105 <%if(custom_type->input_file->output_files)%>
106                                 BuildAction = "Compile"
107                                 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%>"
108 <%else%>
109                                 BuildAction = "None"
110 <%endif%>
111                         />
112 <%endfor%>
113 <%endfor%>
114 <%foreach(aspx_files)%>
115                         <File
116                                 RelPath = "<%aspx_file%>"
117                                 BuildAction = "Content"
118                         />
119 <%endfor%>
120 <%foreach(ico_files)%>
121                         <File
122                                 RelPath = "<%ico_file%>"
123                                 BuildAction = "Content"
124                         />
125 <%endfor%>
126 <%foreach(config_files)%>
127                         <File
128                                 RelPath = "<%config_file%>"
129                                 BuildAction = "None"
130                         />
131 <%endfor%>
132 <%foreach(documentation_files)%>
133                         <File
134                                 RelPath = "<%documentation_file%>"
135                                 BuildAction = "None"
136                         />
137 <%endfor%>
138             </Include>
139         </Files>
140     </CSHARP>
141 </VisualStudioProject>