diff options
Diffstat (limited to '')
-rw-r--r-- | opensim.build | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/opensim.build b/opensim.build new file mode 100644 index 0000000..d91e748 --- /dev/null +++ b/opensim.build | |||
@@ -0,0 +1,62 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <project name="OpenSim" default="build" basedir="."> | ||
3 | <description>First nant buildfile for OpenSim</description> | ||
4 | <property name="debug" value="true" overwrite="false" /> | ||
5 | <target name="clean" description="remove all generated files"> | ||
6 | <delete file="bin/OpenSim.exe" failonerror="false" /> | ||
7 | <delete file="bin/OpenSim.pdb" failonerror="false" /> | ||
8 | </target> | ||
9 | |||
10 | <target name="svnupdate" description="updates to latest SVN"> | ||
11 | <exec program="svn"> | ||
12 | <arg value="update" /> | ||
13 | </exec> | ||
14 | </target> | ||
15 | |||
16 | <target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build"> | ||
17 | |||
18 | </target> | ||
19 | |||
20 | <target name="build" description="compiles the source code"> | ||
21 | |||
22 | <exec program="genvers.sh" /> | ||
23 | <loadfile file="VERSION" property="svnver"/> | ||
24 | |||
25 | <asminfo output="src/AssemblyInfo.cs" language="CSharp"> | ||
26 | <imports> | ||
27 | <import namespace="System" /> | ||
28 | <import namespace="System.Reflection" /> | ||
29 | <import namespace="System.Runtime.InteropServices" /> | ||
30 | </imports> | ||
31 | <attributes> | ||
32 | <attribute type="ComVisibleAttribute" value="false" /> | ||
33 | <attribute type="CLSCompliantAttribute" value="false" /> | ||
34 | <attribute type="AssemblyVersionAttribute" value="${svnver}" /> | ||
35 | <attribute type="AssemblyTitleAttribute" value="opensim" /> | ||
36 | <attribute type="AssemblyDescriptionAttribute" value="The C# implementation of the simulator portion of OGS" /> | ||
37 | <attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/> | ||
38 | </attributes> | ||
39 | </asminfo> | ||
40 | <csc target="exe" output="bin/OpenSim.exe" debug="${debug}" verbose="true"> | ||
41 | <references basedir="bin/" failonempty="true"> | ||
42 | <include name="System" /> | ||
43 | <include name="System.Data" /> | ||
44 | <include name="System.Xml" /> | ||
45 | <include name="Axiom.MathLib.dll" /> | ||
46 | <include name="libsecondlife.dll" /> | ||
47 | <include name="log4net.dll" /> | ||
48 | <include name="Db4objects.Db4o.dll" /> | ||
49 | </references> | ||
50 | <sources basedir="src/"> | ||
51 | <include name="AssemblyInfo.cs" /> | ||
52 | <include name="Config.cs" /> | ||
53 | <include name="VersionInfo.cs" /> | ||
54 | <include name="Util.cs" /> | ||
55 | <include name="types/*.cs" /> | ||
56 | <include name="world/*.cs" /> | ||
57 | <include name="OpenSimClient.cs" /> | ||
58 | <include name="Main.cs" /> | ||
59 | </sources> | ||
60 | </csc> | ||
61 | </target> | ||
62 | </project> | ||