-
Notifications
You must be signed in to change notification settings - Fork 0
/
BlindfoldChessTraining.fsproj
207 lines (181 loc) · 10.6 KB
/
BlindfoldChessTraining.fsproj
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<OutputType>Exe</OutputType>
<RootNamespace>BlindfoldChessTraining</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<EnableDefaultItems>false</EnableDefaultItems>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<!-- Display name -->
<ApplicationTitle>Blindfold Chess Training</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.github.mrdimosthenis.blindfoldchesstraining</ApplicationId>
<ApplicationIdGuid>5F56BE78-8F86-4D87-B049-6785A9B8D629</ApplicationIdGuid>
<!-- Versions -->
<ApplicationDisplayVersion>4.0.3</ApplicationDisplayVersion>
<ApplicationVersion>22</ApplicationVersion>
<TargetPlatformIdentifier Condition=" $(TargetPlatformIdentifier) == '' ">$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
<SupportedOSPlatformVersion Condition="$(TargetPlatformIdentifier) == 'ios'">14.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetPlatformIdentifier) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetPlatformIdentifier) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetPlatformIdentifier) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$(TargetPlatformIdentifier) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$(TargetPlatformIdentifier) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>
<!-- Signing for Android -->
<PropertyGroup Condition="$(TargetFramework.Contains('-android')) and '$(Configuration)' == 'Release'">
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>myapp.keystore</AndroidSigningKeyStore>
<AndroidSigningKeyAlias>nov2020_android_keystore</AndroidSigningKeyAlias>
<AndroidSigningKeyPass></AndroidSigningKeyPass>
<AndroidSigningStorePass></AndroidSigningStorePass>
</PropertyGroup>
<ItemGroup>
<Compile Include="Types.fs"/>
<Compile Include="Constants.fs"/>
<Compile Include="Resources.fs"/>
<Compile Include="DB.fs"/>
<Compile Include="Preferences.fs"/>
<Compile Include="Speech.fs"/>
<Compile Include="UIElems\Components.fs"/>
<Compile Include="UIElems\Icons.fs"/>
<Compile Include="UIElems\Board.fs"/>
<Compile Include="UIElems\PuzzleElems.fs"/>
<Compile Include="UIElems\Page.fs"/>
<Compile Include="Pages\Home.fs"/>
<Compile Include="Pages\EndgamePuzzles.fs"/>
<Compile Include="Pages\OpeningPuzzles.fs"/>
<Compile Include="Pages\Description.fs"/>
<Compile Include="Pages\Options.fs"/>
<Compile Include="Pages\Credits.fs"/>
<Compile Include="App.fs"/>
<Compile Include="MauiProgram.fs"/>
</ItemGroup>
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.png" Color="#512BD4"/>
<MauiAsset Include="Resources\Raw\endgame_puzzles.jsonl" LogicalName="%(RecursiveDir)%(Filename)%(Extension)"/>
<MauiAsset Include="Resources\Raw\opening_puzzles.jsonl" LogicalName="%(RecursiveDir)%(Filename)%(Extension)"/>
<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*"/>
<!-- Images -->
<MauiImage Include="Resources\Images\*"/>
<MauiImage Include="Resources\Images\main.png"/>
<MauiImage Include="Resources\Images\empty.png"/>
<MauiImage Include="Resources\Images\home_colored.png"/>
<MauiImage Include="Resources\Images\cube.png"/>
<MauiImage Include="Resources\Images\cube_colored.png"/>
<MauiImage Include="Resources\Images\library.png"/>
<MauiImage Include="Resources\Images\library_colored.png"/>
<MauiImage Include="Resources\Images\annotation.png"/>
<MauiImage Include="Resources\Images\annotation_colored.png"/>
<MauiImage Include="Resources\Images\options.png"/>
<MauiImage Include="Resources\Images\options_colored.png"/>
<MauiImage Include="Resources\Images\fingerprint.png"/>
<MauiImage Include="Resources\Images\fingerprint_colored.png"/>
<MauiImage Include="Resources\Images\arrow_circle_left.png"/>
<MauiImage Include="Resources\Images\arrow_circle_right.png"/>
<MauiImage Include="Resources\Images\fast_forward.png"/>
<MauiImage Include="Resources\Images\rewind.png"/>
<MauiImage Include="Resources\Images\chevron_double_left.png"/>
<MauiImage Include="Resources\Images\chevron_double_right.png"/>
<MauiImage Include="Resources\Images\chevron_left.png"/>
<MauiImage Include="Resources\Images\chevron_right.png"/>
<MauiImage Include="Resources\Images\chip.png"/>
<MauiImage Include="Resources\Images\speaker.png"/>
<MauiImage Include="Resources\Images\code.png"/>
<MauiImage Include="Resources\Images\id_card.png"/>
<MauiImage Include="Resources\Images\eye.png"/>
<MauiImage Include="Resources\Images\document.png"/>
<MauiImage Include="Resources\Images\share.png"/>
<MauiImage Include="Resources\Images\play_left.png"/>
<MauiImage Include="Resources\Images\exit.png"/>
<MauiImage Include="Resources\Images\star.png"/>
<MauiImage Include="Resources\Images\img1.png"/>
<MauiImage Include="Resources\Images\img2.png"/>
<MauiImage Include="Resources\Images\img3.png"/>
<MauiImage Include="Resources\Images\img4.png"/>
<MauiImage Include="Resources\Images\img5.png"/>
<MauiImage Include="Resources\Images\img6.png"/>
<MauiImage Include="Resources\Images\img7.png"/>
<MauiImage Include="Resources\Images\img8.png"/>
<MauiImage Include="Resources\Images\img_a.png"/>
<MauiImage Include="Resources\Images\img_b.png"/>
<MauiImage Include="Resources\Images\img_c.png"/>
<MauiImage Include="Resources\Images\img_d.png"/>
<MauiImage Include="Resources\Images\img_e.png"/>
<MauiImage Include="Resources\Images\img_f.png"/>
<MauiImage Include="Resources\Images\img_g.png"/>
<MauiImage Include="Resources\Images\img_h.png"/>
<MauiImage Include="Resources\Images\bb.png"/>
<MauiImage Include="Resources\Images\bk.png"/>
<MauiImage Include="Resources\Images\bn.png"/>
<MauiImage Include="Resources\Images\bp.png"/>
<MauiImage Include="Resources\Images\bq.png"/>
<MauiImage Include="Resources\Images\br.png"/>
<MauiImage Include="Resources\Images\wb.png"/>
<MauiImage Include="Resources\Images\wk.png"/>
<MauiImage Include="Resources\Images\wn.png"/>
<MauiImage Include="Resources\Images\wp.png"/>
<MauiImage Include="Resources\Images\wq.png"/>
<MauiImage Include="Resources\Images\wr.png"/>
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\*" LogicalName="%(RecursiveDir)%(Filename)%(Extension)"/>
<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.png" BaseSize="128,128"/>
</ItemGroup>
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'android'">
<AndroidResource Include="$(AndroidProjectFolder)Resources/*/*"/>
<AndroidResource Remove="$(AndroidProjectFolder)Resources/raw/.*"/>
<AndroidResource Update="$(AndroidProjectFolder)Resources/raw/*"/>
<AndroidAsset Include="$(AndroidProjectFolder)Assets/**/*" Exclude="$(AndroidProjectFolder)Assets/**/.*/**"/>
<AndroidManifest Include="$(AndroidProjectFolder)AndroidManifest.xml"/>
<Compile Include="$(AndroidProjectFolder)MainActivity.fs"/>
<Compile Include="$(AndroidProjectFolder)MainApplication.fs"/>
<PackageReference Include="FSharp.Android.Resource" Version="1.0.4"/>
</ItemGroup>
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'ios'">
<None Include="$(iOSProjectFolder)Info.plist" LogicalName="Info.plist"/>
<Compile Include="$(iOSProjectFolder)AppDelegate.fs"/>
<Compile Include="$(iOSProjectFolder)Program.fs"/>
</ItemGroup>
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'maccatalyst'">
<None Include="$(MacCatalystProjectFolder)Info.plist" LogicalName="Info.plist"/>
<Compile Include="$(MacCatalystProjectFolder)AppDelegate.fs"/>
<Compile Include="$(MacCatalystProjectFolder)Program.fs"/>
</ItemGroup>
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'windows'">
<Manifest Include="$(WindowsProjectFolder)app.manifest"/>
<AppxManifest Include="$(WindowsProjectFolder)Package.appxmanifest"/>
<Compile Include="$(WindowsProjectFolder)App.fs"/>
<Compile Include="$(WindowsProjectFolder)Main.fs"/>
<PackageReference Include="FSharp.Maui.WinUICompat" Version="1.1.0"/>
</ItemGroup>
<ItemGroup Condition="$(TargetPlatformIdentifier) == 'tizen'">
<TizenManifestFile Include="$(TizenProjectFolder)tizen-manifest.xml"/>
<Compile Include="$(TizenProjectFolder)Main.fs"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Fabulous" Version="2.2.1"/>
<PackageReference Include="Fabulous.MauiControls" Version="2.5.1"/>
<PackageReference Include="FSharp.Core" Version="7.0.200"/>
<PackageReference Include="FSharp.Data" Version="6.2.0"/>
<PackageReference Include="FSharpx.Collections" Version="3.1.0"/>
<PackageReference Include="sqlite-net-pcl" Version="1.8.116"/>
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.4"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="BlindfoldChessMechanics\BlindfoldChessMechanics.fsproj"/>
</ItemGroup>
<Target Name="ConfigureTrimming" BeforeTargets="PrepareForILLink">
<ItemGroup>
<ManagedAssemblyToLink Condition="'%(Filename)' == 'System.Private.CoreLib'">
<IsTrimmable>false</IsTrimmable>
</ManagedAssemblyToLink>
</ItemGroup>
</Target>
</Project>