Skip to content
Permalink
Browse files

[Build] Package build improvements (part 3)

  • Loading branch information
xen2 committed Nov 29, 2018
1 parent 24799e4 commit 15a05d9a3d1a55c396605b7c6afaaa3fc3dbdc2f
Showing with 10 additions and 5 deletions.
  1. +10 −5 build/Xenko.build
@@ -140,6 +140,11 @@ Example of use:
<CallTarget Targets="Restore"/>
<MSBuild Targets="Build" Projects="$(XenkoSolution).sln" Properties="$(BuildProperties)"/>
</Target>

<Target Name="BuildWindows" DependsOnTargets="CopyXenkoKey">
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).sln"' />
<MSBuild Targets="Build" Projects="$(XenkoSolution).sln" Properties="$(BuildProperties);XenkoSkipAutoPack=true;XenkoSkipUnitTests=true"/>
</Target>

<Target Name="BuildWindowsDirect3D11" DependsOnTargets="CopyXenkoKey">
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).Runtime.sln"' />
@@ -179,8 +184,8 @@ Example of use:
<Target Name="BuildWindows10" DependsOnTargets="BuildUWP" />

<Target Name="BuildUWP" DependsOnTargets="CopyXenkoKey">
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).UWP.sln"' />
<MSBuild Targets="Build" Projects="$(XenkoSolution).UWP.sln" Properties="$(BuildProperties);Platform=UWP;XenkoSkipAutoPack=true;XenkoSkipUnitTests=true"/>
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).Runtime.sln"' />
<MSBuild Targets="Build" Projects="$(XenkoSolution).Runtime.sln" Properties="$(BuildProperties);XenkoPlatforms=UWP;XenkoSkipAutoPack=true;XenkoSkipUnitTests=true"/>
</Target>

<Target Name="BuildWindowsPhone" DependsOnTargets="CopyXenkoKey">
@@ -194,13 +199,13 @@ Example of use:
</Target>

<Target Name="BuildLinux" DependsOnTargets="CopyXenkoKey">
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).Linux.sln"' />
<MSBuild Targets="Build" Projects="$(XenkoSolution).Linux.sln" Properties="$(BuildProperties);Platform=Linux"/>
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).Runtime.sln"' />
<MSBuild Targets="Build" Projects="$(XenkoSolution).Runtime.sln" Properties="$(BuildProperties);XenkoPlatforms=Linux;XenkoSkipAutoPack=true;XenkoSkipUnitTests=true"/>
</Target>

<Target Name="BuildLinuxVulkan" DependsOnTargets="CopyXenkoKey">
<Exec Command='"$(NuGetPath)" restore "$(XenkoSolution).Linux.Vulkan.sln"' />
<MSBuild Targets="Build" Projects="$(XenkoSolution).Linux.Vulkan.sln" Properties="$(BuildProperties);Platform=Linux"/>
<MSBuild Targets="Build" Projects="$(XenkoSolution).Linux.Vulkan.sln" Properties="$(BuildProperties);XenkoPlatforms=Linux;XenkoGraphicsApi=Vulkan;XenkoSkipAutoPack=true;XenkoSkipUnitTests=true""/>
</Target>
<Target Name="BuildmacOS" DependsOnTargets="CopyXenkoKey">

0 comments on commit 15a05d9

Please sign in to comment.
You can’t perform that action at this time.