| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 |
<PropertyGroup> |
| 4 |
<LayoutOutputFolder>$(MSBuildProjectDirectory)\..\..\Layout\Rx\</LayoutOutputFolder> |
| 5 |
<SetupOutputFolder>$(MSBuildProjectDirectory)\..\..\Setup\Rx\</SetupOutputFolder> |
| 6 |
</PropertyGroup> |
| 7 |
|
| 8 |
<!-- Current platforms --> |
| 9 |
|
| 10 |
<ItemGroup> |
| 11 |
<!-- Important: The HomoIcon build task requires the 4.0 builds to appear first! (currently disabled) --> |
| 12 |
<Flavor Include="Rx.sln"> |
| 13 |
<Configuration>Debug40</Configuration> |
| 14 |
</Flavor> |
| 15 |
<Flavor Include="Rx.sln"> |
| 16 |
<Configuration>Release40</Configuration> |
| 17 |
</Flavor> |
| 18 |
<Flavor Include="Rx.sln"> |
| 19 |
<Configuration>Debug45</Configuration> |
| 20 |
</Flavor> |
| 21 |
<Flavor Include="Rx.sln"> |
| 22 |
<Configuration>Release45</Configuration> |
| 23 |
</Flavor> |
| 24 |
<Flavor Include="Rx.sln"> |
| 25 |
<Configuration>Debug8</Configuration> |
| 26 |
</Flavor> |
| 27 |
<Flavor Include="Rx.sln"> |
| 28 |
<Configuration>Release8</Configuration> |
| 29 |
</Flavor> |
| 30 |
<Flavor Include="Rx.sln"> |
| 31 |
<Configuration>DebugPL</Configuration> |
| 32 |
</Flavor> |
| 33 |
<Flavor Include="Rx.sln"> |
| 34 |
<Configuration>ReleasePL</Configuration> |
| 35 |
</Flavor> |
| 36 |
<Flavor Include="Rx.sln"> |
| 37 |
<Configuration>DebugPLLITE</Configuration> |
| 38 |
</Flavor> |
| 39 |
<Flavor Include="Rx.sln"> |
| 40 |
<Configuration>ReleasePLLITE</Configuration> |
| 41 |
</Flavor> |
| 42 |
<Flavor Include="Rx.sln"> |
| 43 |
<Configuration>DebugWP7</Configuration> |
| 44 |
</Flavor> |
| 45 |
<Flavor Include="Rx.sln"> |
| 46 |
<Configuration>ReleaseWP7</Configuration> |
| 47 |
</Flavor> |
| 48 |
<Flavor Include="Rx.sln"> |
| 49 |
<Configuration>DebugSL5</Configuration> |
| 50 |
</Flavor> |
| 51 |
<Flavor Include="Rx.sln"> |
| 52 |
<Configuration>ReleaseSL5</Configuration> |
| 53 |
</Flavor> |
| 54 |
</ItemGroup> |
| 55 |
|
| 56 |
|
| 57 |
<!-- Legacy platforms --> |
| 58 |
|
| 59 |
<ItemGroup> |
| 60 |
<Flavor Include="Rx.sln"> |
| 61 |
<Configuration>DebugSL4</Configuration> |
| 62 |
</Flavor> |
| 63 |
<Flavor Include="Rx.sln"> |
| 64 |
<Configuration>ReleaseSL4</Configuration> |
| 65 |
</Flavor> |
| 66 |
<Flavor Include="Rx.sln"> |
| 67 |
<Configuration>Debug35</Configuration> |
| 68 |
</Flavor> |
| 69 |
<Flavor Include="Rx.sln"> |
| 70 |
<Configuration>Release35</Configuration> |
| 71 |
</Flavor> |
| 72 |
<Flavor Include="Rx.sln"> |
| 73 |
<Configuration>DebugXNA4</Configuration> |
| 74 |
</Flavor> |
| 75 |
<Flavor Include="Rx.sln"> |
| 76 |
<Configuration>ReleaseXNA4</Configuration> |
| 77 |
</Flavor> |
| 78 |
</ItemGroup> |
| 79 |
|
| 80 |
|
| 81 |
<!-- Future platforms --> |
| 82 |
|
| 83 |
<ItemGroup> |
| 84 |
<Flavor Include="Rx.sln"> |
| 85 |
<Configuration>DebugWP8</Configuration> |
| 86 |
</Flavor> |
| 87 |
<Flavor Include="Rx.sln"> |
| 88 |
<Configuration>ReleaseWP8</Configuration> |
| 89 |
</Flavor> |
| 90 |
</ItemGroup> |
| 91 |
|
| 92 |
|
| 93 |
<Target Name="ExpandFlavors"> |
| 94 |
<CreateItem Include="@(Flavor)" AdditionalMetadata="Properties=Configuration=%(Flavor.Configuration)%3BPlatform=Any CPU%3BOutDir=$(LayoutOutputFolder)\%(Flavor.Configuration)\"> |
| 95 |
<Output TaskParameter="Include" ItemName="ProjectToBuild" /> |
| 96 |
</CreateItem> |
| 97 |
<CreateItem Include="..\..\Private\Setup\BuildAll.proj" AdditionalMetadata="Properties=BinariesLayoutFolder=$(LayoutOutputFolder)%3BOutDir=$(SetupOutputFolder)" Condition=" '$(BuildSetup)' == '1' "> |
| 98 |
<Output TaskParameter="Include" ItemName="SetupToBuild" /> |
| 99 |
</CreateItem> |
| 100 |
</Target> |
| 101 |
<Target Name="Build" DependsOnTargets="ExpandFlavors"> |
| 102 |
<MSBuild Projects="@(ProjectToBuild)" Targets="Build" /> |
| 103 |
<MSBuild Projects="@(SetupToBuild)" Targets="Build" /> |
| 104 |
</Target> |
| 105 |
<Target Name="Clean" DependsOnTargets="ExpandFlavors"> |
| 106 |
<MSBuild Projects="@(ProjectToBuild)" Targets="Clean" /> |
| 107 |
<MSBuild Projects="@(SetupToBuild)" Targets="Clean" /> |
| 108 |
</Target> |
| 109 |
<Target Name="Rebuild" DependsOnTargets="ExpandFlavors"> |
| 110 |
<MSBuild Projects="@(ProjectToBuild)" Targets="Rebuild" /> |
| 111 |
<MSBuild Projects="@(SetupToBuild)" Targets="Rebuild" /> |
| 112 |
</Target> |
| 113 |
</Project> |