1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-22 04:20:07 +00:00
DirectXTex/build/CopyASan.targets
2023-11-05 23:12:56 -08:00

25 lines
978 B
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="CopyASanFiles" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFolder Condition="'$(TargetFolder)'==''">.drop</TargetFolder>
<VSInstallDir>$(VsInstallRoot)\</VSInstallDir>
<VCInstallDir>$(VSInstallDir)VC\</VCInstallDir>
<VCToolsVersionProps>$(VCInstallDir)Auxiliary\Build\Microsoft.VCToolsVersion.default.props</VCToolsVersionProps>
</PropertyGroup>
<Import Project="$(VCToolsVersionProps)" Condition="Exists('$(VCToolsVersionProps)')" />
<ItemGroup>
<ASanFiles Include="$(VCInstallDir)Tools\MSVC\$(VCToolsVersion)\bin\HostX64\x64\clang_rt.*.dll" />
<ASanFiles Include="$(VSInstallDir)Common7\IDE\msdia140.dll" />
</ItemGroup>
<Target Name="CopyASanFiles">
<Message Text="VCToolsVersion: $(VCToolsVersion)" />
<Copy SourceFiles="@(ASanFiles)" DestinationFolder="$(TargetFolder)" />
</Target>
</Project>