blob: 79b4fb16635398667839a1f0b7f975108cece23b (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile
Name="Netwide Macro Assembler"
Version="8.00"
>
<Rules>
<CustomBuildRule
Name="NASM"
DisplayName="Netwide Macro Assembler"
CommandLine="nasm.exe -f win32 -Xvc [AllOptions] [AdditionalOptions] [Inputs]"
Outputs="[$ObjectFileName]"
FileExtensions="*.asm"
ExecutionDescription="Assembling..."
>
<Properties>
<StringProperty
Name="ObjectFileName"
DisplayName="Object File Name"
PropertyPageName="Object File"
Description="Specifies the name of the output object file. (-o [file])"
HelpURL="http://www.nasm.us/doc/"
Switch="-o "[value]""
DefaultValue="$(IntDir)\$(InputName).obj"
/>
<StringProperty
Name="PreprocessorDefinitions"
DisplayName="Preprocessor Definitions"
Description="Defines a text macro with the given name. (-D[symbol])"
HelpURL="http://www.nasm.us/doc/"
Switch="-D[value]"
Delimited="false"
Inheritable="true"
/>
<StringProperty
Name="UndefinePreprocessorDefinitions"
DisplayName="Undefine Preprocessor Definitions"
Description="Undefines a text macro with the given name. (-U[symbol])"
HelpURL="http://www.nasm.us/doc/"
Switch="-U[value]"
Delimited="false"
Inheritable="true"
/>
<StringProperty
Name="AssembledCodeListingFile"
DisplayName="Assembled Code Listing File"
PropertyPageName="Listing File"
Description="Generates an assembled code listing file. (-l [file])"
HelpURL="http://www.nasm.us/doc/"
Switch="-l "[value]""
/>
<StringProperty
Name="IncludePaths"
DisplayName="Include Paths"
Description="Sets path for include file. (-I[path])"
HelpURL="http://www.nasm.us/doc/"
Switch="-I[value]"
Delimited="false"
Inheritable="true"
/>
<BooleanProperty
Name="TreatWarningsAsErrors"
DisplayName="Treat Warnings As Errors"
Description="Returns an error code if warnings are generated. (-Werror)"
HelpURL="http://www.nasm.us/doc/"
Switch="-Werror"
/>
<BooleanProperty
Name="GenerateDebugInformation"
DisplayName="Generate Debug Information"
Description="Generates Debug Information. (-g)"
HelpURL="http://www.nasm.us/doc/"
Switch="-g"
DefaultValue="true"
/>
</Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>
|