1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-26 22:30:07 +00:00
DirectXTex/build/CopyASan.targets

25 lines
978 B
Plaintext
Raw Normal View History

2023-11-06 07:12:56 +00:00
<?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>