123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- <?xml version="1.0" encoding="utf-8"?>
- <ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
- <Rule
- Name="YASM"
- PageTemplate="tool"
- DisplayName="Yasm Assembler"
- Order="200">
-
- <Rule.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType="YASM" />
- </Rule.DataSource>
-
- <Rule.Categories>
-
- <Category
- Name="General">
- <Category.DisplayName>
- <sys:String>General</sys:String>
- </Category.DisplayName>
- </Category>
- <Category
- Name="Symbols">
- <Category.DisplayName>
- <sys:String>Symbols</sys:String>
- </Category.DisplayName>
- </Category>
- <Category
- Name="Files">
- <Category.DisplayName>
- <sys:String>Files</sys:String>
- </Category.DisplayName>
- </Category>
-
- <Category
- Name="Command Line"
- Subtype="CommandLine">
- <Category.DisplayName>
- <sys:String>Command Line</sys:String>
- </Category.DisplayName>
- </Category>
-
- </Rule.Categories>
- <StringListProperty
- Name="Inputs"
- Category="Command Line"
- IsRequired="true"
- Switch=" ">
- <StringListProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType="YASM"
- SourceType="Item" />
- </StringListProperty.DataSource>
- </StringListProperty>
-
- <BoolProperty
- Name="Debug"
- Subcategory="Configuration"
- HelpContext="0"
- DisplayName="Debug Information"
- Description="Generate debugging information"
- Switch="-g cv8" />
- <StringListProperty
- Name="IncludePaths"
- Subcategory="Configuration"
- HelpContext="0"
- DisplayName="Include Paths"
- Description="Set the paths for any additional include files"
- Switch="-i "[value]"" />
- <StringListProperty
- Name="Defines"
- Category="Symbols"
- Subcategory="Pre-Defined Symbols"
- HelpContext="0"
- DisplayName="Defined Symbols"
- Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "
- Switch="-d "[value]"" />
-
- <StringListProperty
- Name="UnDefines"
- Category="Symbols"
- Subcategory="Pre-Defined Symbols"
- HelpContext="0"
- DisplayName="Remove Symbols"
- Description="Remove pre-defined symbols "
- Switch="-u "[value]"" />
-
- <StringProperty
- Name="ObjectFile"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="Object File Name"
- Description="Select the output file name"
- Switch="-o "[value]"" />
-
- <StringProperty
- Name="ListFile"
- Category="Files"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="List File Name"
- Description="Select an output listing by setting its file name"
- Switch="-l "[value]"" />
-
- <StringProperty
- Name="PreIncludeFile"
- Category="Files"
- Subcategory="Configuration"
- HelpContext="0"
- DisplayName="Pre Include File"
- Description="Select a pre-included file by setting its name"
- Switch="-P "[value]"" />
-
- <StringProperty
- Name="MapFile"
- Category="Files"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="Map File Name"
- Description="Select a map output by setting its file name"
- Switch="--mapdir= "[value]"" />
- <StringProperty
- Name="ErrorFile"
- Category="Files"
- Subcategory="Output"
- HelpContext="0"
- DisplayName="Error File Name"
- Description="Send error/warning messages to a file by setting its name"
- Switch="-E "[value]"" />
- <StringProperty
- Name="SymbolPrefix"
- Category="Symbols"
- Subcategory="Symbols"
- HelpContext="0"
- DisplayName="External Symbol Prefix"
- Description="Prepend symbol to all external symbols"
- Switch="--prefix "[value]"" />
- <StringProperty
- Name="SymbolSuffix"
- Category="Symbols"
- Subcategory="Symbols"
- HelpContext="0"
- DisplayName="External Symbol Suffix"
- Description="Append symbol to all external symbols"
- Switch="--suffix "[value]"" />
- <EnumProperty
- Name="PreProc"
- Subcategory="Configuration"
- HelpContext="0"
- DisplayName="Pre-Processor"
- Description="Select the pre-processor ('nasm' or 'raw')">
- <EnumValue
- Name="0"
- DisplayName="Nasm "
- Switch="-rnasm" />
- <EnumValue
- Name="1"
- DisplayName="Raw"
- Switch="-rraw" />
- </EnumProperty>
-
- <EnumProperty
- Name="Parser"
- Subcategory="Configuration"
- HelpContext="0"
- DisplayName="Parser"
- Description="Select the parser for Intel ('nasm') or AT&T ( 'gas') syntax">
- <EnumValue
- Name="0"
- DisplayName="Nasm"
- Switch="-pnasm" />
- <EnumValue
- Name="1"
- DisplayName="Gas"
- Switch="-pgas" />
- </EnumProperty>
-
- <StringProperty
- Name="CommandLineTemplate"
- DisplayName="Command Line"
- Visible="False"
- IncludeInCommandLine="False" />
-
- <DynamicEnumProperty
- Name="YASMBeforeTargets"
- Category="General"
- EnumProvider="Targets"
- IncludeInCommandLine="False">
- <DynamicEnumProperty.DisplayName>
- <sys:String>Execute Before</sys:String>
- </DynamicEnumProperty.DisplayName>
- <DynamicEnumProperty.Description>
- <sys:String>Specifies the targets for the build customization to run before.</sys:String>
- </DynamicEnumProperty.Description>
- <DynamicEnumProperty.ProviderSettings>
- <NameValuePair
- Name="Exclude"
- Value="^YASMBeforeTargets|^Compute" />
- </DynamicEnumProperty.ProviderSettings>
- <DynamicEnumProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- HasConfigurationCondition="true" />
- </DynamicEnumProperty.DataSource>
- </DynamicEnumProperty>
-
- <DynamicEnumProperty
- Name="YASMAfterTargets"
- Category="General"
- EnumProvider="Targets"
- IncludeInCommandLine="False">
- <DynamicEnumProperty.DisplayName>
- <sys:String>Execute After</sys:String>
- </DynamicEnumProperty.DisplayName>
- <DynamicEnumProperty.Description>
- <sys:String>Specifies the targets for the build customization to run after.</sys:String>
- </DynamicEnumProperty.Description>
- <DynamicEnumProperty.ProviderSettings>
- <NameValuePair
- Name="Exclude"
- Value="^YASMAfterTargets|^Compute" />
- </DynamicEnumProperty.ProviderSettings>
- <DynamicEnumProperty.DataSource>
- <DataSource
- Persistence="ProjectFile"
- ItemType=""
- HasConfigurationCondition="true" />
- </DynamicEnumProperty.DataSource>
- </DynamicEnumProperty>
-
- <StringListProperty
- Name="Outputs"
- DisplayName="Outputs"
- Visible="False"
- IncludeInCommandLine="False" />
-
- <StringProperty
- Name="ExecutionDescription"
- DisplayName="Execution Description"
- Visible="False"
- IncludeInCommandLine="False" />
-
- <StringListProperty
- Name="AdditionalDependencies"
- DisplayName="Additional Dependencies"
- IncludeInCommandLine="False"
- Visible="true" />
-
- <StringProperty
- Subtype="AdditionalOptions"
- Name="AdditionalOptions"
- Category="Command Line">
- <StringProperty.DisplayName>
- <sys:String>Additional Options</sys:String>
- </StringProperty.DisplayName>
- <StringProperty.Description>
- <sys:String>Additional Options</sys:String>
- </StringProperty.Description>
- </StringProperty>
- </Rule>
-
- <ItemType
- Name="YASM"
- DisplayName="Yasm Assembler" />
- <FileExtension
- Name="*.asm"
- ContentType="YASM" />
- <ContentType
- Name="YASM"
- DisplayName="Yasm Assembler"
- ItemType="YASM" />
- </ProjectSchemaDefinitions>
|