-
Notifications
You must be signed in to change notification settings - Fork 52
/
nasm.xml
197 lines (197 loc) · 6.86 KB
/
nasm.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
<?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="NASM"
PageTemplate="tool"
DisplayName="Netwide Assembler"
Order="200">
<Rule.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="NASM" />
</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="NASM"
SourceType="Item" />
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Name="ObjectFileName"
Category="Assembler Options"
DisplayName="Output File Name"
Description="Specify Output Filename."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.1"
Switch="-o "[value]"" />
<BoolProperty
Name="GenerateDebugInformation"
Category="Assembler Options"
DisplayName="Generate Debug Information"
Description="Generates Debug Information."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.12"
Switch="-g" />
<StringProperty
Name="SymbolsPrefix"
Category="Assembler Options"
DisplayName="Symbols Prefix"
Description="Prepend the given argument to all global or extern variables."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.27"
Switch="--prefix [value]" />
<StringProperty
Name="SymbolsPostfix"
Category="Assembler Options"
DisplayName="Symbols Postfix"
Description="Append the given argument to all global or extern variables."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.27"
Switch="--postfix [value]" />
<StringListProperty
Name="IncludePaths"
Category="General"
DisplayName="Include File Search Directories"
Description="Sets path for include files."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.16"
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.nasm.us/doc/nasmdoc2.html#section-2.1.17"
Switch="-P"[value]"" />
<StringListProperty
Name="PreprocessorDefinitions"
Category="Preprocessor"
DisplayName="Preprocessor Definitions"
Description="Defines a text macro with the given name."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.18"
Switch="-D[value]" />
<StringListProperty
Name="UndefinePreprocessorDefinitions"
Category="Preprocessor"
DisplayName="Undefine Preprocessor Definitions"
Description="Undefines a text macro with the given name."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.19"
Switch="-U[value]" />
<BoolProperty
Name="TreatWarningsAsErrors"
Category="Assembler Options"
DisplayName="Treat Warnings As Errors"
Description="Returns an error code if warnings are generated."
HelpUrl="http://www.nasm.us/doc/nasmdoc2.html#section-2.1.24"
Switch="-Werror" />
<StringProperty
Name="CommandLineTemplate"
DisplayName="Command Line"
Visible="False"
IncludeInCommandLine="False" />
<DynamicEnumProperty
Name="NASMBeforeTargets"
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="^NASMBeforeTargets|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType=""
HasConfigurationCondition="true" />
</DynamicEnumProperty.DataSource>
</DynamicEnumProperty>
<DynamicEnumProperty
Name="NASMAfterTargets"
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="^NASMAfterTargets|^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="NASM"
DisplayName="Netwide Assembler" />
<FileExtension
Name="*.asm"
ContentType="NASM" />
<ContentType
Name="NASM"
DisplayName="Netwide Assembler"
ItemType="NASM" />
</ProjectSchemaDefinitions>