install DXTK

This commit is contained in:
lightling 2022-03-27 14:23:45 -04:00
parent fefdf69b9a
commit fa5ef40e63
Signed by: lightling
GPG key ID: 016F11E0AA296B67
3 changed files with 16 additions and 0 deletions

View file

@ -308,9 +308,19 @@
<None Include="Helpers.hlsli" />
<None Include="Defines.hlsli" />
<None Include="Lights.hlsli" />
<None Include="packages.config" />
<None Include="ThirdPartyFunctions.hlsli" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets" Condition="Exists('packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets')" />
<Import Project="packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets" Condition="Exists('packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets'))" />
<Error Condition="!Exists('packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets'))" />
</Target>
</Project>

View file

@ -140,5 +140,6 @@
<None Include="Lights.hlsli">
<Filter>Shaders</Filter>
</None>
<None Include="packages.config" />
</ItemGroup>
</Project>

5
packages.config Normal file
View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="directxtk_desktop_2017" version="2022.3.24.2" targetFramework="native" />
<package id="Microsoft.XAudio2.Redist" version="1.2.8" targetFramework="native" />
</packages>