aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/SimpleApp.exe.build
blob: aab0826aaa920fb866f7023a93bdedc15858e281 (plain)
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
<?xml version="1.0" ?>
<project name="SimpleApp" default="build">
    <target name="build">
        <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
        <mkdir dir="${project::get-base-directory()}/${build.dir}" />
        <copy todir="${project::get-base-directory()}/${build.dir}">
            <fileset basedir="${project::get-base-directory()}">
            </fileset>
        </copy>
        <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
            <resources prefix="SimpleApp" dynamicprefix="true" >
            </resources>
            <sources failonempty="true">
                <include name="MyWorld.cs" />
                <include name="Program.cs" />
                <include name="Properties/AssemblyInfo.cs" />
            </sources>
            <references basedir="${project::get-base-directory()}">
                <lib>
                    <include name="${project::get-base-directory()}" />
                    <include name="${project::get-base-directory()}/${build.dir}" />
                </lib>
                <include name="../../../../bin/libsecondlife.dll" />
                <include name="../../../../bin/OpenSim.Framework.dll" />
                <include name="../../../../bin/OpenSim.Framework.Communications.dll" />
                <include name="../../../../bin/OpenSim.Framework.Console.dll" />
                <include name="../../../../bin/OpenSim.Framework.Servers.dll" />
                <include name="../../../../bin/OpenSim.Framework.UserManagement.dll" />
                <include name="../../../../bin/OpenSim.Region.Caches.dll" />
                <include name="../../../../bin/OpenSim.Region.ClientStack.dll" />
                <include name="../../../../bin/OpenSim.Region.Communications.Local.dll" />
                <include name="../../../../bin/OpenSim.Region.Environment.dll" />
                <include name="../../../../bin/OpenSim.Region.GridInterfaces.Local.dll" />
                <include name="../../../../bin/OpenSim.Region.Physics.Manager.dll" />
                <include name="System.dll" />
                <include name="System.Data.dll.dll" />
                <include name="System.Xml.dll" />
                <include name="../../../../bin/XMLRPC.dll" />
            </references>
        </csc>
        <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../../bin/" />
        <mkdir dir="${project::get-base-directory()}/../../../../bin/"/>
        <copy todir="${project::get-base-directory()}/../../../../bin/">
            <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
                <include name="*.dll"/>
                <include name="*.exe"/>
            </fileset>
        </copy>
    </target>
    <target name="clean">
        <delete dir="${bin.dir}" failonerror="false" />
        <delete dir="${obj.dir}" failonerror="false" />
    </target>
    <target name="doc" description="Creates documentation.">
    </target>
</project>