vsyasm.props 1.2 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup
  4. Condition="'$(YASMBeforeTargets)' == '' and '$(YASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
  5. <YASMBeforeTargets>Midl</YASMBeforeTargets>
  6. <YASMAfterTargets>CustomBuild</YASMAfterTargets>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <YASMDependsOn
  10. Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(YASMDependsOn)</YASMDependsOn>
  11. </PropertyGroup>
  12. <PropertyGroup>
  13. <YasmPath Condition= "'$(YASMPATH)' == ''">$(SolutionDir)</YasmPath>
  14. </PropertyGroup>
  15. <ItemDefinitionGroup>
  16. <YASM>
  17. <Debug>False</Debug>
  18. <ObjectFile>$(IntDir)</ObjectFile>
  19. <ObjectFileName>$(IntDir)\$(Filename).asm.obj</ObjectFileName>
  20. <PreProc>0</PreProc>
  21. <Parser>0</Parser>
  22. <CommandLineTemplate>$(YasmPath)libs\vsyasm.exe -Xvc -f $(Platform) [AllOptions] [AdditionalOptions] [Inputs]</CommandLineTemplate>
  23. <Outputs>%(ObjectFile)</Outputs>
  24. <ExecutionDescription>Assembling %(Filename)%(Extension)</ExecutionDescription>
  25. <ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
  26. </YASM>
  27. </ItemDefinitionGroup>
  28. </Project>