mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
chore: 清理 _ConanDeps 将清理 Conan 生成 props 文件
This commit is contained in:
parent
fd0749456b
commit
8196a98f6e
1 changed files with 8 additions and 1 deletions
|
|
@ -43,7 +43,14 @@
|
|||
<None Include="build_conan_deps.py" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Target Name="BuildConanDeps" BeforeTargets="PrepareForBuild">
|
||||
<Target Name="BuildConanDeps" BeforeTargets="Build">
|
||||
<Exec Command="python build_conan_deps.py $(Platform) $(Configuration)" />
|
||||
</Target>
|
||||
<!-- 清理 Conan 生成的 props 文件,不清理数据 -->
|
||||
<Target Name="CleanConanProps" BeforeTargets="Clean">
|
||||
<PropertyGroup>
|
||||
<PropsDir>..\\..\\.conan\\$(Platform)\\$(Configuration)</PropsDir>
|
||||
</PropertyGroup>
|
||||
<Exec Command="rmdir /s /q $(PropsDir)" Condition="Exists('$(PropsDir)')" />
|
||||
</Target>
|
||||
</Project>
|
||||
Loading…
Add table
Add a link
Reference in a new issue