blob: 99064ece878122193114f1feb213fefe63bcd703 (
plain)
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
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)' == ''">
<Configuration>Release</Configuration>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == ''">
<Platform>Win32</Platform>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)\..\..\config\Ice.common.targets" />
<!-- Restore NuGet packages -->
<Target Name="NuGetRestore" DependsOnTargets="GetNuGet">
<Exec Command="$(NuGetExe) restore $(MSBuildThisFileDirectory)ice.sln"/>
</Target>
<ItemGroup>
<DistProjects Include="ice.sln">
<Properties>Configuration=$(Configuration);Platform=$(Platform)</Properties>
</DistProjects>
<DistProjects Include="..\python\**\msbuild\*.proj">
<Properties>Configuration=$(Configuration);Platform=$(Platform)</Properties>
</DistProjects>
</ItemGroup>
<Target Name="Build" DependsOnTargets="NuGetRestore">
<MSBuild Projects="@(DistProjects)"
BuildInParallel="false"
Properties="%(Properties)" />
</Target>
<Target Name="Clean">
<MSBuild Projects="@(DistProjects)"
BuildInParallel="true"
Properties="%(Properties)"
Targets="Clean" />
</Target>
</Project>
|