forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pythonnet.build
74 lines (58 loc) · 1.7 KB
/
pythonnet.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0"?>
<project name="Python for .NET" default="build-2.0" basedir=".">
<property name="project.name" value="pythonnet"/>
<target name="build-1.0">
<property name="project.version" value="1.0.0"/>
<echo message="Building ${project.name}-${project.version}"/>
</target>
<target name="build-2.0" depends="runtime, console, testdll, clrmodule,
oldmodule">
<property name="project.version" value="2.0.0"/>
<echo message="Building ${project.name}-${project.version}"/>
</target>
<target name="test">
</target>
<target name="console" depends="runtime" >
<csc target="exe" output="./python.exe" >
<references>
<include name="python.runtime.dll" />
</references>
<sources>
<include name="src/console/*.cs" />
</sources>
</csc>
</target>
<target name="runtime">
<csc target="library" output="python.runtime.dll" unsafe="true">
<sources>
<include name="src/runtime/*.cs" />
</sources>
</csc>
</target>
<target name="testdll">
<csc target="library" output="python.test.dll">
<references>
<include name="python.runtime.dll" />
</references>
<sources>
<include name="src/testing/*.cs" />
</sources>
</csc>
</target>
<target name="oldmodule">
<ilasm target="dll" output="CLR.dll">
<sources>
<include name="src/runtime/oldmodule.il" />
</sources>
</ilasm>
</target>
<target name="clrmodule">
<ilasm target="dll" output="clr.dll">
<sources>
<include name="src/runtime/clrmodule.il" />
</sources>
</ilasm>
</target>
<target name="dist">
</target>
</project>