insns.dat: fix CPU flags for new instructions
[nasm/avx512.git] / contrib / VSrules / nasm.rules
blob79b4fb16635398667839a1f0b7f975108cece23b
1 <?xml version="1.0" encoding="utf-8"?>
2 <VisualStudioToolFile
3 Name="Netwide Macro Assembler"
4 Version="8.00"
6 <Rules>
7 <CustomBuildRule
8 Name="NASM"
9 DisplayName="Netwide Macro Assembler"
10 CommandLine="nasm.exe -f win32 -Xvc [AllOptions] [AdditionalOptions] [Inputs]"
11 Outputs="[$ObjectFileName]"
12 FileExtensions="*.asm"
13 ExecutionDescription="Assembling..."
15 <Properties>
16 <StringProperty
17 Name="ObjectFileName"
18 DisplayName="Object File Name"
19 PropertyPageName="Object File"
20 Description="Specifies the name of the output object file. (-o [file])"
21 HelpURL="http://www.nasm.us/doc/"
22 Switch="-o &quot;[value]&quot;"
23 DefaultValue="$(IntDir)\$(InputName).obj"
25 <StringProperty
26 Name="PreprocessorDefinitions"
27 DisplayName="Preprocessor Definitions"
28 Description="Defines a text macro with the given name. (-D[symbol])"
29 HelpURL="http://www.nasm.us/doc/"
30 Switch="-D[value]"
31 Delimited="false"
32 Inheritable="true"
34 <StringProperty
35 Name="UndefinePreprocessorDefinitions"
36 DisplayName="Undefine Preprocessor Definitions"
37 Description="Undefines a text macro with the given name. (-U[symbol])"
38 HelpURL="http://www.nasm.us/doc/"
39 Switch="-U[value]"
40 Delimited="false"
41 Inheritable="true"
43 <StringProperty
44 Name="AssembledCodeListingFile"
45 DisplayName="Assembled Code Listing File"
46 PropertyPageName="Listing File"
47 Description="Generates an assembled code listing file. (-l [file])"
48 HelpURL="http://www.nasm.us/doc/"
49 Switch="-l &quot;[value]&quot;"
51 <StringProperty
52 Name="IncludePaths"
53 DisplayName="Include Paths"
54 Description="Sets path for include file. (-I[path])"
55 HelpURL="http://www.nasm.us/doc/"
56 Switch="-I[value]"
57 Delimited="false"
58 Inheritable="true"
60 <BooleanProperty
61 Name="TreatWarningsAsErrors"
62 DisplayName="Treat Warnings As Errors"
63 Description="Returns an error code if warnings are generated. (-Werror)"
64 HelpURL="http://www.nasm.us/doc/"
65 Switch="-Werror"
67 <BooleanProperty
68 Name="GenerateDebugInformation"
69 DisplayName="Generate Debug Information"
70 Description="Generates Debug Information. (-g)"
71 HelpURL="http://www.nasm.us/doc/"
72 Switch="-g"
73 DefaultValue="true"
76 </Properties>
77 </CustomBuildRule>
78 </Rules>
79 </VisualStudioToolFile>