System.Windows.Forms.build 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!-- NAnt build file for System.XML.dll -->
  3. <project name="System.Windows.Forms" default="build">
  4. <property name="debug" value="false"/>
  5. <target name="build">
  6. <mkdir dir="../lib"/>
  7. <csc target="library" output="../lib/System.Windows.Forms.dll" debug="${debug}">
  8. <!-- 'foo' is defined in multiple places; using definition from 'bar' -->
  9. <arg value="/nowarn:1595"/>
  10. <!-- Other languages may permit the internal virtual member 'foo' to be overridden -->
  11. <arg value="/nowarn:0679"/>
  12. <arg value="/nowarn:0649"/>
  13. <arg value="/nowarn:0168"/>
  14. <arg value="/nowarn:0067"/>
  15. <arg value="/noconfig"/>
  16. <arg value="/r:Accessibility.dll"/>
  17. <arg value="/r:System.dll"/>
  18. <arg value="/r:System.Drawing.dll"/>
  19. <sources>
  20. <includes name="**/*.cs"/>
  21. <excludes name="Test/**"/>
  22. <excludes name="System.Windows.Forms.Test/**"/>
  23. <excludes name="Gtk/**"/>
  24. <excludes name="SWFTest/**"/>
  25. <excludes name="System.Windows.Forms/PictureBox.cs"/>
  26. <excludes name="System.Windows.Forms.Design/TODOAttribute.cs"/>
  27. <excludes name="System.Windows.Forms.Design/AssemblyInfo.cs"/>
  28. <excludes name="WINELib/**"/>
  29. </sources>
  30. </csc>
  31. <copy file="../lib/System.Windows.Forms.dll" tofile="Test/System.Windows.Forms.dll"/>
  32. </target>
  33. <target name="test" depends="build">
  34. <nant basedir="Test" target="test"/>
  35. </target>
  36. <target name="clean">
  37. <nant basedir="Test" target="clean"/>
  38. <delete file="../lib/System.Windows.Forms.dll" failonerror="false"/>
  39. <delete file="Test/System.Windows.Forms.dll" failonerror="false"/>
  40. </target>
  41. </project>