vsyasm.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
  3. <Rule
  4. Name="YASM"
  5. PageTemplate="tool"
  6. DisplayName="Yasm Assembler"
  7. Order="200">
  8. <Rule.DataSource>
  9. <DataSource
  10. Persistence="ProjectFile"
  11. ItemType="YASM" />
  12. </Rule.DataSource>
  13. <Rule.Categories>
  14. <Category
  15. Name="General">
  16. <Category.DisplayName>
  17. <sys:String>General</sys:String>
  18. </Category.DisplayName>
  19. </Category>
  20. <Category
  21. Name="Symbols">
  22. <Category.DisplayName>
  23. <sys:String>Symbols</sys:String>
  24. </Category.DisplayName>
  25. </Category>
  26. <Category
  27. Name="Files">
  28. <Category.DisplayName>
  29. <sys:String>Files</sys:String>
  30. </Category.DisplayName>
  31. </Category>
  32. <Category
  33. Name="Command Line"
  34. Subtype="CommandLine">
  35. <Category.DisplayName>
  36. <sys:String>Command Line</sys:String>
  37. </Category.DisplayName>
  38. </Category>
  39. </Rule.Categories>
  40. <StringListProperty
  41. Name="Inputs"
  42. Category="Command Line"
  43. IsRequired="true"
  44. Switch=" ">
  45. <StringListProperty.DataSource>
  46. <DataSource
  47. Persistence="ProjectFile"
  48. ItemType="YASM"
  49. SourceType="Item" />
  50. </StringListProperty.DataSource>
  51. </StringListProperty>
  52. <BoolProperty
  53. Name="Debug"
  54. Subcategory="Configuration"
  55. HelpContext="0"
  56. DisplayName="Debug Information"
  57. Description="Generate debugging information"
  58. Switch="-g cv8" />
  59. <StringListProperty
  60. Name="IncludePaths"
  61. Subcategory="Configuration"
  62. HelpContext="0"
  63. DisplayName="Include Paths"
  64. Description="Set the paths for any additional include files"
  65. Switch="-i &quot;[value]&quot;" />
  66. <StringListProperty
  67. Name="Defines"
  68. Category="Symbols"
  69. Subcategory="Pre-Defined Symbols"
  70. HelpContext="0"
  71. DisplayName="Defined Symbols"
  72. Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "
  73. Switch="-d &quot;[value]&quot;" />
  74. <StringListProperty
  75. Name="UnDefines"
  76. Category="Symbols"
  77. Subcategory="Pre-Defined Symbols"
  78. HelpContext="0"
  79. DisplayName="Remove Symbols"
  80. Description="Remove pre-defined symbols "
  81. Switch="-u &quot;[value]&quot;" />
  82. <StringProperty
  83. Name="ObjectFile"
  84. Subcategory="Output"
  85. HelpContext="0"
  86. DisplayName="Object File Name"
  87. Description="Select the output file name"
  88. Switch="-o &quot;[value]&quot;" />
  89. <StringProperty
  90. Name="ListFile"
  91. Category="Files"
  92. Subcategory="Output"
  93. HelpContext="0"
  94. DisplayName="List File Name"
  95. Description="Select an output listing by setting its file name"
  96. Switch="-l &quot;[value]&quot;" />
  97. <StringProperty
  98. Name="PreIncludeFile"
  99. Category="Files"
  100. Subcategory="Configuration"
  101. HelpContext="0"
  102. DisplayName="Pre Include File"
  103. Description="Select a pre-included file by setting its name"
  104. Switch="-P &quot;[value]&quot;" />
  105. <StringProperty
  106. Name="MapFile"
  107. Category="Files"
  108. Subcategory="Output"
  109. HelpContext="0"
  110. DisplayName="Map File Name"
  111. Description="Select a map output by setting its file name"
  112. Switch="--mapdir= &quot;[value]&quot;" />
  113. <StringProperty
  114. Name="ErrorFile"
  115. Category="Files"
  116. Subcategory="Output"
  117. HelpContext="0"
  118. DisplayName="Error File Name"
  119. Description="Send error/warning messages to a file by setting its name"
  120. Switch="-E &quot;[value]&quot;" />
  121. <StringProperty
  122. Name="SymbolPrefix"
  123. Category="Symbols"
  124. Subcategory="Symbols"
  125. HelpContext="0"
  126. DisplayName="External Symbol Prefix"
  127. Description="Prepend symbol to all external symbols"
  128. Switch="--prefix &quot;[value]&quot;" />
  129. <StringProperty
  130. Name="SymbolSuffix"
  131. Category="Symbols"
  132. Subcategory="Symbols"
  133. HelpContext="0"
  134. DisplayName="External Symbol Suffix"
  135. Description="Append symbol to all external symbols"
  136. Switch="--suffix &quot;[value]&quot;" />
  137. <EnumProperty
  138. Name="PreProc"
  139. Subcategory="Configuration"
  140. HelpContext="0"
  141. DisplayName="Pre-Processor"
  142. Description="Select the pre-processor ('nasm' or 'raw')">
  143. <EnumValue
  144. Name="0"
  145. DisplayName="Nasm "
  146. Switch="-rnasm" />
  147. <EnumValue
  148. Name="1"
  149. DisplayName="Raw"
  150. Switch="-rraw" />
  151. </EnumProperty>
  152. <EnumProperty
  153. Name="Parser"
  154. Subcategory="Configuration"
  155. HelpContext="0"
  156. DisplayName="Parser"
  157. Description="Select the parser for Intel ('nasm') or AT&amp;T ( 'gas') syntax">
  158. <EnumValue
  159. Name="0"
  160. DisplayName="Nasm"
  161. Switch="-pnasm" />
  162. <EnumValue
  163. Name="1"
  164. DisplayName="Gas"
  165. Switch="-pgas" />
  166. </EnumProperty>
  167. <StringProperty
  168. Name="CommandLineTemplate"
  169. DisplayName="Command Line"
  170. Visible="False"
  171. IncludeInCommandLine="False" />
  172. <DynamicEnumProperty
  173. Name="YASMBeforeTargets"
  174. Category="General"
  175. EnumProvider="Targets"
  176. IncludeInCommandLine="False">
  177. <DynamicEnumProperty.DisplayName>
  178. <sys:String>Execute Before</sys:String>
  179. </DynamicEnumProperty.DisplayName>
  180. <DynamicEnumProperty.Description>
  181. <sys:String>Specifies the targets for the build customization to run before.</sys:String>
  182. </DynamicEnumProperty.Description>
  183. <DynamicEnumProperty.ProviderSettings>
  184. <NameValuePair
  185. Name="Exclude"
  186. Value="^YASMBeforeTargets|^Compute" />
  187. </DynamicEnumProperty.ProviderSettings>
  188. <DynamicEnumProperty.DataSource>
  189. <DataSource
  190. Persistence="ProjectFile"
  191. HasConfigurationCondition="true" />
  192. </DynamicEnumProperty.DataSource>
  193. </DynamicEnumProperty>
  194. <DynamicEnumProperty
  195. Name="YASMAfterTargets"
  196. Category="General"
  197. EnumProvider="Targets"
  198. IncludeInCommandLine="False">
  199. <DynamicEnumProperty.DisplayName>
  200. <sys:String>Execute After</sys:String>
  201. </DynamicEnumProperty.DisplayName>
  202. <DynamicEnumProperty.Description>
  203. <sys:String>Specifies the targets for the build customization to run after.</sys:String>
  204. </DynamicEnumProperty.Description>
  205. <DynamicEnumProperty.ProviderSettings>
  206. <NameValuePair
  207. Name="Exclude"
  208. Value="^YASMAfterTargets|^Compute" />
  209. </DynamicEnumProperty.ProviderSettings>
  210. <DynamicEnumProperty.DataSource>
  211. <DataSource
  212. Persistence="ProjectFile"
  213. ItemType=""
  214. HasConfigurationCondition="true" />
  215. </DynamicEnumProperty.DataSource>
  216. </DynamicEnumProperty>
  217. <StringListProperty
  218. Name="Outputs"
  219. DisplayName="Outputs"
  220. Visible="False"
  221. IncludeInCommandLine="False" />
  222. <StringProperty
  223. Name="ExecutionDescription"
  224. DisplayName="Execution Description"
  225. Visible="False"
  226. IncludeInCommandLine="False" />
  227. <StringListProperty
  228. Name="AdditionalDependencies"
  229. DisplayName="Additional Dependencies"
  230. IncludeInCommandLine="False"
  231. Visible="true" />
  232. <StringProperty
  233. Subtype="AdditionalOptions"
  234. Name="AdditionalOptions"
  235. Category="Command Line">
  236. <StringProperty.DisplayName>
  237. <sys:String>Additional Options</sys:String>
  238. </StringProperty.DisplayName>
  239. <StringProperty.Description>
  240. <sys:String>Additional Options</sys:String>
  241. </StringProperty.Description>
  242. </StringProperty>
  243. </Rule>
  244. <ItemType
  245. Name="YASM"
  246. DisplayName="Yasm Assembler" />
  247. <FileExtension
  248. Name="*.asm"
  249. ContentType="YASM" />
  250. <ContentType
  251. Name="YASM"
  252. DisplayName="Yasm Assembler"
  253. ItemType="YASM" />
  254. </ProjectSchemaDefinitions>