missed that part
[mcs.git] / class / Mono.WebBrowser / build-csproj2k5
blob6d9973b995687403b7191a0c259b489b85210785
1 #!/bin/bash
3 # This script will generate SWF.cs.target from our System.Windows.Forms.dll.sources
7 exec > Mono.WebBrowser2K5.csproj
9 Source=Mono.WebBrowser.dll.sources
11 dohead()
13 cat <<EOF
14 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
15 <PropertyGroup>
16 <ProjectType>Local</ProjectType>
17 <ProductVersion>8.0.50727</ProductVersion>
18 <SchemaVersion>2.0</SchemaVersion>
19 <ProjectGuid>{5E6C996A-007F-40CE-B244-006EFCFB77D2}</ProjectGuid>
20 <Configuration Condition=" '\$(Configuration)' == '' ">Debug</Configuration>
21 <Platform Condition=" '\$(Platform)' == '' ">AnyCPU</Platform>
22 <ApplicationIcon>
23 </ApplicationIcon>
24 <AssemblyKeyContainerName>
25 </AssemblyKeyContainerName>
26 <AssemblyName>Mono.WebBrowser</AssemblyName>
27 <AssemblyOriginatorKeyFile>
28 </AssemblyOriginatorKeyFile>
29 <DefaultClientScript>JScript</DefaultClientScript>
30 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
31 <DefaultTargetSchema>IE50</DefaultTargetSchema>
32 <DelaySign>false</DelaySign>
33 <OutputType>Library</OutputType>
34 <RootNamespace>Mono.WebBrowser</RootNamespace>
35 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
36 <StartupObject>
37 </StartupObject>
38 <FileUpgradeFlags>
39 </FileUpgradeFlags>
40 <UpgradeBackupLocation>
41 </UpgradeBackupLocation>
42 </PropertyGroup>
43 <PropertyGroup Condition=" '\$(Configuration)|\$(Platform)' == 'Debug|AnyCPU' ">
44 <OutputPath>bin\Debug\</OutputPath>
45 <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
46 <BaseAddress>285212672</BaseAddress>
47 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
48 <ConfigurationOverrideFile>
49 </ConfigurationOverrideFile>
50 <DefineConstants>DEBUG;TRACE</DefineConstants>
51 <DocumentationFile>
52 </DocumentationFile>
53 <DebugSymbols>true</DebugSymbols>
54 <FileAlignment>4096</FileAlignment>
55 <NoStdLib>false</NoStdLib>
56 <NoWarn>
57 </NoWarn>
58 <Optimize>false</Optimize>
59 <RegisterForComInterop>false</RegisterForComInterop>
60 <RemoveIntegerChecks>false</RemoveIntegerChecks>
61 <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
62 <WarningLevel>4</WarningLevel>
63 <DebugType>full</DebugType>
64 <ErrorReport>prompt</ErrorReport>
65 </PropertyGroup>
66 <PropertyGroup Condition=" '\$(Configuration)|\$(Platform)' == 'Release|AnyCPU' ">
67 <OutputPath>bin\Release\</OutputPath>
68 <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
69 <BaseAddress>285212672</BaseAddress>
70 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
71 <ConfigurationOverrideFile>
72 </ConfigurationOverrideFile>
73 <DefineConstants>TRACE</DefineConstants>
74 <DocumentationFile>
75 </DocumentationFile>
76 <DebugSymbols>false</DebugSymbols>
77 <FileAlignment>4096</FileAlignment>
78 <NoStdLib>false</NoStdLib>
79 <NoWarn>
80 </NoWarn>
81 <Optimize>true</Optimize>
82 <RegisterForComInterop>false</RegisterForComInterop>
83 <RemoveIntegerChecks>false</RemoveIntegerChecks>
84 <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
85 <WarningLevel>4</WarningLevel>
86 <DebugType>none</DebugType>
87 <ErrorReport>prompt</ErrorReport>
88 </PropertyGroup>
89 <ItemGroup>
90 <Reference Include="System">
91 <Name>System</Name>
92 </Reference>
93 </ItemGroup>
94 EOF
97 dotail()
99 cat <<EOF
100 <ItemGroup>
101 <None Include="ChangeLog" />
102 <None Include="Mono.WebBrowser.dll.sources" />
103 <None Include="README" />
104 </ItemGroup>
105 <Import Project="\$(MSBuildBinPath)\Microsoft.CSharp.targets" />
106 <PropertyGroup>
107 <PreBuildEvent>
108 </PreBuildEvent>
109 <PostBuildEvent>
110 </PostBuildEvent>
111 </PropertyGroup>
112 </Project>
116 dofilelist()
118 echo " <ItemGroup>"
119 cat $Source | while read SRC; do
120 # Don't do AssemblyInfo, it's got signing requests and such that we don't want
121 if [ "x$SRC" != "xAssembly/AssemblyInfo.cs" -a "x$SRC" != "x../../build/common/Consts.cs" ] ; then
122 SRC=`echo $SRC | sed 's/..\/..\/build\///'`
123 SRC=`echo $SRC | tr '/' '\\\\'`
124 cat <<EOF
125 <Compile Include="$SRC" />
128 done
129 echo " </ItemGroup>"
132 dohead
133 dofilelist
134 dotail