sigar/bindings/dotnet/default.build

44 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2004-06-22 06:37:04 +08:00
<?xml version="1.0"?>
<!-- NAnt build file: http://sourceforge.net/projects/nant/ -->
<project name="SigarSharp" default="build">
<property name="debug" value="true"/>
2004-07-22 05:16:33 +08:00
<property name="build.dir" value="build"/>
<property name="sigarsharp" value="${build.dir}/SigarSharp.dll"/>
2004-06-22 06:37:04 +08:00
2004-07-22 04:41:32 +08:00
<target name="clean">
2004-07-22 05:16:33 +08:00
<delete dir="${build.dir}"/>
2004-07-22 04:41:32 +08:00
</target>
2004-06-22 06:37:04 +08:00
2004-07-22 04:41:32 +08:00
<target name="build-examples">
2004-07-22 05:16:33 +08:00
<nant buildfile="examples/default.build"
inheritall="true">
<properties>
<property name="build.dir" value="../build"/>
<property name="sigarsharp" value="../build/SigarSharp.dll"/>
</properties>
</nant>
2004-07-22 04:41:32 +08:00
</target>
2004-09-23 01:57:17 +08:00
<target name="run-examples">
<nant buildfile="examples/default.build"
inheritall="true" target="run">
<properties>
<property name="build.dir" value="../build"/>
<property name="sigarsharp" value="../build/SigarSharp.dll"/>
</properties>
</nant>
</target>
2004-07-22 04:41:32 +08:00
<target name="build" description="Build C# Sigar bindings">
2004-07-22 05:16:33 +08:00
<mkdir dir="${build.dir}"/>
2004-07-22 04:41:32 +08:00
2004-07-22 05:16:33 +08:00
<csc target="library" debug="${debug}"
output="${sigarsharp}">
2004-06-22 06:37:04 +08:00
<sources>
<include name="src/Sigar.cs"/>
2004-06-22 06:37:04 +08:00
</sources>
</csc>
</target>
</project>