mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-13 05:30:14 +02:00
Added build target to ensure shaders are built
This commit is contained in:
parent
88e72488dc
commit
59ec7c951f
@ -449,4 +449,9 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -444,4 +444,9 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -451,4 +451,9 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -451,4 +451,9 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -304,4 +304,9 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -661,4 +661,9 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -210,4 +210,9 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -225,4 +225,9 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
@ -225,4 +225,9 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="ATGEnsureShaders" BeforeTargets="PrepareForBuild">
|
||||
<Exec Condition="!Exists('Shaders/Compiled/BC6HEncode_EncodeBlockCS.inc')"
|
||||
WorkingDirectory="$(ProjectDir)Shaders"
|
||||
Command="CompileShaders" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user