summaryrefslogtreecommitdiff
path: root/Mkfiles/vc10/vsyasm.xml
blob: 860bce8d14894573af6f1ea26869a17a23ddcb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<?xml version="1.0" encoding="utf-8"?>
<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">
  <Rule
    Name="YASM"
    PageTemplate="tool"
    DisplayName="Yasm Assembler"
    Order="200">
      
    <Rule.DataSource>
      <DataSource
        Persistence="ProjectFile"
        ItemType="YASM" />
    </Rule.DataSource>
      
    <Rule.Categories>
        
      <Category
        Name="General">
        <Category.DisplayName>
          <sys:String>General</sys:String>
        </Category.DisplayName>
      </Category>

      <Category
        Name="Symbols">
          <Category.DisplayName>
              <sys:String>Symbols</sys:String>
          </Category.DisplayName>
      </Category>

      <Category
        Name="Files">
          <Category.DisplayName>
              <sys:String>Files</sys:String>
          </Category.DisplayName>
      </Category>
        
      <Category
        Name="Command Line"
        Subtype="CommandLine">
        <Category.DisplayName>
          <sys:String>Command Line</sys:String>
        </Category.DisplayName>
      </Category>
        
    </Rule.Categories>

    <StringListProperty
      Name="Inputs"
      Category="Command Line"
      IsRequired="true"
      Switch=" ">
      <StringListProperty.DataSource>
        <DataSource
          Persistence="ProjectFile"
          ItemType="YASM"
          SourceType="Item" />
      </StringListProperty.DataSource>
    </StringListProperty>
    
    <BoolProperty
      Name="Debug"
      Subcategory="Configuration"
      HelpContext="0"
      DisplayName="Debug Information"
      Description="Generate debugging information"
      Switch="-g cv8" />

    <StringListProperty
      Name="IncludePaths"
      Subcategory="Configuration"
      HelpContext="0"
      DisplayName="Include Paths"
      Description="Set the paths for any additional include files"
      Switch="-i &quot;[value]&quot;" />

    <StringListProperty
      Name="Defines"
      Category="Symbols"
      Subcategory="Pre-Defined Symbols"
      HelpContext="0"
      DisplayName="Defined Symbols"
      Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "
      Switch="-d &quot;[value]&quot;" />
    
    <StringListProperty
      Name="UnDefines"
      Category="Symbols"
      Subcategory="Pre-Defined Symbols"
      HelpContext="0"
      DisplayName="Remove Symbols"
      Description="Remove pre-defined symbols "
      Switch="-u &quot;[value]&quot;" />
    
    <StringProperty
      Name="ObjectFile"
      Subcategory="Output"
      HelpContext="0"
      DisplayName="Object File Name"
      Description="Select the output file name"
      Switch="-o &quot;[value]&quot;" />
    
    <StringProperty
      Name="ListFile"
      Category="Files"
      Subcategory="Output"
      HelpContext="0"
      DisplayName="List File Name"
      Description="Select an output listing by setting its file name"
      Switch="-l &quot;[value]&quot;" />
    
    <StringProperty
      Name="PreIncludeFile"
      Category="Files"
      Subcategory="Configuration"
      HelpContext="0"
      DisplayName="Pre Include File"
      Description="Select a pre-included file by setting its name"
      Switch="-P &quot;[value]&quot;" />
      
    <StringProperty
      Name="MapFile"
      Category="Files"
      Subcategory="Output"
      HelpContext="0"
      DisplayName="Map File Name"
      Description="Select a map output by setting its file name"
      Switch="--mapdir= &quot;[value]&quot;" />

    <StringProperty
      Name="ErrorFile"
      Category="Files"
      Subcategory="Output"
      HelpContext="0"
      DisplayName="Error File Name"
      Description="Send error/warning messages to a file by setting its name"
      Switch="-E &quot;[value]&quot;" />

    <StringProperty
      Name="SymbolPrefix"
      Category="Symbols"
      Subcategory="Symbols"
      HelpContext="0"
      DisplayName="External Symbol Prefix"
      Description="Prepend symbol to all external symbols"
      Switch="--prefix &quot;[value]&quot;" />

    <StringProperty
      Name="SymbolSuffix"
      Category="Symbols"
      Subcategory="Symbols"
      HelpContext="0"
      DisplayName="External Symbol Suffix"
      Description="Append symbol to all external symbols"
      Switch="--suffix &quot;[value]&quot;" />

    <EnumProperty
      Name="PreProc"
      Subcategory="Configuration"
      HelpContext="0"
      DisplayName="Pre-Processor"
      Description="Select the pre-processor ('nasm' or 'raw')">
      <EnumValue
        Name="0"
        DisplayName="Nasm "
        Switch="-rnasm" />
      <EnumValue
        Name="1"
        DisplayName="Raw"
        Switch="-rraw" />
    </EnumProperty>
    
    <EnumProperty
      Name="Parser"
      Subcategory="Configuration"
      HelpContext="0"
      DisplayName="Parser"
      Description="Select the parser for Intel ('nasm') or AT&amp;T ( 'gas') syntax">
      <EnumValue
        Name="0"
        DisplayName="Nasm"
        Switch="-pnasm" />
      <EnumValue
        Name="1"
        DisplayName="Gas"
        Switch="-pgas" />
    </EnumProperty>
    
    <StringProperty
      Name="CommandLineTemplate"
      DisplayName="Command Line"
      Visible="False"
      IncludeInCommandLine="False" />
    
    <DynamicEnumProperty
      Name="YASMBeforeTargets"
      Category="General"
      EnumProvider="Targets"
      IncludeInCommandLine="False">
      <DynamicEnumProperty.DisplayName>
        <sys:String>Execute Before</sys:String>
      </DynamicEnumProperty.DisplayName>
      <DynamicEnumProperty.Description>
        <sys:String>Specifies the targets for the build customization to run before.</sys:String>
      </DynamicEnumProperty.Description>
      <DynamicEnumProperty.ProviderSettings>
        <NameValuePair
          Name="Exclude"
          Value="^YASMBeforeTargets|^Compute" />
      </DynamicEnumProperty.ProviderSettings>
      <DynamicEnumProperty.DataSource>
        <DataSource
          Persistence="ProjectFile"
          HasConfigurationCondition="true" />
      </DynamicEnumProperty.DataSource>
    </DynamicEnumProperty>
    
    <DynamicEnumProperty
      Name="YASMAfterTargets"
      Category="General"
      EnumProvider="Targets"
      IncludeInCommandLine="False">
      <DynamicEnumProperty.DisplayName>
        <sys:String>Execute After</sys:String>
      </DynamicEnumProperty.DisplayName>
      <DynamicEnumProperty.Description>
        <sys:String>Specifies the targets for the build customization to run after.</sys:String>
      </DynamicEnumProperty.Description>
      <DynamicEnumProperty.ProviderSettings>
        <NameValuePair
          Name="Exclude"
          Value="^YASMAfterTargets|^Compute" />
      </DynamicEnumProperty.ProviderSettings>
      <DynamicEnumProperty.DataSource>
        <DataSource
          Persistence="ProjectFile"
          ItemType=""
          HasConfigurationCondition="true" />
      </DynamicEnumProperty.DataSource>
    </DynamicEnumProperty>
    
    <StringListProperty
      Name="Outputs"
      DisplayName="Outputs"
      Visible="False"
      IncludeInCommandLine="False" />
    
    <StringProperty
      Name="ExecutionDescription"
      DisplayName="Execution Description"
      Visible="False"
      IncludeInCommandLine="False" />
    
    <StringListProperty
      Name="AdditionalDependencies"
      DisplayName="Additional Dependencies"
      IncludeInCommandLine="False"
      Visible="true" />
    
    <StringProperty
      Subtype="AdditionalOptions"
      Name="AdditionalOptions"
      Category="Command Line">
      <StringProperty.DisplayName>
        <sys:String>Additional Options</sys:String>
      </StringProperty.DisplayName>
      <StringProperty.Description>
        <sys:String>Additional Options</sys:String>
      </StringProperty.Description>
    </StringProperty>
  </Rule>
  
  <ItemType
    Name="YASM"
    DisplayName="Yasm Assembler" />
  <FileExtension
    Name="*.asm"
    ContentType="YASM" />
  <ContentType
    Name="YASM"
    DisplayName="Yasm Assembler"
    ItemType="YASM" />
</ProjectSchemaDefinitions>