Merge pull request #20 from jwillemsen/master
[MPC.git] / templates / vc7java.mpd
blob7cd08e7b81eeda8bc16ee6aba77600a8d1ff39e7
1 <VisualStudioProject>
2     <VISUALJSHARP
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                 AssemblyKeyContainerName = ""
17 <%if(exename || sharedname || staticname)%>
18                 AssemblyName = "<%if(exename)%><%exename%><%else%><%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%endif%>"
19 <%endif%>
20                 AssemblyOriginatorKeyFile = "<%keyfile%>"
21                 DefaultClientScript = "JScript"
22                 DefaultHTMLPageLayout = "Grid"
23                 DefaultTargetSchema = "IE50"
24                 DelaySign = "<%DelaySign("false")%>"
25 <%if(exename || sharedname || staticname)%>
26                 OutputType = "<%if(exename)%><%if(winapp)%>Win<%endif%>Exe<%else%>Library<%endif%>"
27 <%endif%>
28                 PreBuildEvent = "<%if(prebuild)%><%eval(prebuild)%><%endif%>"
29                 PostBuildEvent = "<%if(postbuild)%><%eval(postbuild)%><%endif%>"
30                 RootNamespace = ""
31                 RunPostBuildEvent = "OnBuildSuccess"
32                 StartupObject = "<%startupobject%>"
33 <%if(libpaths)%>
34                 ReferencePath = "<%foreach(libpaths)%><%libpath%><%fornotlast(";")%><%endfor%>"
35 <%endif%>
36             >
37 <%foreach(configurations)%>
38                 <Config
39                    Name = "<%configuration%>"
40                    AllowUnsafeBlocks = "<%allowunsafeblocks(false)%>"
41                    BaseAddress = "285212672"
42                    CheckForOverflowUnderflow = "false"
43                    ConfigurationOverrideFile = ""
44                    DefineConstants = "<%foreach(defines common_defines macros)%><%define%>;<%endfor%><%if(!optimize)%>DESIGN;DEBUG;<%endif%><%if(trace)%>TRACE<%endif%>"
45                    DebugSymbols = "<%if(optimize)%>false<%else%>true<%endif%>"
46                    NoWarn = ""
47                    Optimize = "<%if(optimize)%>true<%else%>false<%endif%>"
48 <%if(exename || sharedname || staticname)%>
49                    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%>\"
50 <%endif%>
51                    RegisterForComInterop = "false"
52                    TreatWarningsAsErrors = "false"
53                    WarningLevel = "4"
54                    AdditionalOptions = ""
55                 />
56 <%endfor%>
57             </Settings>
58             <References>
59 <%foreach(libs)%>
60                 <Reference
61                     Name = "<%libname_prefix%><%lib%>"
62                     AssemblyName = "<%libname_prefix%><%lib%>"
63                 />
64 <%endfor%>
65 <%foreach(lib, lit_libs pure_libs)%>
66                 <Reference
67                     Name = "<%lib%>"
68                     AssemblyName = "<%lib%>"
69                 />
70 <%endfor%>
71             </References>
72         </Build>
73         <Files>
74             <Include>
75 <%foreach(source_files)%>
76                         <File
77                                 RelPath = "<%source_file%>"
78                                 SubType = "<%if(flag_overrides(source_file, subtype))%><%flag_overrides(source_file, subtype)%><%else%>Code<%endif%>"
79                                 BuildAction = "Compile"
80                         />
81 <%endfor%>
82 <%foreach(custom_types)%>
83 <%foreach(custom_type->input_files)%>
84                         <File
85                                 RelPath = "<%custom_type->input_file%>"
86 <%if(custom_type->input_file->output_files)%>
87                                 BuildAction = "Compile"
88                                 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%>"
89 <%else%>
90                                 BuildAction = "None"
91 <%endif%>
92                         />
93 <%endfor%>
94 <%endfor%>
95 <%foreach(documentation_files)%>
96                         <File
97                                 RelPath = "<%documentation_file%>"
98                                 BuildAction = "None"
99                         />
100 <%endfor%>
101             </Include>
102         </Files>
103     </VISUALJSHARP>
104 </VisualStudioProject>