prebuild-example2.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
  3. <Solution name="Prebuild">
  4. <Configuration name="Debug">
  5. <Options>
  6. <?if OS = "Win32" ?>
  7. <CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
  8. <?else ?>
  9. <CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
  10. <?endif ?>
  11. <OptimizeCode>false</OptimizeCode>
  12. <OutputPath>bin\Debug</OutputPath>
  13. <DebugInformation>true</DebugInformation>
  14. <SuppressWarnings>1595</SuppressWarnings>
  15. </Options>
  16. </Configuration>
  17. <Configuration name="Release">
  18. <Options>
  19. <?if OS = "Win32" ?>
  20. <CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
  21. <?else ?>
  22. <CompilerDefines>TRACE;POSIX</CompilerDefines>
  23. <?endif ?>
  24. <OutputPath>bin\Release</OutputPath>
  25. <OptimizeCode>true</OptimizeCode>
  26. <DebugInformation>false</DebugInformation>
  27. <SuppressWarnings>1595</SuppressWarnings>
  28. </Options>
  29. </Configuration>
  30. <Files>
  31. <File>prebuild.xml</File>
  32. <Match path="doc" pattern="*.txt"/>
  33. </Files>
  34. <Project name="Prebuild" path="src" language="C#" assemblyName="Prebuild" icon="App.ico" type="Exe" rootNamespace="Prebuild" startupObject="Prebuild.Prebuild">
  35. <Configuration name="Debug">
  36. <Options>
  37. <?if OS = "Win32" ?>
  38. <CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
  39. <?else ?>
  40. <CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
  41. <?endif ?>
  42. <OptimizeCode>false</OptimizeCode>
  43. <OutputPath>bin\Debug</OutputPath>
  44. <DebugInformation>true</DebugInformation>
  45. <XmlDocFile>Prebuild.xml</XmlDocFile>
  46. <SuppressWarnings>1595</SuppressWarnings>
  47. </Options>
  48. </Configuration>
  49. <Configuration name="Release">
  50. <Options>
  51. <?if OS = "Win32" ?>
  52. <CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
  53. <?else ?>
  54. <CompilerDefines>TRACE;POSIX</CompilerDefines>
  55. <?endif ?>
  56. <OutputPath>bin\Release</OutputPath>
  57. <OptimizeCode>true</OptimizeCode>
  58. <DebugInformation>false</DebugInformation>
  59. <XmlDocFile>Prebuild.xml</XmlDocFile>
  60. <SuppressWarnings>1595</SuppressWarnings>
  61. </Options>
  62. </Configuration>
  63. <Reference name="System.Xml" />
  64. <Reference name="System" />
  65. <Files>
  66. <Match pattern="App.ico" buildAction="EmbeddedResource"/>
  67. <Match path="data" pattern="prebuild-1.6.xsd" buildAction="EmbeddedResource"/>
  68. <Match pattern="*.cs" recurse="true"/>
  69. </Files>
  70. </Project>
  71. </Solution>
  72. </Prebuild>