mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-11 15:16:14 +01:00
Added build target to ensure shaders are built
This commit is contained in:
@@ -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>
|
||||||
Reference in New Issue
Block a user