AfterTargets="$(YASMAfterTargets)"\r
Condition="'@(YASM)' != ''"\r
DependsOnTargets="$(YASMDependsOn);ComputeYASMOutput"\r
- Outputs="@(YASM->'%(ObjectFileName)')"\r
+ Outputs="@(YASM->'%(ObjectFile)')"\r
Inputs="@(YASM);%(YASM.AdditionalDependencies);$(MSBuildProjectFile)">\r
<ItemGroup\r
Condition="'@(SelectedFiles)' != ''">\r
</ItemGroup>\r
<ItemGroup>\r
<YASM_tlog\r
- Include="%(YASM.ObjectFileName)"\r
- Condition="'%(YASM.ObjectFileName)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'">\r
+ Include="%(YASM.ObjectFile)"\r
+ Condition="'%(YASM.ObjectFile)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'">\r
<Source>@(YASM, '|')</Source>\r
</YASM_tlog>\r
</ItemGroup>\r
Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'"\r
CommandLineTemplate="%(YASM.CommandLineTemplate)"\r
Debug="%(YASM.Debug)"\r
- Defines="%(YASM.Defines)"\r
+ PreIncludeFile="%(YASM.PreIncludeFile)"\r
IncludePaths="%(YASM.IncludePaths)"\r
+ Defines="%(YASM.Defines)"\r
UnDefines="%(YASM.UnDefines)"\r
- ObjectFileName="%(YASM.ObjectFileName)"\r
- ListFileName="%(YASM.ListFileName)"\r
- PreIncludeFile="%(YASM.PreIncludeFile)"\r
+ ObjectFile="%(YASM.ObjectFile)"\r
+ ListFile="%(YASM.ListFile)"\r
+ MapFile="%(YASM.MapFile)"\r
+ ErrorFile="%(YASM.ErrorFile)"\r
+ SymbolPrefix="%(YASM.SymbolPrefix)"\r
+ SymbolSuffix="%(YASM.SymbolSuffix)"\r
PreProc="%(YASM.PreProc)"\r
Parser="%(YASM.Parser)"\r
AdditionalOptions="%(YASM.AdditionalOptions)"\r
Condition="'@(YASM)' != ''">\r
<ItemGroup>\r
<YASMDirsToMake\r
- Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true' and !HasTrailingSlash('%(YASM.ObjectFileName)')"\r
- Include="%(YASM.ObjectFileName)" />\r
+ Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true' and !HasTrailingSlash('%(YASM.ObjectFile)')"\r
+ Include="%(YASM.ObjectFile)" />\r
<Link\r
Include="%(YASMDirsToMake.Identity)"\r
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />\r
</ItemGroup>\r
<ItemGroup>\r
<YASMDirsToMake\r
- Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true' and HasTrailingSlash('%(YASM.ObjectFileName)')"\r
- Include="@(YASM->'%(ObjectFileName)%(Filename).obj')" />\r
+ Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true' and HasTrailingSlash('%(YASM.ObjectFile)')"\r
+ Include="@(YASM->'%(ObjectFile)%(Filename).obj')" />\r
<Link\r
Include="%(YASMDirsToMake.Identity)"\r
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />\r
PageTemplate="tool"\r
DisplayName="Yasm Assembler"\r
Order="200">\r
+ \r
<Rule.DataSource>\r
<DataSource\r
Persistence="ProjectFile"\r
ItemType="YASM" />\r
</Rule.DataSource>\r
+ \r
<Rule.Categories>\r
+ \r
<Category\r
Name="General">\r
<Category.DisplayName>\r
<sys:String>General</sys:String>\r
</Category.DisplayName>\r
</Category>\r
+\r
+ <Category\r
+ Name="Symbols">\r
+ <Category.DisplayName>\r
+ <sys:String>Symbols</sys:String>\r
+ </Category.DisplayName>\r
+ </Category>\r
+\r
+ <Category\r
+ Name="Files">\r
+ <Category.DisplayName>\r
+ <sys:String>Files</sys:String>\r
+ </Category.DisplayName>\r
+ </Category>\r
+ \r
<Category\r
Name="Command Line"\r
Subtype="CommandLine">\r
<sys:String>Command Line</sys:String>\r
</Category.DisplayName>\r
</Category>\r
+ \r
</Rule.Categories>\r
+\r
<StringListProperty\r
Name="Inputs"\r
Category="Command Line"\r
SourceType="Item" />\r
</StringListProperty.DataSource>\r
</StringListProperty>\r
+ \r
<BoolProperty\r
Name="Debug"\r
- Subcategory="Output"\r
+ Subcategory="Configuration"\r
HelpContext="0"\r
DisplayName="Debug Information"\r
Description="Generate debugging information"\r
Switch="-g cv8" />\r
- <StringListProperty\r
- Name="Defines"\r
- Subcategory="Pre-Defined Symbols"\r
- HelpContext="0"\r
- DisplayName="Definitions"\r
- Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "\r
- Separator=";"\r
- Switch="-D [value]" />\r
+\r
<StringListProperty\r
Name="IncludePaths"\r
Subcategory="Configuration"\r
Description="Set the paths for any additional include files"\r
Separator=";"\r
Switch="-i "[value]"" />\r
+\r
+ <StringListProperty\r
+ Name="Defines"\r
+ Category="Symbols"\r
+ Subcategory="Pre-Defined Symbols"\r
+ HelpContext="0"\r
+ DisplayName="Defined Symbols"\r
+ Description="Specify pre-defined symbols ('symbol' or 'symbol = value') "\r
+ Separator=";"\r
+ Switch="-d "[value]"" />\r
+ \r
<StringListProperty\r
Name="UnDefines"\r
+ Category="Symbols"\r
Subcategory="Pre-Defined Symbols"\r
HelpContext="0"\r
- DisplayName="Remove Definitions"\r
+ DisplayName="Remove Symbols"\r
Description="Remove pre-defined symbols "\r
Separator=";"\r
- Switch="-u [value]" />\r
+ Switch="-u "[value]"" />\r
+ \r
<StringProperty\r
- Name="ObjectFileName"\r
+ Name="ObjectFile"\r
Subcategory="Output"\r
HelpContext="0"\r
DisplayName="Object File Name"\r
Description="Select the output file name"\r
Switch="-o "[value]"" />\r
+ \r
<StringProperty\r
- Name="ListFileName"\r
+ Name="ListFile"\r
+ Category="Files"\r
Subcategory="Output"\r
HelpContext="0"\r
DisplayName="List File Name"\r
Description="Select an output listing by setting its file name"\r
Switch="-l "[value]"" />\r
+ \r
<StringProperty\r
Name="PreIncludeFile"\r
+ Category="Files"\r
Subcategory="Configuration"\r
HelpContext="0"\r
DisplayName="Pre Include File"\r
Description="Select a pre-included file by setting its name"\r
Switch="-P "[value]"" />\r
+ \r
+ <StringProperty\r
+ Name="MapFile"\r
+ Category="Files"\r
+ Subcategory="Output"\r
+ HelpContext="0"\r
+ DisplayName="Map File Name"\r
+ Description="Select a map output by setting its file name"\r
+ Switch="--mapdir= "[value]"" />\r
+\r
+ <StringProperty\r
+ Name="ErrorFile"\r
+ Category="Files"\r
+ Subcategory="Output"\r
+ HelpContext="0"\r
+ DisplayName="Error File Name"\r
+ Description="Send error/warning messages to a file by setting its name"\r
+ Switch="-E "[value]"" />\r
+\r
+ <StringProperty\r
+ Name="SymbolPrefix"\r
+ Category="Symbols"\r
+ Subcategory="Symbols"\r
+ HelpContext="0"\r
+ DisplayName="External Symbol Prefix"\r
+ Description="Prepend symbol to all external symbols"\r
+ Switch="--prefix "[value]"" />\r
+\r
+ <StringProperty\r
+ Name="SymbolSuffix"\r
+ Category="Symbols"\r
+ Subcategory="Symbols"\r
+ HelpContext="0"\r
+ DisplayName="External Symbol Suffix"\r
+ Description="Append symbol to all external symbols"\r
+ Switch="--suffix "[value]"" />\r
+\r
<EnumProperty\r
Name="PreProc"\r
Subcategory="Configuration"\r
DisplayName="Raw"\r
Switch="-rraw" />\r
</EnumProperty>\r
+ \r
<EnumProperty\r
Name="Parser"\r
Subcategory="Configuration"\r
DisplayName="Gas"\r
Switch="-pgas" />\r
</EnumProperty>\r
+ \r
<StringProperty\r
Name="CommandLineTemplate"\r
DisplayName="Command Line"\r
Visible="False"\r
IncludeInCommandLine="False" />\r
+ \r
<DynamicEnumProperty\r
Name="YASMBeforeTargets"\r
Category="General"\r
HasConfigurationCondition="true" />\r
</DynamicEnumProperty.DataSource>\r
</DynamicEnumProperty>\r
+ \r
<DynamicEnumProperty\r
Name="YASMAfterTargets"\r
Category="General"\r
HasConfigurationCondition="true" />\r
</DynamicEnumProperty.DataSource>\r
</DynamicEnumProperty>\r
+ \r
<StringListProperty\r
Name="Outputs"\r
DisplayName="Outputs"\r
Visible="False"\r
IncludeInCommandLine="False" />\r
+ \r
<StringProperty\r
Name="ExecutionDescription"\r
DisplayName="Execution Description"\r
Visible="False"\r
IncludeInCommandLine="False" />\r
+ \r
<StringListProperty\r
Name="AdditionalDependencies"\r
DisplayName="Additional Dependencies"\r
IncludeInCommandLine="False"\r
Visible="true" />\r
+ \r
<StringProperty\r
Subtype="AdditionalOptions"\r
Name="AdditionalOptions"\r
</StringProperty.Description>\r
</StringProperty>\r
</Rule>\r
+ \r
<ItemType\r
Name="YASM"\r
DisplayName="Yasm Assembler" />\r