-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
BuildAllTargets.proj
55 lines (55 loc) · 2.47 KB
/
BuildAllTargets.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets="Restore;Build;Packaging"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Restore">
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Debug;Platform=x64</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Release;Platform=x64</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<MSBuild
Projects="@(ProjectReference)"
Targets="Restore"
StopOnFirstFailure="True"
Properties="PreferredToolArchitecture=x64" />
</Target>
<Target Name="Build">
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Debug;Platform=x86</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Release;Platform=x86</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Debug;Platform=x64</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Release;Platform=x64</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Debug;Platform=ARM64</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.Aria2.sln">
<AdditionalProperties>Configuration=Release;Platform=ARM64</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<MSBuild
Projects="@(ProjectReference)"
Targets="Build"
BuildInParallel="True"
StopOnFirstFailure="True"
Properties="PreferredToolArchitecture=x64" />
</Target>
<Target Name="Packaging">
<MSBuild
Projects="$(MSBuildThisFileDirectory)Mile.Project.Windows\Mile.Project.NuGetPackaging.proj"
Targets="Restore;Build"
StopOnFirstFailure="True"
Properties="PreferredToolArchitecture=x64;NuspecFile=$(MSBuildThisFileDirectory)Mile.Aria2\Mile.Aria2.nuspec" />
</Target>
</Project>