Subversion Repositories general

Rev

Rev 1122 | 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}"/>
1202 dev 12
        <csc target="winexe" output="${build.dir}/tcpproxy.exe" debug="${debug}">
1092 dev 13
            <sources>
1122 dev 14
                <include name="*.cs" />
1092 dev 15
            </sources>
1202 dev 16
            <resources>
17
                <include name="*.resx" />
18
            </resources>
1092 dev 19
        </csc>
20
    </target>
21
 
22
    <target name="run" depends="build">
23
        <exec program="tcpproxy.exe" basedir="${build.dir}" />
24
    </target>
25
 
26
    <target name="all" depends="clean,build" />
27
</project>