Subversion Repositories general

Rev

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

<?xml version="1.0" ?>
<project name="TCPproxy" default="build">
    <property name="debug" value="true"/>
    <property name="build.dir" value="bin"/>

    <target name="clean" description="cleans build directory">
        <delete dir="${build.dir}" verbose="true" if="${directory::exists(build.dir)}" />
    </target>

    <target name="build">
        <mkdir dir="${build.dir}"/>
        <csc target="winexe" output="bin/tcpproxy.exe" debug="${debug}">
            <sources>
                <include name="*.cs" />
            </sources>
        </csc>
    </target>

    <target name="run" depends="build">
        <exec program="tcpproxy.exe" basedir="${build.dir}" />
    </target>

    <target name="all" depends="clean,build" />
</project>