-
Notifications
You must be signed in to change notification settings - Fork 37
/
yasm.xml
225 lines (225 loc) · 7.87 KB
/
yasm.xml
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
<?xml version="1.0" encoding="utf-8"?>
<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">
<Rule
Name="YASM"
PageTemplate="tool"
DisplayName="Yasm Modular 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="Preprocessor">
<Category.DisplayName>
<sys:String>Preprocessing Options</sys:String>
</Category.DisplayName>
</Category>
<Category
Name="Assembler Options">
<Category.DisplayName>
<sys:String>Assembler Options</sys:String>
</Category.DisplayName>
</Category>
<Category
Name="Command Line"
Subtype="CommandLine">
<Category.DisplayName>
<sys:String>Command Line</sys:String>
</Category.DisplayName>
</Category>
</Rule.Categories>
<StringProperty
Name="Inputs"
Category="Command Line"
IsRequired="true">
<StringProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="YASM"
SourceType="Item" />
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Name="ObjectFileName"
Category="Assembler Options"
DisplayName="Output File Name"
Description="Specify Output Filename."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-objfile"
Switch="-o "[value]"" />
<BoolProperty
Name="GenerateDebugInformation"
Category="Assembler Options"
DisplayName="Generate Debug Information"
Description="Generates Debug Information."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-dformat"
Switch="-g cv8" />
<StringProperty
Name="SymbolsPrefix"
Category="Assembler Options"
DisplayName="Symbols Prefix"
Description="Prepend the given argument to all global or extern variables."
Switch="--prefix [value]" />
<StringProperty
Name="SymbolsPostfix"
Category="Assembler Options"
DisplayName="Symbols Postfix"
Description="Append the given argument to all global or extern variables."
Switch="--postfix [value]" />
<StringListProperty
Name="IncludePaths"
Category="General"
DisplayName="Include File Search Directories"
Description="Sets path for include files."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-i"
Switch="-I"[value]/"" />
<StringListProperty
Name="PreIncludeFiles"
Category="General"
DisplayName="Pre-Include a File"
Description="Force files to be pre-included into source file."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-p"
Switch="-P"[value]"" />
<StringListProperty
Name="PreprocessorDefinitions"
Category="Preprocessor"
DisplayName="Preprocessor Definitions"
Description="Defines a text macro with the given name."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-d"
Switch="-D[value]" />
<StringListProperty
Name="UndefinePreprocessorDefinitions"
Category="Preprocessor"
DisplayName="Undefine Preprocessor Definitions"
Description="Undefines a text macro with the given name."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-u"
Switch="-U[value]" />
<EnumProperty
Name="Preprocessor"
Category="Preprocessor"
DisplayName="Pre-Processor"
Description="Select the pre-processor to use on the input file"
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-preproc">
<EnumValue
Name="0"
DisplayName="Nasm"
Switch="-rnasm" />
<EnumValue
Name="1"
DisplayName="Raw"
Switch="-rraw" />
</EnumProperty>
<EnumProperty
Name="Parser"
Category="Preprocessor"
DisplayName="Parser"
Description="Select the parser (the assembler syntax)"
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-parser">
<EnumValue
Name="0"
DisplayName="Nasm"
Switch="-pnasm" />
<EnumValue
Name="1"
DisplayName="Gas"
Switch="-pgas" />
</EnumProperty>
<BoolProperty
Name="TreatWarningsAsErrors"
Category="Assembler Options"
DisplayName="Treat Warnings As Errors"
Description="Returns an error code if warnings are generated."
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-werror"
Switch="-Werror" />
<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"
ItemType=""
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>
<StringProperty
Name="ExecutionDescription"
DisplayName="Execution Description"
IncludeInCommandLine="False"
Visible="False" />
<StringListProperty
Name="AdditionalDependencies"
DisplayName="Additional Dependencies"
IncludeInCommandLine="False"
Visible="False" />
<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 Modular Assembler" />
<FileExtension
Name="*.asm;*.s"
ContentType="YASM" />
<ContentType
Name="YASM"
DisplayName="Yasm Modular Assembler"
ItemType="YASM" />
</ProjectSchemaDefinitions>