Subversion Repositories general

Rev

Rev 1092 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1092 Rev 1122
1
<?xml version="1.0" ?>
1
<?xml version="1.0" ?>
2
<project name="TCPproxy" default="build">
2
<project name="TCPproxy" default="build">
3
    <property name="debug" value="true"/>
3
    <property name="debug" value="true"/>
4
    <property name="build.dir" value="bin"/>
4
    <property name="build.dir" value="bin"/>
5
 
5
 
6
    <target name="clean" description="cleans build directory">
6
    <target name="clean" description="cleans build directory">
7
        <delete dir="${build.dir}" verbose="true" if="${directory::exists(build.dir)}" />
7
        <delete dir="${build.dir}" verbose="true" if="${directory::exists(build.dir)}" />
8
    </target>
8
    </target>
9
 
9
 
10
    <target name="build">
10
    <target name="build">
11
        <mkdir dir="${build.dir}"/>
11
        <mkdir dir="${build.dir}"/>
12
        <csc target="winexe" output="bin/tcpproxy.exe" debug="${debug}">
12
        <csc target="winexe" output="bin/tcpproxy.exe" debug="${debug}">
13
            <sources>
13
            <sources>
14
                <include name="src/*.cs" />
14
                <include name="*.cs" />
15
            </sources>
15
            </sources>
16
        </csc>
16
        </csc>
17
    </target>
17
    </target>
18
 
18
 
19
    <target name="run" depends="build">
19
    <target name="run" depends="build">
20
        <exec program="tcpproxy.exe" basedir="${build.dir}" />
20
        <exec program="tcpproxy.exe" basedir="${build.dir}" />
21
    </target>
21
    </target>
22
 
22
 
23
    <target name="all" depends="clean,build" />
23
    <target name="all" depends="clean,build" />
24
</project>
24
</project>