forked from pgina/pgina
-
Notifications
You must be signed in to change notification settings - Fork 38
/
pGinaBuild.msbuild.xml
43 lines (36 loc) · 1.62 KB
/
pGinaBuild.msbuild.xml
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
<Project DefaultTargets="BuildAll" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
</PropertyGroup>
<ItemGroup>
<CoreSolution Include="pGina\src\pGina-3.x-vs2010.sln" />
<PluginSolutions Include="Plugins\**\*.sln" />
<OutputDirectories Include="Plugins\bin;pGina\src\bin;pGina\src\build" />
</ItemGroup>
<!-- Build everything -->
<Target Name="BuildAll" DependsOnTargets="BuildCore;BuildPlugins" />
<!-- Build core pGina -->
<Target Name="BuildCore">
<!-- Build 64 bit platform -->
<MSBuild Projects="@(CoreSolution)" ContinueOnError="false"
Properties="Configuration=$(Configuration);Platform=x64">
</MSBuild>
<!-- Build 32 bit platform -->
<MSBuild Projects="@(CoreSolution)" ContinueOnError="false"
Properties="Configuration=$(Configuration);Platform=Win32">
</MSBuild>
</Target>
<!-- Build all plugins -->
<Target Name="BuildPlugins">
<MSBuild Projects="@(PluginSolutions)" ContinueOnError="false"
Properties="Configuration=$(Configuration);Platform=Any CPU">
</MSBuild>
</Target>
<!-- Clean up -->
<Target Name="Clean">
<MSBuild Projects="@(CoreSolution)" Targets="Clean" Properties="Configuration=$(Configuration);Platform=x64" />
<MSBuild Projects="@(CoreSolution)" Targets="Clean" Properties="Configuration=$(Configuration);Platform=Win32" />
<MSBuild Projects="@(PluginSolutions)" Targets="Clean" Properties="Configuration=$(Configuration);Platform=Any CPU" />
<RemoveDir Directories="@(OutputDirectories)" />
</Target>
</Project>