summaryrefslogtreecommitdiff
blob: 5933831580c6b4a6ad8416f16784e14784368b08 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>

<project name="Nini" default="compile" basedir=".">
   <description>.NET Configuration Library</description>

   <property name="debug" value="false" overwrite="false"/>
   <property name="project.name" value="Nini"/>

   <property name="build" value="build"/>
   <property name="src" value="Source"/>

   <target name="init">
      <mkdir dir="${build}" if="${not directory::exists(build)}"/>
   </target>

   <target name="compile" depends="init">
      <csc target="library" output="${build}/${project.name}.dll" debug="${debug}">
         <references>
            <include name="System.dll"/>
            <include name="System.Xml.dll"/>
         </references>

         <sources>
            <include name="${src}/AssemblyInfo.cs"/>

            <include name="${src}/Ini/IniDocument.cs"/>
            <include name="${src}/Ini/IniReader.cs"/>
            <include name="${src}/Ini/IniWriter.cs"/>
            <include name="${src}/Ini/IniException.cs"/>
            <include name="${src}/Ini/IniSectionCollection.cs"/>
            <include name="${src}/Ini/IniSection.cs"/>
            <include name="${src}/Ini/IniItem.cs"/>

            <include name="${src}/Config/ArgvConfigSource.cs"/>
            <include name="${src}/Config/ConfigBase.cs"/>
            <include name="${src}/Config/ConfigSourceBase.cs"/>
            <include name="${src}/Config/IniConfigSource.cs"/>
            <include name="${src}/Config/DotNetConfigSource.cs"/>
            <include name="${src}/Config/XmlConfigSource.cs"/>
            <include name="${src}/Config/AliasText.cs"/>
            <include name="${src}/Config/IConfig.cs"/>
            <include name="${src}/Config/IConfigSource.cs"/>
            <include name="${src}/Config/ConfigCollection.cs"/>

            <include name="${src}/Util/ArgvParser.cs"/>
            <include name="${src}/Util/OrderedList.cs"/>
            <include name="${src}/Util/OrderedListEnumerator.cs"/>
         </sources>
      </csc>
   </target>

   <target name="clean">
      <delete dir="${build}" if="${directory::exists(build)}"/>
   </target>
</project>