-
Notifications
You must be signed in to change notification settings - Fork 3
/
prebuild.xml
80 lines (71 loc) · 2.89 KB
/
prebuild.xml
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
75
76
77
78
79
80
<?xml version="1.0" ?>
<!--
****[ NOTES ]****
Our dll name comes from the name="ExampleModule" here in the Project.
We make the path from our base directory to the directory our *cs files
are placed in.
-->
<Project frameworkVersion="v4_0" name="ExampleSharedModule" path="addon-modules/ExampleSharedRegionModule/Src" type="Library">
<!-- ****[ NOTE ]****
Our configuration definitions.
When developing, testing and debugging we want the Debug
configuration, which is default.
When we have certified the application and are ready to deploy,
we want to build in the Release configuration ...
xbuild /p:Configuration=Release
or
nant build Release
An IDE will have methods to switch build modes.
-->
<Configuration name="Debug">
<Options>
<!-- ****[ NOTE ]****
The path from our *.cs files to the place our dll will live
-->
<OutputPath>../../../bin/</OutputPath>
</Options>
</Configuration>
<Configuration name="Release">
<Options>
<OutputPath>../../../bin/</OutputPath>
</Options>
</Configuration>
<ReferencePath>../../../bin/</ReferencePath>
<Reference name="System"/>
<Reference name="System.Xml"/>
<!-- ****[ NOTE ]****
This is a reference to an assembly in the system...
-->
<Reference name="System.Web"/>
<Reference name="OpenMetaverse" path="../../../bin/"/>
<Reference name="OpenMetaverseTypes" path="../../../bin/"/>
<!-- ****[ NOTE ]****
When we reference an assembly that is not one of our projects,
it should look like the line below. Some build systems
will work with the old way, but not xbuild (the official
mono build system) or Monodevelop. So, if you want to
distribute your module, or you are making one for core
please use the new format so it will not break modern
build systems.
-->
<Reference name="OpenMetaverse.StructuredData" path="../../../bin/"/>
<!-- ****[ NOTE ]****
This is one of our internal projects that we build...
-->
<Reference name="OpenSim.Framework"/>
<Reference name="OpenSim.Framework.Communications"/>
<Reference name="OpenSim.Framework.Servers"/>
<Reference name="OpenSim.Framework.Servers.HttpServer"/>
<Reference name="OpenSim.Framework.Serialization"/>
<Reference name="OpenSim.Framework.Console"/>
<Reference name="OpenSim.Region.Framework"/>
<Reference name="OpenSim.Region.CoreModules" />
<Reference name="XMLRPC" path="../../../bin/"/>
<Reference name="Nini" path="../../../bin/"/>
<Reference name="log4net" path="../../../bin/"/>
<Reference name="Mono.Addins" path="../../../bin/"/>
<Files>
<Match pattern="*.cs" recurse="true">
</Match>
</Files>
</Project>