vc9_nasm.rules 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <VisualStudioToolFile
  3. Name="NASM "
  4. Version="8,00"
  5. >
  6. <Rules>
  7. <CustomBuildRule
  8. Name="NASM"
  9. DisplayName="NASM"
  10. CommandLine="nasmw [BinFormat] [IncludeDir] [Defines] -o [OutFile] $(InputPath)"
  11. Outputs="[OutFile]"
  12. FileExtensions="*.nas"
  13. ExecutionDescription="Assembling $(InputName)..."
  14. ShowOnlyRuleProperties="false"
  15. >
  16. <Properties>
  17. <StringProperty
  18. Name="OutFile"
  19. DisplayName="output file path"
  20. Switch="[value]"
  21. DefaultValue="$(IntDir)\$(InputName).obj"
  22. />
  23. <StringProperty
  24. Name="BinFormat"
  25. DisplayName="Binary format"
  26. Switch="-f [value]"
  27. DefaultValue="win32"
  28. />
  29. <StringProperty
  30. Name="IncludeDir"
  31. DisplayName="Additional include directories"
  32. Switch="-i [value]"
  33. DefaultValue="$(InputDir)"
  34. Delimited="true"
  35. />
  36. <StringProperty
  37. Name="Defines"
  38. DisplayName="Defines"
  39. Switch="-D[value]"
  40. DefaultValue="WIN32"
  41. Delimited="true"
  42. Delimiters=" ;,"
  43. />
  44. </Properties>
  45. </CustomBuildRule>
  46. </Rules>
  47. </VisualStudioToolFile>