Subversion Repositories general

Rev

Rev 1092 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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