OSDN Git Service

na-get-lib,アンインストール処理の中途終了に対応。
[applistation/AppliStation.git] / AppliStation.proj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Dist" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
4   <PropertyGroup>
5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
7     <DistDir>dist</DistDir>
8     <AllGetBinDir>all-get/bin/$(Configuration)</AllGetBinDir>
9     <ArchiveInstBinDir>archive-inst/bin/$(Configuration)</ArchiveInstBinDir>
10     <AppliStationBinDir>AppliStation/bin/$(Configuration)</AppliStationBinDir>
11   </PropertyGroup>
12
13   <ItemGroup>
14     <RepositoriesList Include="repos.list.xml" />
15   </ItemGroup>
16
17   <ItemGroup>
18     <AllGetBin Include="$(AllGetBinDir)/*.exe;$(AllGetBinDir)/*.dll" />
19     <ArchiveInstBin Include="$(ArchiveInstBinDir)/*.exe" />
20     <AppliStationBin Include="$(AppliStationBinDir)/*.png;$(AppliStationBinDir)/*.exe" />
21   </ItemGroup>
22
23   <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
24     <AllGetBin Include="$(AllGetBinDir)/*.exe;$(AllGetBinDir)/*.dll;$(AllGetBinDir)/*.pdb" />
25     <ArchiveInstBin Include="$(ArchiveInstBinDir)/*.exe;$(ArchiveInstBinDir)/*.pdb" />
26     <AppliStationBin Include="$(AppliStationBinDir)/*.png;$(AppliStationBinDir)/*.exe;$(AppliStationBinDir)/*.pdb" />
27   </ItemGroup>
28
29   <Target Name="na-get-lib">
30     <MSBuild Projects="na-get-lib/na-get-lib.csproj" Properties="Configuration=$(Configuration)" />
31   </Target>
32   <Target Name="all-get" DependsOnTargets="na-get-lib">
33     <MSBuild Projects="all-get/all-get.csproj" Properties="Configuration=$(Configuration)" />
34   </Target>
35   <Target Name="archive-inst" DependsOnTargets="na-get-lib">
36     <MSBuild Projects="archive-inst/archive-inst.csproj" Properties="Configuration=$(Configuration)" />
37   </Target>
38   <Target Name="AppliStation" DependsOnTargets="na-get-lib">
39     <MSBuild Projects="AppliStation/AppliStation.csproj" Properties="Configuration=$(Configuration)" />
40   </Target>
41   <Target Name="test-na-get-lib" DependsOnTargets="na-get-lib">
42     <MSBuild Projects="test-na-get-lib/test-na-get-lib.csproj" Properties="Configuration=$(Configuration)" />
43   </Target>
44
45   <Target Name="Build">
46     <CallTarget Targets="na-get-lib;all-get;archive-inst;AppliStation" RunEachTargetSeparately="true" />
47   </Target>
48
49   <Target Name="BuildTest">
50     <CallTarget Targets="test-na-get-lib" RunEachTargetSeparately="true" />
51   </Target>
52
53   <Target Name="Dist">
54     <MakeDir Directories="$(DistDir)" />
55
56     <Copy SourceFiles="@(AllGetBin)" DestinationFolder="$(DistDir)" />
57     <Copy SourceFiles="@(RepositoriesList)" DestinationFolder="$(DistDir)" />
58     <Copy SourceFiles="@(ArchiveInstBin)" DestinationFolder="$(DistDir)" />
59     <Copy SourceFiles="@(AppliStationBin)" DestinationFolder="$(DistDir)" />
60   </Target>
61
62 </Project>