-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathnasm.xml
More file actions
197 lines (197 loc) · 7.44 KB
/
Copy pathnasm.xml
File metadata and controls
197 lines (197 loc) · 7.44 KB
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"
HasConfigurationCondition="true"
ItemType="NASM" />
</Rule.DataSource>
<Rule.Categories>
<Category Name="General" DisplayName="General" />
<Category Name="Preprocessor" DisplayName="Preprocessing Options" />
<Category Name="Assembler Options" DisplayName="Assembler Options" />
<Category Name="All Options" DisplayName="All Options" Subtype="Search" />
<Category Name="Command Line" DisplayName="Command Line" Subtype="CommandLine" />
</Rule.Categories>
<!-- General -->
<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]"" />
<DynamicEnumProperty
Name="NASMBeforeTargets"
Category="General"
EnumProvider="Targets"
IncludeInCommandLine="False"
DisplayName="Execute Before"
Description="Specifies the targets for the custom build step and tool to run before."
F1Keyword="VC.Project.VCCustomBuildStep.CustomBuildBeforeTargets">
<DynamicEnumProperty.ProviderSettings>
<NameValuePair
Name="Exclude"
Value="^NASM|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType=""
HasConfigurationCondition="true" />
</DynamicEnumProperty.DataSource>
</DynamicEnumProperty>
<DynamicEnumProperty
Name="NASMAfterTargets"
Category="General"
EnumProvider="Targets"
IncludeInCommandLine="False"
DisplayName="Execute After"
Description="Specifies the targets for the custom build step and tool to run after."
F1Keyword="VC.Project.VCCustomBuildStep.CustomBuildAfterTargets">
<DynamicEnumProperty.ProviderSettings>
<NameValuePair
Name="Exclude"
Value="^NASM|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType=""
HasConfigurationCondition="true" />
</DynamicEnumProperty.DataSource>
</DynamicEnumProperty>
<BoolProperty
Name="BuildInParallel"
Category="General"
DisplayName="Build In Parallel"
F1Keyword="VC.Project.VCCustomBuildTool.BuildInParallel"
Description="Specifies that this item can be built in parallel with other custom build tool items.">
</BoolProperty>
<IntProperty
Name="MaxProcesses"
Category="General"
DisplayName="Maximum Processes"
F1Keyword="VC.Project.VCCustomBuildTool.MaxProcesses"
Description="Maximum number of CPU cores to use for parallel build. A value of 0 utilizes all available processors.">
</IntProperty>
<IntProperty
Name="MaxItemsInBatch"
Category="General"
DisplayName="Maximum Batch Size"
F1Keyword="VC.Project.VCCustomBuildTool.MaxProcesses"
Description="Maximum number of items to execute together during parallel build. A value of 0 divides items evenly into parallel batches. A value of 1 disables batching. Larger batches will improve performance if the custom build tool processes items quickly.">
</IntProperty>
<!-- Assembler Options -->
<StringProperty
Name="Outputs"
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"
IncludeInCommandLine="False"
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"
IncludeInCommandLine="False"
Switch="--postfix [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"
IncludeInCommandLine="False"
Switch="-Werror" />
<!-- Preprocessor -->
<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]" />
<!-- Command Line -->
<StringProperty
Name="Inputs"
Category="Command Line"
IsRequired="true">
<StringProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="NASM"
SourceType="Item" />
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Subtype="AdditionalOptions"
Name="AdditionalOptions"
Category="Command Line"
DisplayName="Additional Options"
Description="Additional Options">
</StringProperty>
<!-- Hidden -->
<StringProperty
Name="CommandLineTemplate"
DisplayName="Command Line"
Visible="False"
IncludeInCommandLine="False" />
<StringProperty
Name="ExecutionDescription"
DisplayName="Execution Description"
IncludeInCommandLine="False"
Visible="False" />
<StringListProperty
Name="AdditionalDependencies"
DisplayName="Additional Dependencies"
IncludeInCommandLine="False"
Visible="False" />
</Rule>
<ItemType
Name="NASM"
DisplayName="Netwide Assembler" />
<FileExtension
Name="*.asm"
ContentType="NASM" />
<ContentType
Name="NASM"
DisplayName="Netwide Assembler"
ItemType="NASM" />
</ProjectSchemaDefinitions>