随笔 - 74, 文章 - 0, 评论 - 26, 引用 - 0
数据加载中……

Building ARM assembly source from within VS 2005 转

Building ARM assembly source from within VS 2005

This is a little bit ugly, but it does the job. An unfortunate side effect of this build rule is that you end up deploying the .obj produced, because it becomes a project output, but I did this in twenty minutes while investigating another bug. Paste this into a file, name it "armasm.rules". Right click on the project, click "Custom Build Rules", from this dialog, choose "Find Existing..." Enjoy!

<?xml version="1.0" encoding="utf-8"?>
<VisualStudioToolFile Name="Arm ASM"
Version="8.00">
   <Rules>
      <CustomBuildRule 
         Name="Arm asm" DisplayName="Arm asm"
         CommandLine="armasm -o &quot;$(IntDir)\$(InputName).obj&quot; [$Inputs] "
         Outputs="$(IntDir)\$(InputName).obj"
         FileExtensions="*.asm"
         ExecutionDescription="Executing tool..."
      
>
      
<Properties></Properties>
      </CustomBuildRule>
   
</Rules>
</VisualStudioToolFile>

posted on 2008-09-22 14:29 井泉 阅读(506) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理