aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ExportBot/TestClient.build
diff options
context:
space:
mode:
Diffstat (limited to 'ExportBot/TestClient.build')
-rw-r--r--ExportBot/TestClient.build125
1 files changed, 0 insertions, 125 deletions
diff --git a/ExportBot/TestClient.build b/ExportBot/TestClient.build
deleted file mode 100644
index 803377b..0000000
--- a/ExportBot/TestClient.build
+++ /dev/null
@@ -1,125 +0,0 @@
1<?xml version="1.0"?>
2
3<project
4 name="libsecondlife"
5 default="build">
6
7 <!-- global framework settings -->
8 <property
9 name="target.framework"
10 value="${framework::get-target-framework()}" />
11 <property
12 name="assembly.dir"
13 value="${framework::get-assembly-directory(target.framework)}" />
14
15 <!-- global project settings -->
16 <xmlpeek
17 file="../../../libsecondlife.build"
18 xpath="/project/property[@name = 'project.version']/@value"
19 property="project.version" />
20 <property
21 name="build.number"
22 value="${math::abs(math::floor(timespan::get-total-days(datetime::now()
23 - datetime::parse('01/01/2002'))))}" />
24 <property
25 name="assembly"
26 value="TestClient"/>
27 <property
28 name="bin_dir"
29 value="../../../bin" />
30
31 <!-- default configuration -->
32 <property
33 name="project.config"
34 value="debug" /> <!-- debug|release -->
35
36 <!-- named configurations -->
37 <target
38 name="init"
39 description="Initializes build properties">
40 <call target="${project.config}" />
41 </target>
42
43 <target
44 name="debug"
45 description="configures a debug build">
46 <property
47 name="build.debug"
48 value="true" />
49 <property
50 name="package.name"
51 value="${project::get-name()}-${project.version}-${project.config}" />
52 <property
53 name="assembly.configuration"
54 value="${framework::get-target-framework()}.${platform::get-name()} [${project.config}]" />
55 </target>
56
57 <target
58 name="release"
59 description="configures a release build">
60 <property
61 name="project.config"
62 value="release" />
63 <property
64 name="build.debug"
65 value="false" />
66 <property
67 name="package.name"
68 value="${project::get-name()}-${project.version}" />
69 <property
70 name="assembly.configuration"
71 value="${framework::get-target-framework()}.${platform::get-name()}" />
72 </target>
73
74 <!-- build tasks -->
75 <target
76 name="build"
77 depends="init"
78 description="Builds the binaries for the current configuration">
79 <echo message="Build Directory is ${bin_dir}/" />
80 <mkdir
81 dir="${bin_dir}"
82 failonerror="false" />
83 <csc
84 target="exe"
85 debug="${build.debug}"
86 output="${bin_dir}/${assembly}.exe">
87 <sources failonempty="true">
88 <include name="*.cs" />
89 <include name="Commands/**.cs" />
90 <exclude name="Commands/Communication/TtsCommand.cs" />
91 </sources>
92 <references basedir="${bin_dir}/">
93 <include name="libsecondlife.dll"/>
94 <include name="openjpegnet.dll"/>
95 </references>
96 </csc>
97 </target>
98
99 <target
100 name="build-dll"
101 description="Builds libsecondlife dll">
102 <nant
103 buildfile="../../libsecondlife-cs/libsecondlife.build"
104 target="${project.config} build"/>
105 </target>
106
107 <target
108 name="clean"
109 depends="init"
110 description="Deletes the current configuration">
111 <delete failonerror="false">
112 <fileset basedir="${bin_dir}/">
113 <include name="${assembly}.exe" />
114 <include name="${assembly}.pdb" />
115 <include name="**/${assembly}.*.resources" />
116 </fileset>
117 </delete>
118 </target>
119
120 <target
121 name="*"
122 description="Handles unknown targets">
123 <echo message="skip" />
124 </target>
125</project>