-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathAlimer.MultiTargeting.targets
49 lines (41 loc) · 1.62 KB
/
Alimer.MultiTargeting.targets
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
44
45
46
47
48
49
<Project>
<ItemGroup>
<Compile Remove="Platforms\**\*.cs" />
<None Include="Platforms\**\*.cs" />
</ItemGroup>
<!-- Standard -->
<ItemGroup Condition=" '$(_AlimerNoTargetPlatform)' == 'True' ">
<None Remove="Platforms\Standard\**\*.cs" />
<Compile Include="Platforms\Standard\**\*.cs" />
</ItemGroup>
<!-- Windows WPF -->
<ItemGroup Condition=" '$(_AlimerTargetPlatformIsWindowsClassic)' == 'True' ">
<Using Include="System.IO" />
<Using Include="System.Net.Http" />
<None Remove="Platforms\Windows\**\*.cs" />
<Compile Include="Platforms\Windows\**\*.cs" />
</ItemGroup>
<PropertyGroup Condition=" '$(_AlimerTargetPlatformIsWindowsClassic)' == 'True' ">
<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>
</PropertyGroup>
<!-- WinUI -->
<ItemGroup Condition=" '$(_AlimerTargetPlatformIsWinUI)' == 'True' ">
<None Remove="Platforms\WinUI\**\*.cs" />
<Compile Include="Platforms\WinUI\**\*.cs" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<!--<PackageReference Include="Microsoft.Graphics.Win2D" />-->
</ItemGroup>
<PropertyGroup Condition=" '$(_AlimerTargetPlatformIsWinUI)' == 'True' ">
<PublishAot>false</PublishAot>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<UseWinUI>true</UseWinUI>
<EnableMsixTooling>true</EnableMsixTooling>
</PropertyGroup>
<!-- Android -->
<ItemGroup Condition=" '$(_AlimerTargetPlatformIsAndroid)' == 'True' ">
<None Remove="Platforms\Android\**\*.cs" />
<Compile Include="Platforms\Android\**\*.cs" />
</ItemGroup>
</Project>