1
0

OpenSim.Framework.Console.dll.build 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" ?>
  2. <project name="OpenSim.Framework.Console" default="build">
  3. <target name="build">
  4. <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
  5. <mkdir dir="${project::get-base-directory()}/${build.dir}" />
  6. <copy todir="${project::get-base-directory()}/${build.dir}">
  7. <fileset basedir="${project::get-base-directory()}">
  8. </fileset>
  9. </copy>
  10. <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
  11. <resources prefix="OpenSim.Framework.Console" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="AssemblyInfo.cs" />
  15. <include name="ConsoleBase.cs" />
  16. <include name="ConsoleCallbacksBase.cs" />
  17. <include name="MainConsole.cs" />
  18. </sources>
  19. <references basedir="${project::get-base-directory()}">
  20. <lib>
  21. <include name="${project::get-base-directory()}" />
  22. <include name="${project::get-base-directory()}/${build.dir}" />
  23. </lib>
  24. <include name="System.dll" />
  25. </references>
  26. </csc>
  27. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
  28. <mkdir dir="${project::get-base-directory()}/../bin/"/>
  29. <copy todir="${project::get-base-directory()}/../bin/">
  30. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  31. <include name="*.dll"/>
  32. <include name="*.exe"/>
  33. </fileset>
  34. </copy>
  35. </target>
  36. <target name="clean">
  37. <delete dir="${bin.dir}" failonerror="false" />
  38. <delete dir="${obj.dir}" failonerror="false" />
  39. </target>
  40. <target name="doc" description="Creates documentation.">
  41. </target>
  42. </project>