Rev 1122 | 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="${build.dir}/tcpproxy.exe" debug="${debug}">
<sources>
<include name="*.cs" />
</sources>
<resources>
<include name="*.resx" />
</resources>
</csc>
</target>
<target name="run" depends="build">
<exec program="tcpproxy.exe" basedir="${build.dir}" />
</target>
<target name="all" depends="clean,build" />
</project>