-
Notifications
You must be signed in to change notification settings - Fork 1
/
HuntTheWumpus.build
38 lines (32 loc) · 1.21 KB
/
HuntTheWumpus.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0"?>
<project name="HuntTheTerorist" default="build" basedir=".">
<description>NAnt build file for Book example</description>
<property name="debug" value="true" overwrite="false"/>
<property name="build.dir" value="."/>
<include buildfile="../include/NUnit.include" />
<target name="clean" description="remove all generated files">
<delete>
<fileset>
<include name="${build.dir}/**/*.exe"/>
<include name="${build.dir}/**/*.pdb"/>
<include name="${build.dir}/**/*.mdb"/>
</fileset>
</delete>
</target>
<target name="build" description="compiles the source code">
<mkdir dir="${build.dir}" failonerror="false"/>
<csc target="exe" output="${build.dir}/HuntTheTerroristServer.exe" debug="${debug}">
<sources>
<include name="HuntTheTerroristServer.cs"/>
<include name="Player.cs"/>
<include name="Terrorist.cs"/>
<include name="Room.cs"/>
<include name="Hostage.cs"/>
<include name="../intro_cs_lib/**/*.cs"/>
</sources>
<references>
<include name="${nunit.dir}/**/${nunit.dll}"/>
</references>
</csc>
</target>
</project>