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 "$(IntDir)\$(InputName).obj" [$Inputs] "
Outputs="$(IntDir)\$(InputName).obj"
FileExtensions="*.asm"
ExecutionDescription="Executing tool..."
>
<Properties></Properties>
</CustomBuildRule>
</Rules>
</VisualStudioToolFile>