Clear out the previous custom_multi_details hash map so that we don't have extraneous...
[MPC.git] / templates / vc7vb.mpd
blob1c7e69ad357919056443d95907f921ef8b1ad10f
1 <VisualStudioProject>
2     <VisualBasic
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 = ""
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                 OutputCompare = "Binary"
38                 OptionExplicit = "On"
39                 OptionStrict = "Off"
40                 RootNamespace = ""
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                    BaseAddress = "285212672"
50                    ConfigurationOverrideFile = ""
51                    DefineConstants = "<%foreach(defines common_defines macros)%><%define%><%fornotlast(";")%><%endfor%>"
52                    DefineDebug = "<%if(optimize)%>false<%else%>true<%endif%>"
53                    DefineTrace = "<%if(trace)%>true<%else%>false<%endif%>"
54                    DefineSymbols = "<%if(optimize)%>false<%else%>true<%endif%>"
55                    IncrementalBuild = "<%incremental("false")%>"
56                    Optimize = "<%if(optimize)%>true<%else%>false<%endif%>"
57 <%if(exename || sharedname || staticname)%>
58                    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%>\"
59 <%endif%>
60                    RegisterForComInterop = "false"
61                    RemoveIntegerChecks = "false"
62                    TreatWarningsAsErrors = "false"
63                    WarningLevel = "1"
64                 />
65 <%endfor%>
66             </Settings>
67             <References>
68 <%foreach(libs)%>
69                 <Reference
70                     Name = "<%libname_prefix%><%lib%>"
71                     AssemblyName = "<%libname_prefix%><%lib%>"
72                 />
73 <%endfor%>
74 <%foreach(lib, lit_libs pure_libs)%>
75                 <Reference
76                     Name = "<%lib%>"
77                     AssemblyName = "<%lib%>"
78                 />
79 <%endfor%>
80             </References>
81         </Build>
82         <Files>
83             <Include>
84 <%foreach(source_files)%>
85                         <File
86                                 RelPath = "<%source_file%>"
87                                 SubType = "<%if(flag_overrides(source_file, subtype))%><%flag_overrides(source_file, subtype)%><%else%>Code<%endif%>"
88                                 BuildAction = "Compile"
89                         />
90 <%endfor%>
91 <%foreach(resx_files)%>
92                         <File
93                                 RelPath = "<%resx_file%>"
94                                 BuildAction = "EmbeddedResource"
95                         />
96 <%endfor%>
97 <%foreach(custom_types)%>
98 <%foreach(custom_type->input_files)%>
99                         <File
100                                 RelPath = "<%custom_type->input_file%>"
101 <%if(custom_type->input_file->output_files)%>
102                                 BuildAction = "Compile"
103                                 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%>"
104 <%else%>
105                                 BuildAction = "None"
106 <%endif%>
107                         />
108 <%endfor%>
109 <%endfor%>
110 <%foreach(aspx_files)%>
111                         <File
112                                 RelPath = "<%aspx_file%>"
113                                 BuildAction = "Content"
114                         />
115 <%endfor%>
116 <%foreach(ico_files)%>
117                         <File
118                                 RelPath = "<%ico_file%>"
119                                 BuildAction = "Content"
120                         />
121 <%endfor%>
122 <%foreach(config_files)%>
123                         <File
124                                 RelPath = "<%config_file%>"
125                                 BuildAction = "None"
126                         />
127 <%endfor%>
128 <%foreach(documentation_files)%>
129                         <File
130                                 RelPath = "<%documentation_file%>"
131                                 BuildAction = "None"
132                         />
133 <%endfor%>
134             </Include>
135         </Files>
136     </VisualBasic>
137 </VisualStudioProject>