1<?xml version="1.0" encoding="utf-8"?> 2<VisualStudioToolFile 3 Name="Netwide Macro Assembler" 4 Version="8.00" 5 > 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..." 14 > 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 "[value]"" 23 DefaultValue="$(IntDir)\$(InputName).obj" 24 /> 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" 33 /> 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" 42 /> 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 "[value]"" 50 /> 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" 59 /> 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" 66 /> 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" 74 /> 75 76 </Properties> 77 </CustomBuildRule> 78 </Rules> 79</VisualStudioToolFile> 80