diff options
author | MW | 2007-06-28 13:13:17 +0000 |
---|---|---|
committer | MW | 2007-06-28 13:13:17 +0000 |
commit | 3456d951d89fbc83f742d40ca8ca2a1a79d414eb (patch) | |
tree | cc5a53b8edd4ac4cc99e6178fb70c98672f3c168 /OpenSim.build | |
parent | should now work. (diff) | |
download | opensim-SC_OLD-3456d951d89fbc83f742d40ca8ca2a1a79d414eb.zip opensim-SC_OLD-3456d951d89fbc83f742d40ca8ca2a1a79d414eb.tar.gz opensim-SC_OLD-3456d951d89fbc83f742d40ca8ca2a1a79d414eb.tar.bz2 opensim-SC_OLD-3456d951d89fbc83f742d40ca8ca2a1a79d414eb.tar.xz |
Imported the scripting changes, so now should be up to date with sugilite.
Diffstat (limited to '')
-rw-r--r-- | OpenSim.build | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/OpenSim.build b/OpenSim.build new file mode 100644 index 0000000..5803b42 --- /dev/null +++ b/OpenSim.build | |||
@@ -0,0 +1,142 @@ | |||
1 | <?xml version="1.0" ?> | ||
2 | <project name="OpenSim" default="build"> | ||
3 | <echo message="Using '${nant.settings.currentframework}' Framework"/> | ||
4 | |||
5 | <property name="bin.dir" value="bin" /> | ||
6 | <property name="obj.dir" value="obj" /> | ||
7 | <property name="doc.dir" value="doc" /> | ||
8 | <property name="project.main.dir" value="${project::get-base-directory()}" /> | ||
9 | |||
10 | <target name="Debug" description=""> | ||
11 | <property name="project.config" value="Debug" /> | ||
12 | <property name="build.debug" value="true" /> | ||
13 | </target> | ||
14 | |||
15 | <property name="project.config" value="Release" /> | ||
16 | |||
17 | <target name="Release" description=""> | ||
18 | <property name="project.config" value="Release" /> | ||
19 | <property name="build.debug" value="false" /> | ||
20 | </target> | ||
21 | |||
22 | <target name="net-1.1" description="Sets framework to .NET 1.1"> | ||
23 | <property name="nant.settings.currentframework" value="net-1.1" /> | ||
24 | </target> | ||
25 | |||
26 | <target name="net-2.0" description="Sets framework to .NET 2.0"> | ||
27 | <property name="nant.settings.currentframework" value="net-2.0" /> | ||
28 | </target> | ||
29 | |||
30 | <target name="mono-2.0" description="Sets framework to mono 2.0"> | ||
31 | <property name="nant.settings.currentframework" value="mono-2.0" /> | ||
32 | </target> | ||
33 | |||
34 | <target name="mono-1.0" description="Sets framework to mono 1.0"> | ||
35 | <property name="nant.settings.currentframework" value="mono-1.0" /> | ||
36 | </target> | ||
37 | |||
38 | <target name="init" description=""> | ||
39 | <call target="${project.config}" /> | ||
40 | <sysinfo /> | ||
41 | <echo message="Platform ${sys.os.platform}" /> | ||
42 | <property name="build.dir" value="${bin.dir}/${project.config}" /> | ||
43 | </target> | ||
44 | |||
45 | <target name="clean" description=""> | ||
46 | <echo message="Deleting all builds from all configurations" /> | ||
47 | <delete dir="${bin.dir}" failonerror="false" /> | ||
48 | <delete dir="${obj.dir}" failonerror="false" /> | ||
49 | <nant buildfile="OpenSim/Region/Application/OpenSim.exe.build" target="clean" /> | ||
50 | <nant buildfile="OpenSim/Framework/General/OpenSim.Framework.dll.build" target="clean" /> | ||
51 | <nant buildfile="OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build" target="clean" /> | ||
52 | <nant buildfile="OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build" target="clean" /> | ||
53 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="clean" /> | ||
54 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="clean" /> | ||
55 | <nant buildfile="OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build" target="clean" /> | ||
56 | <nant buildfile="OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build" target="clean" /> | ||
57 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="clean" /> | ||
58 | <nant buildfile="OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build" target="clean" /> | ||
59 | <nant buildfile="OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build" target="clean" /> | ||
60 | <nant buildfile="OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build" target="clean" /> | ||
61 | <nant buildfile="OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build" target="clean" /> | ||
62 | <nant buildfile="OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build" target="clean" /> | ||
63 | <nant buildfile="OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build" target="clean" /> | ||
64 | <nant buildfile="OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build" target="clean" /> | ||
65 | <nant buildfile="OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build" target="clean" /> | ||
66 | <nant buildfile="OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build" target="clean" /> | ||
67 | <nant buildfile="OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build" target="clean" /> | ||
68 | <nant buildfile="OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build" target="clean" /> | ||
69 | <nant buildfile="OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build" target="clean" /> | ||
70 | <nant buildfile="OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build" target="clean" /> | ||
71 | <nant buildfile="OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build" target="clean" /> | ||
72 | <nant buildfile="OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build" target="clean" /> | ||
73 | <nant buildfile="OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build" target="clean" /> | ||
74 | <nant buildfile="OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build" target="clean" /> | ||
75 | </target> | ||
76 | |||
77 | <target name="build" depends="init" description=""> | ||
78 | <nant buildfile="OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build" target="build" /> | ||
79 | <nant buildfile="OpenSim/Framework/General/OpenSim.Framework.dll.build" target="build" /> | ||
80 | <nant buildfile="OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build" target="build" /> | ||
81 | <nant buildfile="OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build" target="build" /> | ||
82 | <nant buildfile="OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build" target="build" /> | ||
83 | <nant buildfile="OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build" target="build" /> | ||
84 | <nant buildfile="OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build" target="build" /> | ||
85 | <nant buildfile="OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build" target="build" /> | ||
86 | <nant buildfile="OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build" target="build" /> | ||
87 | <nant buildfile="OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build" target="build" /> | ||
88 | <nant buildfile="OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build" target="build" /> | ||
89 | <nant buildfile="OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build" target="build" /> | ||
90 | <nant buildfile="OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build" target="build" /> | ||
91 | <nant buildfile="OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build" target="build" /> | ||
92 | <nant buildfile="OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build" target="build" /> | ||
93 | <nant buildfile="OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build" target="build" /> | ||
94 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="build" /> | ||
95 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="build" /> | ||
96 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="build" /> | ||
97 | <nant buildfile="OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build" target="build" /> | ||
98 | <nant buildfile="OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build" target="build" /> | ||
99 | <nant buildfile="OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build" target="build" /> | ||
100 | <nant buildfile="OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build" target="build" /> | ||
101 | <nant buildfile="OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build" target="build" /> | ||
102 | <nant buildfile="OpenSim/Region/Application/OpenSim.exe.build" target="build" /> | ||
103 | <nant buildfile="OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build" target="build" /> | ||
104 | </target> | ||
105 | |||
106 | <target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> | ||
107 | |||
108 | <target name="build-debug" depends="Debug, init, build" description="Builds in Debug mode" /> | ||
109 | |||
110 | <target name="package" depends="clean, doc" description="Builds all" /> | ||
111 | |||
112 | <target name="doc" depends="build-release"> | ||
113 | <echo message="Generating all documentation from all builds" /> | ||
114 | <nant buildfile="OpenSim/Region/Application/OpenSim.exe.build" target="doc" /> | ||
115 | <nant buildfile="OpenSim/Framework/General/OpenSim.Framework.dll.build" target="doc" /> | ||
116 | <nant buildfile="OpenSim/Framework/Communications/OpenSim.Framework.Communications.dll.build" target="doc" /> | ||
117 | <nant buildfile="OpenSim/Framework/Console/OpenSim.Framework.Console.dll.build" target="doc" /> | ||
118 | <nant buildfile="OpenSim/Framework/Data/OpenSim.Framework.Data.dll.build" target="doc" /> | ||
119 | <nant buildfile="OpenSim/Framework/Data.DB4o/OpenSim.Framework.Data.DB4o.dll.build" target="doc" /> | ||
120 | <nant buildfile="OpenSim/Framework/GenericConfig/Xml/OpenSim.Framework.GenericConfig.Xml.dll.build" target="doc" /> | ||
121 | <nant buildfile="OpenSim/Framework/Servers/OpenSim.Framework.Servers.dll.build" target="doc" /> | ||
122 | <nant buildfile="OpenSim/Framework/UserManager/OpenSim.Framework.UserManagement.dll.build" target="doc" /> | ||
123 | <nant buildfile="OpenSim/Region/Caches/OpenSim.Region.Caches.dll.build" target="doc" /> | ||
124 | <nant buildfile="OpenSim/Region/Capabilities/OpenSim.Region.Capabilities.dll.build" target="doc" /> | ||
125 | <nant buildfile="OpenSim/Region/ClientStack/OpenSim.Region.ClientStack.dll.build" target="doc" /> | ||
126 | <nant buildfile="OpenSim/Region/Communications/Local/OpenSim.Region.Communications.Local.dll.build" target="doc" /> | ||
127 | <nant buildfile="OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build" target="doc" /> | ||
128 | <nant buildfile="OpenSim/Region/Environment/OpenSim.Region.Environment.dll.build" target="doc" /> | ||
129 | <nant buildfile="OpenSim/Region/GridInterfaces/Local/OpenSim.Region.GridInterfaces.Local.dll.build" target="doc" /> | ||
130 | <nant buildfile="OpenSim/Region/GridInterfaces/Remote/OpenSim.Region.GridInterfaces.Remote.dll.build" target="doc" /> | ||
131 | <nant buildfile="OpenSim/Region/Physics/BasicPhysicsPlugin/OpenSim.Region.Physics.BasicPhysicsPlugin.dll.build" target="doc" /> | ||
132 | <nant buildfile="OpenSim/Region/Physics/Manager/OpenSim.Region.Physics.Manager.dll.build" target="doc" /> | ||
133 | <nant buildfile="OpenSim/Region/Physics/OdePlugin/OpenSim.Region.Physics.OdePlugin.dll.build" target="doc" /> | ||
134 | <nant buildfile="OpenSim/Region/Physics/PhysXPlugin/OpenSim.Region.Physics.PhysXPlugin.dll.build" target="doc" /> | ||
135 | <nant buildfile="OpenSim/Region/Storage/LocalStorageBerkeleyDB/OpenSim.Region.Storage.LocalStorageBerkeleyDB.dll.build" target="doc" /> | ||
136 | <nant buildfile="OpenSim/Region/Storage/LocalStorageDb4o/OpenSim.Region.Storage.LocalStorageDb4o.dll.build" target="doc" /> | ||
137 | <nant buildfile="OpenSim/Region/Storage/LocalStorageSQLite/OpenSim.Region.Storage.LocalStorageSQLite.dll.build" target="doc" /> | ||
138 | <nant buildfile="OpenSim/Region/Terrain.BasicTerrain/OpenSim.Region.Terrain.BasicTerrain.dll.build" target="doc" /> | ||
139 | <nant buildfile="OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build" target="doc" /> | ||
140 | </target> | ||
141 | |||
142 | </project> | ||