System.Windows.Forms.build 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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="/nowarn:108"/>
  16. <arg value="/nowarn:114"/>
  17. <arg value="/noconfig"/>
  18. <arg value="/r:Accessibility.dll"/>
  19. <arg value="/r:System.dll"/>
  20. <arg value="/r:System.Drawing.dll"/>
  21. <sources>
  22. <includes name="**/*.cs"/>
  23. <excludes name="Test/**"/>
  24. <excludes name="System.Windows.Forms.Test/**"/>
  25. <excludes name="Gtk/**"/>
  26. <excludes name="SWFTest/**"/>
  27. <excludes name="System.Windows.Forms/PictureBox.cs"/>
  28. <excludes name="System.Windows.Forms.Design/TODOAttribute.cs"/>
  29. <excludes name="System.Windows.Forms.Design/AssemblyInfo.cs"/>
  30. <excludes name="WINELib/**"/>
  31. </sources>
  32. </csc>
  33. <copy file="../lib/System.Windows.Forms.dll" tofile="Test/System.Windows.Forms.dll"/>
  34. </target>
  35. <target name="test" depends="build">
  36. <nant basedir="Test" target="test"/>
  37. </target>
  38. <target name="clean">
  39. <nant basedir="Test" target="clean"/>
  40. <delete file="../lib/System.Windows.Forms.dll" failonerror="false"/>
  41. <delete file="Test/System.Windows.Forms.dll" failonerror="false"/>
  42. </target>
  43. </project>