Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@@ -25,7 +25,7 @@
<project name="reflect" default="IKVM.Reflection">
<include buildfile="../ikvm.include" />
<target name="IKVM.Reflection">
<target name="properties">
<property name="defs" value="TRACE" />
<if test="${framework::exists('mono-2.0')}">
<property name="defs" value="${defs};MONO" />
@@ -41,6 +41,20 @@
<if test="${framework::exists('mono-2.0')}">
<property name="MonoSymbolWriter" value="${path::combine(framework::get-assembly-directory('mono-2.0'), 'Mono.CompilerServices.SymbolWriter.dll')}" />
</if>
</target>
<target name="CoreCLR" depends="properties">
<property name="CoreCLR" value="true" />
<property name="defs" value="${defs};CORECLR;NO_SYMBOL_WRITER;NO_AUTHENTICODE" />
<call target="compile" />
</target>
<target name="IKVM.Reflection" depends="properties">
<property name="CoreCLR" value="false" />
<call target="compile" />
</target>
<target name="compile">
<csc target="library" output="../bin/IKVM.Reflection.dll" optimize="true" define="${defs}" noconfig="true" nostdlib="true">
<sources>
<include name="../CommonAssemblyInfo.cs" />
@@ -50,6 +64,7 @@
<include name="BadImageFormatException.cs" />
<include name="Binder.cs" />
<include name="ConstructorInfo.cs" />
<include name="coreclr.cs" />
<include name="CustomAttributeData.cs" />
<include name="CustomAttributeNamedArgument.cs" />
<include name="CustomAttributeTypedArgument.cs" />
@@ -107,7 +122,7 @@
<include name="Emit\TypeBuilder.cs" />
<include name="Impl\ITypeOwner.cs" />
<include name="Impl\MdbWriter.cs" />
<include name="Impl\PdbWriter.cs" />
<include name="Impl\PdbWriter.cs" unless="${CoreCLR}" />
<include name="Impl\SymbolSupport.cs" />
<include name="Metadata\CliHeader.cs" />
<include name="Metadata\MetadataRW.cs" />
@@ -138,8 +153,8 @@
<references>
<include if="${framework::exists('mono-2.0')}" name="${MonoSymbolWriter}" />
<include name="${ReferencePath}/mscorlib.dll" />
<include name="${ReferencePath}/System.dll" />
<include name="${ReferencePath}/System.Security.dll" />
<include name="${ReferencePath}/System.dll" unless="${CoreCLR}" />
<include name="${ReferencePath}/System.Security.dll" unless="${CoreCLR}" />
</references>
</csc>
</target>