-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildAllTargets.proj
43 lines (43 loc) · 1.73 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
<?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.FFmpeg.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.FFmpeg.sln">
<AdditionalProperties>Configuration=Release;Platform=x86</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.FFmpeg.sln">
<AdditionalProperties>Configuration=Release;Platform=x64</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="$(MSBuildThisFileDirectory)Mile.FFmpeg.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.FFmpeg\Mile.FFmpeg.nuspec" />
</Target>
</Project>