sigar/bindings/dotnet/default.build

36 lines
951 B
Plaintext
Raw 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>
<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}"
unsafe="true"
2004-07-22 05:16:33 +08:00
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>