System.build 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!-- NAnt build file for System.dll -->
  3. <project name="System" default="build">
  4. <property name="debug" value="false"/>
  5. <target name="build">
  6. <mkdir dir="../lib"/>
  7. <csc target="library" output="../lib/System.dll" debug="${debug}">
  8. <arg value="/nowarn:1595"/>
  9. <arg value="/unsafe"/>
  10. <arg value="/nostdlib"/> <!-- don't reference mscorlib -->
  11. <arg value="/noconfig"/> <!-- don't reference ms assemblies -->
  12. <arg value="/lib:../lib/"/>
  13. <arg value="/r:corlib.dll"/>
  14. <arg value="/r:System.Xml.dll"/>
  15. <sources>
  16. <includes name="**/*.cs"/>
  17. <excludes name="Test/**"/>
  18. <excludes name="System.CodeDom/Code-X-Collection.cs"/>
  19. <excludes name="System.Net/IAuthenticationModule.cs"/>
  20. <excludes name="System.Net/AuthenticationManager.cs"/>
  21. </sources>
  22. </csc>
  23. <copy file="../lib/System.dll" tofile="Test/System.dll"/>
  24. <nant basedir="Test" target="build"/>
  25. </target>
  26. <target name="test" depends="build">
  27. <nant basedir="Test" target="test"/>
  28. </target>
  29. <target name="clean">
  30. <nant basedir="Test" target="clean"/>
  31. <delete file="../lib/System.dll" failonerror="false"/>
  32. </target>
  33. </project>