OpenSim.exe.build 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" ?>
  2. <project name="OpenSim" 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="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
  11. <resources prefix="OpenSim" dynamicprefix="true" >
  12. </resources>
  13. <sources failonempty="true">
  14. <include name="AgentAssetUpload.cs" />
  15. <include name="Grid.cs" />
  16. <include name="OpenSimApplication.cs" />
  17. <include name="OpenSimMain.cs" />
  18. <include name="OpenSimRoot.cs" />
  19. <include name="QueItem.cs" />
  20. <include name="SimClient.cs" />
  21. <include name="SimConsole.cs" />
  22. <include name="VersionInfo.cs" />
  23. <include name="Assets/AssetCache.cs" />
  24. <include name="Assets/InventoryCache.cs" />
  25. <include name="CAPS/SimHttp.cs" />
  26. <include name="types/Mesh.cs" />
  27. <include name="types/Triangle.cs" />
  28. <include name="UserServer/LocalUserProfileManager.cs" />
  29. <include name="UserServer/LoginServer.cs" />
  30. <include name="world/Avatar.cs" />
  31. <include name="world/AvatarAnimations.cs" />
  32. <include name="world/Entity.cs" />
  33. <include name="world/Primitive.cs" />
  34. <include name="world/ScriptEngine.cs" />
  35. <include name="world/SurfacePatch.cs" />
  36. <include name="world/World.cs" />
  37. <include name="world/scripting/IScript.cs" />
  38. </sources>
  39. <references basedir="${project::get-base-directory()}">
  40. <lib>
  41. <include name="${project::get-base-directory()}" />
  42. <include name="${project::get-base-directory()}/${build.dir}" />
  43. </lib>
  44. <include name="System.dll" />
  45. <include name="System.Xml.dll.dll" />
  46. <include name="../bin/libsecondlife.dll" />
  47. <include name="../bin/Axiom.MathLib.dll" />
  48. <include name="../bin/Db4objects.Db4o.dll" />
  49. <include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
  50. <include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" />
  51. <include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
  52. </references>
  53. </csc>
  54. <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
  55. <mkdir dir="${project::get-base-directory()}/../bin/"/>
  56. <copy todir="${project::get-base-directory()}/../bin/">
  57. <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
  58. <include name="*.dll"/>
  59. <include name="*.exe"/>
  60. </fileset>
  61. </copy>
  62. </target>
  63. <target name="clean">
  64. <delete dir="${bin.dir}" failonerror="false" />
  65. <delete dir="${obj.dir}" failonerror="false" />
  66. </target>
  67. <target name="doc" description="Creates documentation.">
  68. </target>
  69. </project>