aboutsummaryrefslogtreecommitdiff
path: root/Mkfiles/vc10/yasm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'Mkfiles/vc10/yasm.xml')
-rw-r--r--Mkfiles/vc10/yasm.xml209
1 files changed, 209 insertions, 0 deletions
diff --git a/Mkfiles/vc10/yasm.xml b/Mkfiles/vc10/yasm.xml
new file mode 100644
index 00000000..631b613d
--- /dev/null
+++ b/Mkfiles/vc10/yasm.xml
@@ -0,0 +1,209 @@
+<?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" xmlns:impl="clr-namespace:Microsoft.VisualStudio.Project.Contracts.Implementation;assembly=Microsoft.VisualStudio.Project.Contracts.Implementation">
+ <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="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="Output"
+ HelpContext="0"
+ DisplayName="Debug Information"
+ Description="Generate debugging information"
+ Switch="-g cv8" />
+ <StringListProperty
+ Name="Defines"
+ Subcategory="Pre-Defined Symbols"
+ HelpContext="0"
+ DisplayName="Definitions"
+ Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "
+ Separator=";"
+ Switch="-D [value]" />
+ <StringListProperty
+ Name="IncludePaths"
+ Subcategory="Configuration"
+ HelpContext="0"
+ DisplayName="Include Paths"
+ Description="Set the paths for any additional include files"
+ Separator=";"
+ Switch="-i [value]" />
+ <StringListProperty
+ Name="UnDefines"
+ Subcategory="Pre-Defined Symbols"
+ HelpContext="0"
+ DisplayName="Remove Definitions"
+ Description="Remove pre-defined symbols "
+ Separator=";"
+ Switch="-u [value]" />
+ <StringProperty
+ Name="ObjectFileName"
+ Subcategory="Output"
+ HelpContext="0"
+ DisplayName="Object File Name"
+ Description="Select the output file name"
+ Switch="-o [value]" />
+ <StringProperty
+ Name="ListFileName"
+ Subcategory="Output"
+ HelpContext="0"
+ DisplayName="List File Name"
+ Description="Select an output listing by setting its file name"
+ Switch="-l [value]" />
+ <StringProperty
+ Name="PreIncludeFile"
+ Subcategory="Configuration"
+ HelpContext="0"
+ DisplayName="Pre Include File"
+ Description="Select a pre-included file by setting its name"
+ Switch="-P [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&amp;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> \ No newline at end of file