| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<VisualStudioToolFile |
| 3 |
Name="Yasm" |
| 4 |
Version="8.00" |
| 5 |
> |
| 6 |
<Rules> |
| 7 |
<CustomBuildRule |
| 8 |
Name="YASM" |
| 9 |
DisplayName="Yasm Assembler" |
| 10 |
CommandLine="yasm -Xvc -f $(PlatformName) [PreProc] [Parser] [Debug] [ListFileName] [Defines] [UnDefines] [IncludePaths] [ObjectFileName] [inputs]" |
| 11 |
Outputs="[$ObjectFileName]" |
| 12 |
FileExtensions="*.asm" |
| 13 |
ExecutionDescription="Assembling $(InputFileName)" |
| 14 |
ShowOnlyRuleProperties="false" |
| 15 |
> |
| 16 |
<Properties> |
| 17 |
<StringProperty |
| 18 |
Name="Defines" |
| 19 |
DisplayName="Definitions" |
| 20 |
Category="Pre-Defined Symbols" |
| 21 |
Description="Specify pre-defined symbols ('symbol' or 'symbol = value') " |
| 22 |
Switch="-D [value]" |
| 23 |
Delimited="true" |
| 24 |
Inheritable="true" |
| 25 |
/> |
| 26 |
<StringProperty |
| 27 |
Name="IncludePaths" |
| 28 |
DisplayName="Include Paths" |
| 29 |
Category="Configuration" |
| 30 |
Description="Set the paths for any additional include files" |
| 31 |
Switch="-i "[value]"" |
| 32 |
Delimited="true" |
| 33 |
Inheritable="true" |
| 34 |
/> |
| 35 |
<StringProperty |
| 36 |
Name="UnDefines" |
| 37 |
DisplayName="Remove Definitions" |
| 38 |
Category="Pre-Defined Symbols" |
| 39 |
Description="Remove pre-defined symbols " |
| 40 |
Switch="-u [value]" |
| 41 |
Delimited="true" |
| 42 |
Inheritable="true" |
| 43 |
/> |
| 44 |
<StringProperty |
| 45 |
Name="ObjectFileName" |
| 46 |
DisplayName="Object File Name" |
| 47 |
Category="Output" |
| 48 |
Description="Select the output file name" |
| 49 |
Switch="-o "[value]"" |
| 50 |
DefaultValue=""$(IntDir)\$(InputName).obj"" |
| 51 |
/> |
| 52 |
<StringProperty |
| 53 |
Name="ListFileName" |
| 54 |
DisplayName="List File Name" |
| 55 |
Category="Output" |
| 56 |
Description="Select an output listing by setting its file name" |
| 57 |
Switch="-l "[value]"" |
| 58 |
/> |
| 59 |
<StringProperty |
| 60 |
Name="PreIncludeFile" |
| 61 |
DisplayName="Pre Include File" |
| 62 |
Category="Configuration" |
| 63 |
Description="Select a pre-included file by setting its name" |
| 64 |
Switch="-P "[value]"" |
| 65 |
/> |
| 66 |
<BooleanProperty |
| 67 |
Name="Debug" |
| 68 |
DisplayName="Debug Information" |
| 69 |
Category="Output" |
| 70 |
Description="Generate debugging information" |
| 71 |
Switch="-g cv8" |
| 72 |
/> |
| 73 |
<EnumProperty |
| 74 |
Name="PreProc" |
| 75 |
DisplayName="Pre-Processor" |
| 76 |
Category="Configuration" |
| 77 |
Description="Select the pre-processor ('nasm' or 'raw')" |
| 78 |
> |
| 79 |
<Values> |
| 80 |
<EnumValue |
| 81 |
Value="0" |
| 82 |
Switch="-rnasm" |
| 83 |
DisplayName="Nasm " |
| 84 |
/> |
| 85 |
<EnumValue |
| 86 |
Value="1" |
| 87 |
Switch="-rraw" |
| 88 |
DisplayName="Raw" |
| 89 |
/> |
| 90 |
</Values> |
| 91 |
</EnumProperty> |
| 92 |
<EnumProperty |
| 93 |
Name="Parser" |
| 94 |
DisplayName="Parser" |
| 95 |
Category="Configuration" |
| 96 |
Description="Select the parser for Intel ('nasm') or AT&T ( 'gas') syntax" |
| 97 |
> |
| 98 |
<Values> |
| 99 |
<EnumValue |
| 100 |
Value="0" |
| 101 |
Switch="-pnasm" |
| 102 |
DisplayName="Nasm" |
| 103 |
/> |
| 104 |
<EnumValue |
| 105 |
Value="1" |
| 106 |
Switch="-pgas" |
| 107 |
DisplayName="Gas" |
| 108 |
/> |
| 109 |
</Values> |
| 110 |
</EnumProperty> |
| 111 |
</Properties> |
| 112 |
</CustomBuildRule> |
| 113 |
</Rules> |
| 114 |
</VisualStudioToolFile> |