mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
19 lines
1.5 KiB
XML
19 lines
1.5 KiB
XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
|
<PropertyGroup>
|
|
<RobustToolsPath>$(MSBuildThisFileDirectory)/../Tools/</RobustToolsPath>
|
|
</PropertyGroup>
|
|
<Target Name="CopySwnfd">
|
|
<Exec Condition="'$(Platform)' == 'x64'" Command="$(Python) '$(RobustToolsPath)/download_swnfd.py' $(Platform) $(TargetOS) $(OutputPath)" CustomErrorRegularExpression="^Error" />
|
|
<Warning Condition="'$(Platform)' != 'x64'" Text="Did not download swnfd because the platform is not set to x64. Only use this build for unit testing!" />
|
|
</Target>
|
|
<Target Name="CopyGlfw">
|
|
<Exec Condition="'$(Platform)' == 'x64'" Command="$(Python) '$(RobustToolsPath)/download glfw.py' $(Platform) $(TargetOS) $(OutputPath)" CustomErrorRegularExpression="^Error" />
|
|
<Warning Condition="'$(Platform)' != 'x64'" Text="Did not download GLFW because the platform is not set to x64. Only use this build for unit testing!" />
|
|
</Target>
|
|
<Target Name="CopyMiscDependencies">
|
|
<Exec Condition="'$(Platform)' == 'x64'" Command="$(Python) '$(RobustToolsPath)/download_misc_dependencies.py' $(Platform) $(TargetOS) $(OutputPath)" CustomErrorRegularExpression="^Error" />
|
|
<Warning Condition="'$(Platform)' != 'x64'" Text="Did not download misc dependencies because the platform is not set to x64. Only use this build for unit testing!" />
|
|
</Target>
|
|
<Target Name="ClientAfterBuild" DependsOnTargets="CopyMiscDependencies;CopySwnfd;CopyGlfw" />
|
|
</Project>
|