Add AfterBuild Copy tasks to deploy outputs to workdir
game/cgame/q3_ui copy DLLs to workdir/baseq3/, quake3 copies exe to workdir/. Uses MSBuild <Copy> task with per-config _CopyOutputFile property; Alpha AXP configs are skipped (no _CopyOutputFile defined). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
111dce16ab
commit
a1fce2ed93
4 changed files with 52 additions and 0 deletions
|
|
@ -599,4 +599,20 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Debug\cgamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug TA|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Debug_TA\cgamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Release\cgamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release TA|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Release_TA\cgamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Target Name="AfterBuild" Condition="'$(_CopyOutputFile)' != ''">
|
||||||
|
<MakeDir Directories="$(SolutionDir)..\workdir\baseq3\" />
|
||||||
|
<Copy SourceFiles="$(_CopyOutputFile)" DestinationFolder="$(SolutionDir)..\workdir\baseq3\" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -954,4 +954,20 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Debug\qagamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug TA|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Debug_TA\qagamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Release\qagamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release TA|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Release_TA\qagamex86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Target Name="AfterBuild" Condition="'$(_CopyOutputFile)' != ''">
|
||||||
|
<MakeDir Directories="$(SolutionDir)..\workdir\baseq3\" />
|
||||||
|
<Copy SourceFiles="$(_CopyOutputFile)" DestinationFolder="$(SolutionDir)..\workdir\baseq3\" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -983,4 +983,20 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Debug\uix86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Release\uix86.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug TA|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Debug_TA\uix86_old.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release TA|Win32'">
|
||||||
|
<_CopyOutputFile>$(SolutionDir)Release_TA\uix86_old.dll</_CopyOutputFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Target Name="AfterBuild" Condition="'$(_CopyOutputFile)' != ''">
|
||||||
|
<MakeDir Directories="$(SolutionDir)..\workdir\baseq3\" />
|
||||||
|
<Copy SourceFiles="$(_CopyOutputFile)" DestinationFolder="$(SolutionDir)..\workdir\baseq3\" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -1158,4 +1158,8 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
<MakeDir Directories="$(SolutionDir)..\workdir\" />
|
||||||
|
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(SolutionDir)..\workdir\" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
Loading…
Reference in a new issue