2007-05-16 17:51:28 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<project name="OpenSim.Physics.PhysXPlugin" default="build">
|
|
|
|
<target name="build">
|
|
|
|
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
|
|
|
|
<mkdir dir="${project::get-base-directory()}/${build.dir}" />
|
|
|
|
<copy todir="${project::get-base-directory()}/${build.dir}">
|
|
|
|
<fileset basedir="${project::get-base-directory()}">
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
|
|
|
|
<resources prefix="OpenSim.Physics.PhysXPlugin" dynamicprefix="true" >
|
|
|
|
</resources>
|
|
|
|
<sources failonempty="true">
|
|
|
|
<include name="AssemblyInfo.cs" />
|
|
|
|
<include name="PhysXPlugin.cs" />
|
|
|
|
</sources>
|
|
|
|
<references basedir="${project::get-base-directory()}">
|
|
|
|
<lib>
|
|
|
|
<include name="${project::get-base-directory()}" />
|
|
|
|
<include name="${project::get-base-directory()}/${build.dir}" />
|
|
|
|
</lib>
|
|
|
|
<include name="System.dll" />
|
|
|
|
<include name="../../bin/Axiom.MathLib.dll" />
|
|
|
|
<include name="../../bin/PhysX_Wrapper_Dotnet.dll" />
|
|
|
|
<include name="../../bin/OpenSim.Physics.Manager.dll" />
|
|
|
|
</references>
|
|
|
|
</csc>
|
|
|
|
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" />
|
|
|
|
<mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/>
|
|
|
|
<copy todir="${project::get-base-directory()}/../../bin/Physics/">
|
|
|
|
<fileset basedir="${project::get-base-directory()}/${build.dir}/" >
|
|
|
|
<include name="*.dll"/>
|
|
|
|
<include name="*.exe"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="${bin.dir}" failonerror="false" />
|
|
|
|
<delete dir="${obj.dir}" failonerror="false" />
|
|
|
|
</target>
|
|
|
|
<target name="doc" description="Creates documentation.">
|
|
|
|
</target>
|
|
|
|
</project>
|