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