mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
* Try to fix Windows builds... * AppVeyor stop being drunk. * Attempt 3
28 lines
1.9 KiB
XML
28 lines
1.9 KiB
XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
|
<PropertyGroup>
|
|
<RobustToolsPath>$(MSBuildThisFileDirectory)/../Tools/</RobustToolsPath>
|
|
</PropertyGroup>
|
|
<Target Name="CopySwnfd">
|
|
<CombinePath BasePath="$(RobustToolsPath)" Paths="download_swnfd.py">
|
|
<Output TaskParameter="CombinedPaths" PropertyName="ScriptPath" />
|
|
</CombinePath>
|
|
<Exec Condition="'$(Platform)' == 'x64'" Command="$(Python) "$(ScriptPath)" $(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">
|
|
<CombinePath BasePath="$(RobustToolsPath)" Paths="download_glfw.py">
|
|
<Output TaskParameter="CombinedPaths" PropertyName="ScriptPath" />
|
|
</CombinePath>
|
|
<Exec Condition="'$(Platform)' == 'x64'" Command="$(Python) "$(ScriptPath)" $(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">
|
|
<CombinePath BasePath="$(RobustToolsPath)" Paths="download_misc_dependencies.py">
|
|
<Output TaskParameter="CombinedPaths" PropertyName="ScriptPath" />
|
|
</CombinePath>
|
|
<Exec Condition="'$(Platform)' == 'x64'" Command="$(Python) "$(ScriptPath)" $(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>
|