Integrate Yasm assembling better in VC build

By not having it blindly run before the ClCompile target
it won't be checked every time you choose to build a single
file from the IDE. Instead it becomes a separate build stage
of its own.
This commit is contained in:
Niels Martin Hansen 2015-01-14 03:40:36 +01:00
parent a0a6194a26
commit 719eff39b1
1 changed files with 7 additions and 2 deletions

View File

@ -55,9 +55,14 @@
</ClCompile>
</ItemDefinitionGroup>
<PropertyGroup>
<BuildCompileTargets>
YasmAssemble;
$(BuildCompileTargets)
</BuildCompileTargets>
</PropertyGroup>
<Target
Name="Assemble"
BeforeTargets="ClCompile"
Name="YasmAssemble"
Inputs="@(Yasm)"
Outputs="$(AegisubObjectDir)\%(Yasm.Directory)%(Yasm.Filename).obj"
>