aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/opensim.build
diff options
context:
space:
mode:
authorgareth2007-03-07 19:07:00 +0000
committergareth2007-03-07 19:07:00 +0000
commit2159b3079ec8df2a7337a9d4ea54810b7028c4e1 (patch)
tree5473123011f7a302e63f89ec6ccb4477032fd1db /opensim.build
parentImported branch (diff)
downloadopensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.zip
opensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.tar.gz
opensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.tar.bz2
opensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.tar.xz
fixed last screwup
Diffstat (limited to 'opensim.build')
-rw-r--r--opensim.build80
1 files changed, 80 insertions, 0 deletions
diff --git a/opensim.build b/opensim.build
new file mode 100644
index 0000000..279f836
--- /dev/null
+++ b/opensim.build
@@ -0,0 +1,80 @@
1<?xml version="1.0"?>
2 <project name="OpenSim" default="build" basedir=".">
3 <description>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
41 <nant>
42 <buildfiles>
43 <include name="src/GridInterfaces/default.build" />
44 <include name="src/ServerConsole/default.build" />
45 <include name="src/LocalServers/default.build" />
46 <include name="src/RemoteServers/default.build" />
47 <include name="src/physics/default.build" />
48 <include name="src/physics/plugins/default.build" />
49 </buildfiles>
50 </nant>
51
52 <csc target="exe" output="bin/OpenSim.exe" debug="${debug}" verbose="true" warninglevel="4">
53 <references basedir="bin/" failonempty="true">
54 <include name="System" />
55 <include name="System.Data" />
56 <include name="System.Xml" />
57 <include name="Axiom.MathLib.dll" />
58 <include name="libsecondlife.dll" />
59 <include name="log4net.dll" />
60 <include name="Db4objects.Db4o.dll" />
61 <include name="ServerConsole.dll" />
62 <include name="GridInterfaces.dll" />
63 <include name="PhysicsManager.dll" />
64 </references>
65 <sources basedir="src/">
66 <include name="*.cs" />
67 <include name="types/*.cs" />
68 <include name="world/*.cs" />
69 <include name="GridServers/*.cs" />
70 <include name="Assets/*.cs" />
71 </sources>
72 </csc>
73
74 <nant>
75 <buildfiles>
76 <include name="src/Config/default.build" />
77 </buildfiles>
78 </nant>
79 </target>
80</project>