|
| 1 | +<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> |
| 2 | +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> |
| 3 | + |
| 4 | + <ItemGroup Condition="'$(BUILD_NET40)'=='1'"> |
| 5 | + <ProjectsWithDefaultFramework Include="src/fsharp-library-build.proj" /> |
| 6 | + <ProjectsWithDefaultFramework Include="src/fsharp-compiler-build.proj" /> |
| 7 | + </ItemGroup> |
| 8 | + |
| 9 | + <ItemGroup> |
| 10 | + <ProjectsWithDefaultFramework Include="src/fsharp-library-unittests-build.proj" Condition="'$(TEST_NET40_COREUNIT)'=='1'" /> |
| 11 | + <ProjectsWithDefaultFramework Include="src/fsharp-compiler-unittests-build.proj" Condition="'$(TEST_COMPILERUNIT)'=='1'" /> |
| 12 | + <ProjectsWithDefaultFramework Include="tests/fsharp/FSharp.Tests.fsproj" Condition="'$(TEST_FSHARP_SUITE)'=='1'" /> |
| 13 | + </ItemGroup> |
| 14 | + |
| 15 | + <ItemGroup> |
| 16 | + <ProjectsWithPortableFramework Include="src/fsharp-library-build.proj" Condition="'$(BUILD_PORTABLE)'=='1'"/> |
| 17 | + <ProjectsWithPortableFramework Include="src/fsharp-library-unittests-build.proj" Condition="'$(TEST_PORTABLE_COREUNIT)'=='1'" /> |
| 18 | + </ItemGroup> |
| 19 | + |
| 20 | + <ItemGroup Condition="'$(BUILD_VS)'=='1'"> |
| 21 | + <ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-src-build.proj" /> |
| 22 | + <ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-project-templates-build.proj" /> |
| 23 | + <ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-item-templates-build.proj" /> |
| 24 | + <ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-deployment-build.proj" /> |
| 25 | + </ItemGroup> |
| 26 | + |
| 27 | + <ItemGroup> |
| 28 | + <ProjectsWithDefaultFramework Include="vsintegration/fsharp-vsintegration-unittests-build.proj" Condition="'$(TEST_VS)'=='1'" /> |
| 29 | + </ItemGroup> |
| 30 | + |
| 31 | + <ItemGroup Condition="'$(BUILD_CORECLR)'=='1'"> |
| 32 | + <ProjectsWithCoreClr Include="src/fsharp-library-build.proj" /> |
| 33 | + <ProjectsWithCoreClr Include="src/fsharp-compiler-build.proj" /> |
| 34 | + </ItemGroup> |
| 35 | + |
| 36 | + <ItemGroup> |
| 37 | + <ProjectsWithCoreClr Include="src/fsharp-library-unittests-build.proj" Condition="'$(TEST_CORECLR)'=='1'" /> |
| 38 | + </ItemGroup> |
| 39 | + |
| 40 | + <Target Name="Build"> |
| 41 | + <MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration)" /> |
| 42 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable7" /> |
| 43 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable47" /> |
| 44 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable78" /> |
| 45 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Build" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable259" /> |
| 46 | + <MSBuild Projects="@(ProjectsWithCoreClr)" Targets="Build" BuildInParallel="false" Properties="Configuration=$(Configuration);TargetFramework=coreclr" /> |
| 47 | + </Target> |
| 48 | + |
| 49 | + <Target Name="Rebuild"> |
| 50 | + <MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration)" /> |
| 51 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable7" /> |
| 52 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable47" /> |
| 53 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable78" /> |
| 54 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Rebuild" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable259" /> |
| 55 | + <MSBuild Projects="@(ProjectsWithCoreClr)" Targets="Rebuild" BuildInParallel="false" Properties="Configuration=$(Configuration);TargetFramework=coreclr" /> |
| 56 | + </Target> |
| 57 | + |
| 58 | + <Target Name="Clean"> |
| 59 | + <MSBuild Projects="@(ProjectsWithDefaultFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration)" /> |
| 60 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable7" /> |
| 61 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable47" /> |
| 62 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable78" /> |
| 63 | + <MSBuild Projects="@(ProjectsWithPortableFramework)" Targets="Clean" BuildInParallel="true" Properties="Configuration=$(Configuration);TargetFramework=portable259" /> |
| 64 | + <MSBuild Projects="@(ProjectsWithCoreClr)" Targets="Clean" BuildInParallel="false" Properties="Configuration=$(Configuration);TargetFramework=coreclr" /> |
| 65 | + </Target> |
| 66 | +</Project> |
0 commit comments