BuildAll.proj 3.7 KB

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