• R/O
  • HTTP
  • SSH
  • HTTPS

heapsort: 提交


Commit MetaInfo

修訂6cde0ffe786fb84167aa15a65e0de7691aff416c (tree)
時間2022-01-22 21:56:33
作者yamat0jp <yamat0jp@yaho...>
Commiteryamat0jp

Log Message

merge sort まであるな。

Change Summary

差異

--- a/Project1.dpr
+++ b/Project1.dpr
@@ -3,7 +3,8 @@ program Project1;
33 uses
44 Vcl.Forms,
55 Unit1 in 'Unit1.pas' {Form1},
6- Unit2 in 'Unit2.pas';
6+ Unit2 in 'Unit2.pas',
7+ header in 'header.pas';
78
89 {$R *.res}
910
--- a/Project1.dproj
+++ b/Project1.dproj
@@ -88,6 +88,7 @@
8888 <FormType>dfm</FormType>
8989 </DCCReference>
9090 <DCCReference Include="Unit2.pas"/>
91+ <DCCReference Include="header.pas"/>
9192 <BuildConfiguration Include="Release">
9293 <Key>Cfg_2</Key>
9394 <CfgParent>Base</CfgParent>
--- a/ProjectGroup1.groupproj
+++ b/ProjectGroup1.groupproj
@@ -9,6 +9,12 @@
99 <Projects Include="Project1.dproj">
1010 <Dependencies/>
1111 </Projects>
12+ <Projects Include="mk_array.dproj">
13+ <Dependencies/>
14+ </Projects>
15+ <Projects Include="merge.dproj">
16+ <Dependencies/>
17+ </Projects>
1218 </ItemGroup>
1319 <ProjectExtensions>
1420 <Borland.Personality>Default.Personality.12</Borland.Personality>
@@ -35,14 +41,32 @@
3541 <Target Name="Project1:Make">
3642 <MSBuild Projects="Project1.dproj" Targets="Make"/>
3743 </Target>
44+ <Target Name="mk_array">
45+ <MSBuild Projects="mk_array.dproj"/>
46+ </Target>
47+ <Target Name="mk_array:Clean">
48+ <MSBuild Projects="mk_array.dproj" Targets="Clean"/>
49+ </Target>
50+ <Target Name="mk_array:Make">
51+ <MSBuild Projects="mk_array.dproj" Targets="Make"/>
52+ </Target>
53+ <Target Name="merge">
54+ <MSBuild Projects="merge.dproj"/>
55+ </Target>
56+ <Target Name="merge:Clean">
57+ <MSBuild Projects="merge.dproj" Targets="Clean"/>
58+ </Target>
59+ <Target Name="merge:Make">
60+ <MSBuild Projects="merge.dproj" Targets="Make"/>
61+ </Target>
3862 <Target Name="Build">
39- <CallTarget Targets="heap_sort;Project1"/>
63+ <CallTarget Targets="heap_sort;Project1;mk_array;merge"/>
4064 </Target>
4165 <Target Name="Clean">
42- <CallTarget Targets="heap_sort:Clean;Project1:Clean"/>
66+ <CallTarget Targets="heap_sort:Clean;Project1:Clean;mk_array:Clean;merge:Clean"/>
4367 </Target>
4468 <Target Name="Make">
45- <CallTarget Targets="heap_sort:Make;Project1:Make"/>
69+ <CallTarget Targets="heap_sort:Make;Project1:Make;mk_array:Make;merge:Make"/>
4670 </Target>
4771 <Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
4872 </Project>
--- a/Unit2.pas
+++ b/Unit2.pas
@@ -13,6 +13,8 @@ var
1313
1414 implementation
1515
16+uses header;
17+
1618 procedure base(root: integer);
1719 var
1820 i, work: integer;
@@ -45,26 +47,12 @@ end;
4547
4648 procedure makeHeap(count: integer);
4749 var
48- list: TList<integer>;
49- i, j: integer;
50+ i: integer;
5051 begin
51- Randomize;
52- list := TList<integer>.Create;
53- try
54- for i := 1 to count do
55- list.Add(i);
56- heap := [0];
57- for i := 1 to count do
58- begin
59- j := Random(list.count);
60- heap := heap + [list[j]];
61- inc(tail);
62- list.Delete(j);
63- end;
64- finally
65- list.Free;
66- end;
67- for i := tail - 1 downto 1 do
52+ make_array(count, count, heap);
53+ tail := count;
54+ heap:=[0]+heap;
55+ for i := tail downto 1 do
6856 base(i);
6957 end;
7058
--- /dev/null
+++ b/header.pas
@@ -0,0 +1,11 @@
1+unit header;
2+
3+interface
4+
5+procedure make_array(count, max: integer; out arr: TArray<integer>);
6+
7+implementation
8+
9+procedure make_array; external 'mk_array';
10+
11+end.
--- a/heap_sort.dpr
+++ b/heap_sort.dpr
@@ -6,7 +6,8 @@ program heap_sort;
66 uses
77 System.SysUtils,
88 System.Classes,
9- System.Generics.Collections;
9+ System.Generics.Collections,
10+ header in 'header.pas';
1011
1112 var
1213 heap: TArray<integer>;
@@ -45,26 +46,12 @@ end;
4546
4647 procedure makeHeap(count: integer);
4748 var
48- list: TList<integer>;
49- i, j: integer;
49+ i: integer;
5050 begin
51- Randomize;
52- list := TList<integer>.Create;
53- try
54- for i := 1 to count do
55- list.Add(i);
56- heap := [0];
57- for i := 1 to count do
58- begin
59- j := Random(list.count);
60- heap := heap + [list[j]];
61- inc(tail);
62- list.Delete(j);
63- end;
64- finally
65- list.Free;
66- end;
67- for i := tail - 1 downto 1 do
51+ make_array(count, count, heap);
52+ heap:=[0]+heap;
53+ tail:=count;
54+ for i := tail downto 1 do
6855 base(i);
6956 end;
7057
@@ -74,9 +61,9 @@ var
7461 begin
7562 while tail >= 1 do
7663 begin
77- i:=heap[1];
64+ i := heap[1];
7865 heap[1] := heap[tail];
79- heap[tail]:=i;
66+ heap[tail] := i;
8067 dec(tail);
8168 base(1);
8269 end;
--- a/heap_sort.dproj
+++ b/heap_sort.dproj
@@ -82,6 +82,7 @@
8282 <DelphiCompile Include="$(MainSource)">
8383 <MainSource>MainSource</MainSource>
8484 </DelphiCompile>
85+ <DCCReference Include="header.pas"/>
8586 <BuildConfiguration Include="Release">
8687 <Key>Cfg_2</Key>
8788 <CfgParent>Base</CfgParent>
--- /dev/null
+++ b/merge.dpr
@@ -0,0 +1,60 @@
1+program merge;
2+
3+{$APPTYPE CONSOLE}
4+{$R *.res}
5+
6+uses
7+ System.SysUtils,
8+ System.Generics.Collections,
9+ header in 'header.pas';
10+
11+var
12+ arr: TArray<integer>;
13+
14+procedure main(var item: TArray<integer>);
15+var
16+ left, right: TArray<integer>;
17+ i: integer;
18+begin
19+ if Length(item) = 1 then
20+ Exit;
21+ left := [];
22+ right := [];
23+ i := 0;
24+ while i < Length(item) div 2 do
25+ begin
26+ left := left + [item[i]];
27+ inc(i);
28+ end;
29+ while i < Length(item) do
30+ begin
31+ right := right + [item[i]];
32+ inc(i);
33+ end;
34+ main(left);
35+ main(right);
36+ item := left + right;
37+ TArray.Sort<integer>(item);
38+end;
39+
40+procedure print;
41+var
42+ i: integer;
43+begin
44+ for i in arr do
45+ Writeln(i);
46+end;
47+
48+begin
49+ try
50+ { TODO -oUser -cConsole メイン : ここにコードを記述してください }
51+ make_array(10, 100, arr);
52+ main(arr);
53+ print;
54+ Readln;
55+ except
56+ on E: Exception do
57+ Writeln(E.ClassName, ': ', E.Message);
58+ end;
59+
60+end.
--- /dev/null
+++ b/merge.dproj
@@ -0,0 +1,480 @@
1+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+ <PropertyGroup>
3+ <ProjectGuid>{139F3D63-2C87-4F1C-99BE-BA6EF6C608B2}</ProjectGuid>
4+ <ProjectVersion>16.1</ProjectVersion>
5+ <FrameworkType>None</FrameworkType>
6+ <MainSource>merge.dpr</MainSource>
7+ <Base>True</Base>
8+ <Config Condition="'$(Config)'==''">Debug</Config>
9+ <Platform Condition="'$(Platform)'==''">Win32</Platform>
10+ <TargetedPlatforms>1</TargetedPlatforms>
11+ <AppType>Console</AppType>
12+ </PropertyGroup>
13+ <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14+ <Base>true</Base>
15+ </PropertyGroup>
16+ <PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
17+ <Base_Android>true</Base_Android>
18+ <CfgParent>Base</CfgParent>
19+ <Base>true</Base>
20+ </PropertyGroup>
21+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
22+ <Base_Win32>true</Base_Win32>
23+ <CfgParent>Base</CfgParent>
24+ <Base>true</Base>
25+ </PropertyGroup>
26+ <PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
27+ <Base_Win64>true</Base_Win64>
28+ <CfgParent>Base</CfgParent>
29+ <Base>true</Base>
30+ </PropertyGroup>
31+ <PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
32+ <Cfg_1>true</Cfg_1>
33+ <CfgParent>Base</CfgParent>
34+ <Base>true</Base>
35+ </PropertyGroup>
36+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
37+ <Cfg_1_Win32>true</Cfg_1_Win32>
38+ <CfgParent>Cfg_1</CfgParent>
39+ <Cfg_1>true</Cfg_1>
40+ <Base>true</Base>
41+ </PropertyGroup>
42+ <PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
43+ <Cfg_2>true</Cfg_2>
44+ <CfgParent>Base</CfgParent>
45+ <Base>true</Base>
46+ </PropertyGroup>
47+ <PropertyGroup Condition="'$(Base)'!=''">
48+ <SanitizedProjectName>merge</SanitizedProjectName>
49+ <DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
50+ <DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
51+ <DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
52+ <DCC_E>false</DCC_E>
53+ <DCC_N>false</DCC_N>
54+ <DCC_S>false</DCC_S>
55+ <DCC_F>false</DCC_F>
56+ <DCC_K>false</DCC_K>
57+ </PropertyGroup>
58+ <PropertyGroup Condition="'$(Base_Android)'!=''">
59+ <Android_SplashImage640>$(BDS)\bin\Artwork\Android\FM_SplashImage_640x480.png</Android_SplashImage640>
60+ <Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
61+ <Android_SplashImage426>$(BDS)\bin\Artwork\Android\FM_SplashImage_426x320.png</Android_SplashImage426>
62+ <Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
63+ <Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
64+ <Android_SplashImage470>$(BDS)\bin\Artwork\Android\FM_SplashImage_470x320.png</Android_SplashImage470>
65+ <Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
66+ <Android_SplashImage960>$(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png</Android_SplashImage960>
67+ <Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
68+ </PropertyGroup>
69+ <PropertyGroup Condition="'$(Base_Win32)'!=''">
70+ <VerInfo_Locale>1033</VerInfo_Locale>
71+ <DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
72+ <DCC_ConsoleTarget>true</DCC_ConsoleTarget>
73+ <DCC_UsePackage>FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;frxe21;TeeDB;tethering;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;frx21;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;CodeSiteExpressPkg;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;frxTee21;Tee;DBXOdbcDriver;frxDB21;vclFireDAC;xmlrtl;DataSnapNativeClient;svnui;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;vclactnband;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;DataSnapConnectors;DataSnapServerMidas;dsnapcon;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;vclx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
74+ <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
75+ </PropertyGroup>
76+ <PropertyGroup Condition="'$(Base_Win64)'!=''">
77+ <DCC_ConsoleTarget>true</DCC_ConsoleTarget>
78+ <DCC_UsePackage>FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;TeeDB;tethering;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;Tee;DBXOdbcDriver;vclFireDAC;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;vclactnband;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;DataSnapConnectors;DataSnapServerMidas;dsnapcon;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;vclx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
79+ </PropertyGroup>
80+ <PropertyGroup Condition="'$(Cfg_1)'!=''">
81+ <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
82+ <DCC_DebugDCUs>true</DCC_DebugDCUs>
83+ <DCC_Optimize>false</DCC_Optimize>
84+ <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
85+ <DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
86+ <DCC_RemoteDebug>true</DCC_RemoteDebug>
87+ </PropertyGroup>
88+ <PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
89+ <DCC_RemoteDebug>false</DCC_RemoteDebug>
90+ </PropertyGroup>
91+ <PropertyGroup Condition="'$(Cfg_2)'!=''">
92+ <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
93+ <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
94+ <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
95+ <DCC_DebugInformation>0</DCC_DebugInformation>
96+ </PropertyGroup>
97+ <ItemGroup>
98+ <DelphiCompile Include="$(MainSource)">
99+ <MainSource>MainSource</MainSource>
100+ </DelphiCompile>
101+ <DCCReference Include="header.pas"/>
102+ <BuildConfiguration Include="Release">
103+ <Key>Cfg_2</Key>
104+ <CfgParent>Base</CfgParent>
105+ </BuildConfiguration>
106+ <BuildConfiguration Include="Base">
107+ <Key>Base</Key>
108+ </BuildConfiguration>
109+ <BuildConfiguration Include="Debug">
110+ <Key>Cfg_1</Key>
111+ <CfgParent>Base</CfgParent>
112+ </BuildConfiguration>
113+ </ItemGroup>
114+ <ProjectExtensions>
115+ <Borland.Personality>Delphi.Personality.12</Borland.Personality>
116+ <Borland.ProjectType>Application</Borland.ProjectType>
117+ <BorlandProject>
118+ <Delphi.Personality>
119+ <Source>
120+ <Source Name="MainSource">merge.dpr</Source>
121+ </Source>
122+ </Delphi.Personality>
123+ <Deployment>
124+ <DeployFile LocalName="Win32\Debug\merge.exe" Configuration="Debug" Class="ProjectOutput">
125+ <Platform Name="Win32">
126+ <RemoteName>merge.exe</RemoteName>
127+ <Overwrite>true</Overwrite>
128+ </Platform>
129+ </DeployFile>
130+ <DeployFile LocalName="$(BDS)\Redist\osx32\libcgunwind.1.0.dylib" Class="DependencyModule">
131+ <Platform Name="OSX32">
132+ <Overwrite>true</Overwrite>
133+ </Platform>
134+ <Platform Name="iOSSimulator">
135+ <Overwrite>true</Overwrite>
136+ </Platform>
137+ </DeployFile>
138+ <DeployClass Required="true" Name="DependencyPackage">
139+ <Platform Name="iOSDevice">
140+ <Operation>1</Operation>
141+ <Extensions>.dylib</Extensions>
142+ </Platform>
143+ <Platform Name="Win32">
144+ <Operation>0</Operation>
145+ <Extensions>.bpl</Extensions>
146+ </Platform>
147+ <Platform Name="OSX32">
148+ <RemoteDir>Contents\MacOS</RemoteDir>
149+ <Operation>1</Operation>
150+ <Extensions>.dylib</Extensions>
151+ </Platform>
152+ <Platform Name="iOSSimulator">
153+ <Operation>1</Operation>
154+ <Extensions>.dylib</Extensions>
155+ </Platform>
156+ </DeployClass>
157+ <DeployClass Name="DependencyModule">
158+ <Platform Name="iOSDevice">
159+ <Operation>1</Operation>
160+ <Extensions>.dylib</Extensions>
161+ </Platform>
162+ <Platform Name="Win32">
163+ <Operation>0</Operation>
164+ <Extensions>.dll;.bpl</Extensions>
165+ </Platform>
166+ <Platform Name="OSX32">
167+ <RemoteDir>Contents\MacOS</RemoteDir>
168+ <Operation>1</Operation>
169+ <Extensions>.dylib</Extensions>
170+ </Platform>
171+ <Platform Name="iOSSimulator">
172+ <Operation>1</Operation>
173+ <Extensions>.dylib</Extensions>
174+ </Platform>
175+ </DeployClass>
176+ <DeployClass Name="iPad_Launch2048">
177+ <Platform Name="iOSDevice">
178+ <Operation>1</Operation>
179+ </Platform>
180+ <Platform Name="iOSSimulator">
181+ <Operation>1</Operation>
182+ </Platform>
183+ </DeployClass>
184+ <DeployClass Name="ProjectOSXInfoPList">
185+ <Platform Name="OSX32">
186+ <RemoteDir>Contents</RemoteDir>
187+ <Operation>1</Operation>
188+ </Platform>
189+ </DeployClass>
190+ <DeployClass Name="ProjectiOSDeviceDebug">
191+ <Platform Name="iOSDevice">
192+ <RemoteDir>..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF</RemoteDir>
193+ <Operation>1</Operation>
194+ </Platform>
195+ </DeployClass>
196+ <DeployClass Name="Android_SplashImage470">
197+ <Platform Name="Android">
198+ <RemoteDir>res\drawable-normal</RemoteDir>
199+ <Operation>1</Operation>
200+ </Platform>
201+ </DeployClass>
202+ <DeployClass Name="AndroidLibnativeX86File">
203+ <Platform Name="Android">
204+ <RemoteDir>library\lib\x86</RemoteDir>
205+ <Operation>1</Operation>
206+ </Platform>
207+ </DeployClass>
208+ <DeployClass Name="ProjectiOSResource">
209+ <Platform Name="iOSDevice">
210+ <Operation>1</Operation>
211+ </Platform>
212+ <Platform Name="iOSSimulator">
213+ <Operation>1</Operation>
214+ </Platform>
215+ </DeployClass>
216+ <DeployClass Name="ProjectOSXEntitlements">
217+ <Platform Name="OSX32">
218+ <RemoteDir>../</RemoteDir>
219+ <Operation>1</Operation>
220+ </Platform>
221+ </DeployClass>
222+ <DeployClass Name="AndroidGDBServer">
223+ <Platform Name="Android">
224+ <RemoteDir>library\lib\armeabi-v7a</RemoteDir>
225+ <Operation>1</Operation>
226+ </Platform>
227+ </DeployClass>
228+ <DeployClass Name="iPhone_Launch640">
229+ <Platform Name="iOSDevice">
230+ <Operation>1</Operation>
231+ </Platform>
232+ <Platform Name="iOSSimulator">
233+ <Operation>1</Operation>
234+ </Platform>
235+ </DeployClass>
236+ <DeployClass Name="Android_SplashImage960">
237+ <Platform Name="Android">
238+ <RemoteDir>res\drawable-xlarge</RemoteDir>
239+ <Operation>1</Operation>
240+ </Platform>
241+ </DeployClass>
242+ <DeployClass Name="Android_LauncherIcon96">
243+ <Platform Name="Android">
244+ <RemoteDir>res\drawable-xhdpi</RemoteDir>
245+ <Operation>1</Operation>
246+ </Platform>
247+ </DeployClass>
248+ <DeployClass Name="iPhone_Launch320">
249+ <Platform Name="iOSDevice">
250+ <Operation>1</Operation>
251+ </Platform>
252+ <Platform Name="iOSSimulator">
253+ <Operation>1</Operation>
254+ </Platform>
255+ </DeployClass>
256+ <DeployClass Name="Android_LauncherIcon144">
257+ <Platform Name="Android">
258+ <RemoteDir>res\drawable-xxhdpi</RemoteDir>
259+ <Operation>1</Operation>
260+ </Platform>
261+ </DeployClass>
262+ <DeployClass Name="AndroidLibnativeMipsFile">
263+ <Platform Name="Android">
264+ <RemoteDir>library\lib\mips</RemoteDir>
265+ <Operation>1</Operation>
266+ </Platform>
267+ </DeployClass>
268+ <DeployClass Name="AndroidSplashImageDef">
269+ <Platform Name="Android">
270+ <RemoteDir>res\drawable</RemoteDir>
271+ <Operation>1</Operation>
272+ </Platform>
273+ </DeployClass>
274+ <DeployClass Name="DebugSymbols">
275+ <Platform Name="OSX32">
276+ <RemoteDir>Contents\MacOS</RemoteDir>
277+ <Operation>1</Operation>
278+ </Platform>
279+ <Platform Name="iOSSimulator">
280+ <Operation>1</Operation>
281+ </Platform>
282+ <Platform Name="Win32">
283+ <Operation>0</Operation>
284+ </Platform>
285+ </DeployClass>
286+ <DeployClass Name="DependencyFramework">
287+ <Platform Name="OSX32">
288+ <RemoteDir>Contents\MacOS</RemoteDir>
289+ <Operation>1</Operation>
290+ <Extensions>.framework</Extensions>
291+ </Platform>
292+ <Platform Name="Win32">
293+ <Operation>0</Operation>
294+ </Platform>
295+ </DeployClass>
296+ <DeployClass Name="Android_SplashImage426">
297+ <Platform Name="Android">
298+ <RemoteDir>res\drawable-small</RemoteDir>
299+ <Operation>1</Operation>
300+ </Platform>
301+ </DeployClass>
302+ <DeployClass Name="ProjectiOSEntitlements">
303+ <Platform Name="iOSDevice">
304+ <RemoteDir>../</RemoteDir>
305+ <Operation>1</Operation>
306+ </Platform>
307+ </DeployClass>
308+ <DeployClass Name="AdditionalDebugSymbols">
309+ <Platform Name="OSX32">
310+ <RemoteDir>Contents\MacOS</RemoteDir>
311+ <Operation>1</Operation>
312+ </Platform>
313+ <Platform Name="iOSSimulator">
314+ <Operation>1</Operation>
315+ </Platform>
316+ <Platform Name="Win32">
317+ <RemoteDir>Contents\MacOS</RemoteDir>
318+ <Operation>0</Operation>
319+ </Platform>
320+ </DeployClass>
321+ <DeployClass Name="AndroidClassesDexFile">
322+ <Platform Name="Android">
323+ <RemoteDir>classes</RemoteDir>
324+ <Operation>1</Operation>
325+ </Platform>
326+ </DeployClass>
327+ <DeployClass Name="ProjectiOSInfoPList">
328+ <Platform Name="iOSDevice">
329+ <Operation>1</Operation>
330+ </Platform>
331+ <Platform Name="iOSSimulator">
332+ <Operation>1</Operation>
333+ </Platform>
334+ </DeployClass>
335+ <DeployClass Name="iPad_Launch1024">
336+ <Platform Name="iOSDevice">
337+ <Operation>1</Operation>
338+ </Platform>
339+ <Platform Name="iOSSimulator">
340+ <Operation>1</Operation>
341+ </Platform>
342+ </DeployClass>
343+ <DeployClass Name="Android_DefaultAppIcon">
344+ <Platform Name="Android">
345+ <RemoteDir>res\drawable</RemoteDir>
346+ <Operation>1</Operation>
347+ </Platform>
348+ </DeployClass>
349+ <DeployClass Name="ProjectOSXResource">
350+ <Platform Name="OSX32">
351+ <RemoteDir>Contents\Resources</RemoteDir>
352+ <Operation>1</Operation>
353+ </Platform>
354+ </DeployClass>
355+ <DeployClass Name="ProjectiOSDeviceResourceRules">
356+ <Platform Name="iOSDevice">
357+ <Operation>1</Operation>
358+ </Platform>
359+ </DeployClass>
360+ <DeployClass Name="iPad_Launch768">
361+ <Platform Name="iOSDevice">
362+ <Operation>1</Operation>
363+ </Platform>
364+ <Platform Name="iOSSimulator">
365+ <Operation>1</Operation>
366+ </Platform>
367+ </DeployClass>
368+ <DeployClass Required="true" Name="ProjectOutput">
369+ <Platform Name="iOSDevice">
370+ <Operation>1</Operation>
371+ </Platform>
372+ <Platform Name="Android">
373+ <RemoteDir>library\lib\armeabi-v7a</RemoteDir>
374+ <Operation>1</Operation>
375+ </Platform>
376+ <Platform Name="Win32">
377+ <Operation>0</Operation>
378+ </Platform>
379+ <Platform Name="OSX32">
380+ <RemoteDir>Contents\MacOS</RemoteDir>
381+ <Operation>1</Operation>
382+ </Platform>
383+ <Platform Name="iOSSimulator">
384+ <Operation>1</Operation>
385+ </Platform>
386+ </DeployClass>
387+ <DeployClass Name="AndroidLibnativeArmeabiFile">
388+ <Platform Name="Android">
389+ <RemoteDir>library\lib\armeabi</RemoteDir>
390+ <Operation>1</Operation>
391+ </Platform>
392+ </DeployClass>
393+ <DeployClass Name="Android_SplashImage640">
394+ <Platform Name="Android">
395+ <RemoteDir>res\drawable-large</RemoteDir>
396+ <Operation>1</Operation>
397+ </Platform>
398+ </DeployClass>
399+ <DeployClass Name="File">
400+ <Platform Name="iOSDevice">
401+ <Operation>0</Operation>
402+ </Platform>
403+ <Platform Name="Android">
404+ <Operation>0</Operation>
405+ </Platform>
406+ <Platform Name="Win32">
407+ <Operation>0</Operation>
408+ </Platform>
409+ <Platform Name="OSX32">
410+ <RemoteDir>Contents\MacOS</RemoteDir>
411+ <Operation>0</Operation>
412+ </Platform>
413+ <Platform Name="iOSSimulator">
414+ <Operation>0</Operation>
415+ </Platform>
416+ </DeployClass>
417+ <DeployClass Name="iPhone_Launch640x1136">
418+ <Platform Name="iOSDevice">
419+ <Operation>1</Operation>
420+ </Platform>
421+ <Platform Name="iOSSimulator">
422+ <Operation>1</Operation>
423+ </Platform>
424+ </DeployClass>
425+ <DeployClass Name="Android_LauncherIcon36">
426+ <Platform Name="Android">
427+ <RemoteDir>res\drawable-ldpi</RemoteDir>
428+ <Operation>1</Operation>
429+ </Platform>
430+ </DeployClass>
431+ <DeployClass Name="AndroidSplashStyles">
432+ <Platform Name="Android">
433+ <RemoteDir>res\values</RemoteDir>
434+ <Operation>1</Operation>
435+ </Platform>
436+ </DeployClass>
437+ <DeployClass Name="iPad_Launch1536">
438+ <Platform Name="iOSDevice">
439+ <Operation>1</Operation>
440+ </Platform>
441+ <Platform Name="iOSSimulator">
442+ <Operation>1</Operation>
443+ </Platform>
444+ </DeployClass>
445+ <DeployClass Name="Android_LauncherIcon48">
446+ <Platform Name="Android">
447+ <RemoteDir>res\drawable-mdpi</RemoteDir>
448+ <Operation>1</Operation>
449+ </Platform>
450+ </DeployClass>
451+ <DeployClass Name="Android_LauncherIcon72">
452+ <Platform Name="Android">
453+ <RemoteDir>res\drawable-hdpi</RemoteDir>
454+ <Operation>1</Operation>
455+ </Platform>
456+ </DeployClass>
457+ <DeployClass Name="ProjectAndroidManifest">
458+ <Platform Name="Android">
459+ <Operation>1</Operation>
460+ </Platform>
461+ </DeployClass>
462+ <ProjectRoot Platform="Android" Name="$(PROJECTNAME)"/>
463+ <ProjectRoot Platform="iOSDevice" Name="$(PROJECTNAME).app"/>
464+ <ProjectRoot Platform="Win32" Name="$(PROJECTNAME)"/>
465+ <ProjectRoot Platform="OSX32" Name="$(PROJECTNAME).app"/>
466+ <ProjectRoot Platform="iOSSimulator" Name="$(PROJECTNAME).app"/>
467+ <ProjectRoot Platform="Win64" Name="$(PROJECTNAME)"/>
468+ </Deployment>
469+ <Platforms>
470+ <Platform value="Android">False</Platform>
471+ <Platform value="Win32">True</Platform>
472+ <Platform value="Win64">False</Platform>
473+ </Platforms>
474+ </BorlandProject>
475+ <ProjectFileVersion>12</ProjectFileVersion>
476+ </ProjectExtensions>
477+ <Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
478+ <Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
479+ <Import Project="$(MSBuildProjectName).deployproj" Condition="Exists('$(MSBuildProjectName).deployproj')"/>
480+</Project>
Binary files /dev/null and b/merge.res differ
--- /dev/null
+++ b/mk_array.dpr
@@ -0,0 +1,47 @@
1+library mk_array;
2+
3+{ DLL のメモリ管理に関する重要なメモ: パラメータまたは関数結果として文字列を渡す
4+ 手続きまたは関数を DLL がエクスポートする場合は、ShareMem をライブラリの
5+ uses 句およびプロジェクトの uses 句 ([プロジェクト|ソースの表示] を選択) の
6+ 最初に記載する必要があります。これは、
7+ DLL との間で渡されるすべての文字列に当てはまります。レコードやクラスに
8+ ネストされているものも同様です。ShareMem は共有メモリ マネージャ BORLNDMM.DLL に対するインターフェイス
9+ ユニットです。この DLL は作成対象の DLL と一緒に配置する必要が
10+ あります。BORLNDMM.DLL を使用しないようにするには、PChar 型または ShortString 型の
11+ パラメータを使って文字列情報を渡します。 }
12+
13+uses
14+ System.SysUtils,
15+ System.Classes,
16+ System.Generics.Collections;
17+
18+{$R *.res}
19+
20+procedure make_array(count, max: integer; out arr: TArray<integer>);
21+var
22+ list: TList<integer>;
23+ i, j: integer;
24+begin
25+ arr:=[];
26+ Randomize;
27+ list := TList<integer>.Create;
28+ try
29+ for i := 1 to max do
30+ list.Add(i);
31+ for i := 1 to count do
32+ begin
33+ j := Random(list.count);
34+ arr := arr + [list[j]];
35+ list.Delete(j);
36+ end;
37+ finally
38+ list.Free;
39+ end;
40+end;
41+
42+exports
43+ make_array;
44+
45+begin
46+
47+end.
--- /dev/null
+++ b/mk_array.dproj
@@ -0,0 +1,462 @@
1+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+ <PropertyGroup>
3+ <ProjectGuid>{D638BDC9-05B4-485E-97CF-3A04A7D0683F}</ProjectGuid>
4+ <ProjectVersion>16.1</ProjectVersion>
5+ <FrameworkType>None</FrameworkType>
6+ <MainSource>mk_array.dpr</MainSource>
7+ <Base>True</Base>
8+ <Config Condition="'$(Config)'==''">Debug</Config>
9+ <Platform Condition="'$(Platform)'==''">Win32</Platform>
10+ <TargetedPlatforms>1</TargetedPlatforms>
11+ <AppType>Library</AppType>
12+ </PropertyGroup>
13+ <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14+ <Base>true</Base>
15+ </PropertyGroup>
16+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
17+ <Base_Win32>true</Base_Win32>
18+ <CfgParent>Base</CfgParent>
19+ <Base>true</Base>
20+ </PropertyGroup>
21+ <PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
22+ <Base_Win64>true</Base_Win64>
23+ <CfgParent>Base</CfgParent>
24+ <Base>true</Base>
25+ </PropertyGroup>
26+ <PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
27+ <Cfg_1>true</Cfg_1>
28+ <CfgParent>Base</CfgParent>
29+ <Base>true</Base>
30+ </PropertyGroup>
31+ <PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
32+ <Cfg_1_Win32>true</Cfg_1_Win32>
33+ <CfgParent>Cfg_1</CfgParent>
34+ <Cfg_1>true</Cfg_1>
35+ <Base>true</Base>
36+ </PropertyGroup>
37+ <PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
38+ <Cfg_2>true</Cfg_2>
39+ <CfgParent>Base</CfgParent>
40+ <Base>true</Base>
41+ </PropertyGroup>
42+ <PropertyGroup Condition="'$(Base)'!=''">
43+ <DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
44+ <SanitizedProjectName>mk_array</SanitizedProjectName>
45+ <GenDll>true</GenDll>
46+ <DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
47+ <DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
48+ <DCC_E>false</DCC_E>
49+ <DCC_N>false</DCC_N>
50+ <DCC_S>false</DCC_S>
51+ <DCC_F>false</DCC_F>
52+ <DCC_K>false</DCC_K>
53+ </PropertyGroup>
54+ <PropertyGroup Condition="'$(Base_Win32)'!=''">
55+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
56+ <DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
57+ <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
58+ <VerInfo_Locale>1033</VerInfo_Locale>
59+ <DCC_UsePackage>FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;frxe21;TeeDB;tethering;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;frx21;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;CodeSiteExpressPkg;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;frxTee21;Tee;DBXOdbcDriver;frxDB21;vclFireDAC;xmlrtl;DataSnapNativeClient;svnui;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;vclactnband;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;DataSnapConnectors;DataSnapServerMidas;dsnapcon;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;vclx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
60+ </PropertyGroup>
61+ <PropertyGroup Condition="'$(Base_Win64)'!=''">
62+ <DCC_UsePackage>FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;TeeDB;tethering;vclib;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DBXSybaseASEDriver;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;MetropolisUILiveTile;vcldb;vcldsnap;fmxFireDAC;DBXDb2Driver;DBXOracleDriver;CustomIPTransport;vclribbon;dsnap;IndyIPServer;fmxase;vcl;IndyCore;DBXMSSQLDriver;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACInfxDriver;FireDACDb2Driver;adortl;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;Tee;DBXOdbcDriver;vclFireDAC;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;vclactnband;bindcompdbx;soaprtl;FMXTee;TeeUI;bindcompvcl;vclie;FireDACADSDriver;vcltouch;emsclient;VCLRESTComponents;FireDACMSSQLDriver;FireDAC;VclSmp;DBXInformixDriver;DataSnapConnectors;DataSnapServerMidas;dsnapcon;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;vclx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
63+ </PropertyGroup>
64+ <PropertyGroup Condition="'$(Cfg_1)'!=''">
65+ <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
66+ <DCC_DebugDCUs>true</DCC_DebugDCUs>
67+ <DCC_Optimize>false</DCC_Optimize>
68+ <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
69+ <DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
70+ <DCC_RemoteDebug>true</DCC_RemoteDebug>
71+ </PropertyGroup>
72+ <PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
73+ <DCC_RemoteDebug>false</DCC_RemoteDebug>
74+ </PropertyGroup>
75+ <PropertyGroup Condition="'$(Cfg_2)'!=''">
76+ <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
77+ <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
78+ <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
79+ <DCC_DebugInformation>0</DCC_DebugInformation>
80+ </PropertyGroup>
81+ <ItemGroup>
82+ <DelphiCompile Include="$(MainSource)">
83+ <MainSource>MainSource</MainSource>
84+ </DelphiCompile>
85+ <BuildConfiguration Include="Release">
86+ <Key>Cfg_2</Key>
87+ <CfgParent>Base</CfgParent>
88+ </BuildConfiguration>
89+ <BuildConfiguration Include="Base">
90+ <Key>Base</Key>
91+ </BuildConfiguration>
92+ <BuildConfiguration Include="Debug">
93+ <Key>Cfg_1</Key>
94+ <CfgParent>Base</CfgParent>
95+ </BuildConfiguration>
96+ </ItemGroup>
97+ <ProjectExtensions>
98+ <Borland.Personality>Delphi.Personality.12</Borland.Personality>
99+ <Borland.ProjectType>Application</Borland.ProjectType>
100+ <BorlandProject>
101+ <Delphi.Personality>
102+ <Source>
103+ <Source Name="MainSource">mk_array.dpr</Source>
104+ </Source>
105+ </Delphi.Personality>
106+ <Deployment>
107+ <DeployFile LocalName="Win32\Debug\mk_array.dll" Configuration="Debug" Class="ProjectOutput">
108+ <Platform Name="Win32">
109+ <RemoteName>mk_array.dll</RemoteName>
110+ <Overwrite>true</Overwrite>
111+ </Platform>
112+ </DeployFile>
113+ <DeployFile LocalName="$(BDS)\Redist\osx32\libcgunwind.1.0.dylib" Class="DependencyModule">
114+ <Platform Name="OSX32">
115+ <Overwrite>true</Overwrite>
116+ </Platform>
117+ <Platform Name="iOSSimulator">
118+ <Overwrite>true</Overwrite>
119+ </Platform>
120+ </DeployFile>
121+ <DeployClass Required="true" Name="DependencyPackage">
122+ <Platform Name="iOSDevice">
123+ <Operation>1</Operation>
124+ <Extensions>.dylib</Extensions>
125+ </Platform>
126+ <Platform Name="Win32">
127+ <Operation>0</Operation>
128+ <Extensions>.bpl</Extensions>
129+ </Platform>
130+ <Platform Name="OSX32">
131+ <RemoteDir>Contents\MacOS</RemoteDir>
132+ <Operation>1</Operation>
133+ <Extensions>.dylib</Extensions>
134+ </Platform>
135+ <Platform Name="iOSSimulator">
136+ <Operation>1</Operation>
137+ <Extensions>.dylib</Extensions>
138+ </Platform>
139+ </DeployClass>
140+ <DeployClass Name="DependencyModule">
141+ <Platform Name="iOSDevice">
142+ <Operation>1</Operation>
143+ <Extensions>.dylib</Extensions>
144+ </Platform>
145+ <Platform Name="Win32">
146+ <Operation>0</Operation>
147+ <Extensions>.dll;.bpl</Extensions>
148+ </Platform>
149+ <Platform Name="OSX32">
150+ <RemoteDir>Contents\MacOS</RemoteDir>
151+ <Operation>1</Operation>
152+ <Extensions>.dylib</Extensions>
153+ </Platform>
154+ <Platform Name="iOSSimulator">
155+ <Operation>1</Operation>
156+ <Extensions>.dylib</Extensions>
157+ </Platform>
158+ </DeployClass>
159+ <DeployClass Name="iPad_Launch2048">
160+ <Platform Name="iOSDevice">
161+ <Operation>1</Operation>
162+ </Platform>
163+ <Platform Name="iOSSimulator">
164+ <Operation>1</Operation>
165+ </Platform>
166+ </DeployClass>
167+ <DeployClass Name="ProjectOSXInfoPList">
168+ <Platform Name="OSX32">
169+ <RemoteDir>Contents</RemoteDir>
170+ <Operation>1</Operation>
171+ </Platform>
172+ </DeployClass>
173+ <DeployClass Name="ProjectiOSDeviceDebug">
174+ <Platform Name="iOSDevice">
175+ <RemoteDir>..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF</RemoteDir>
176+ <Operation>1</Operation>
177+ </Platform>
178+ </DeployClass>
179+ <DeployClass Name="Android_SplashImage470">
180+ <Platform Name="Android">
181+ <RemoteDir>res\drawable-normal</RemoteDir>
182+ <Operation>1</Operation>
183+ </Platform>
184+ </DeployClass>
185+ <DeployClass Name="AndroidLibnativeX86File">
186+ <Platform Name="Android">
187+ <RemoteDir>library\lib\x86</RemoteDir>
188+ <Operation>1</Operation>
189+ </Platform>
190+ </DeployClass>
191+ <DeployClass Name="ProjectiOSResource">
192+ <Platform Name="iOSDevice">
193+ <Operation>1</Operation>
194+ </Platform>
195+ <Platform Name="iOSSimulator">
196+ <Operation>1</Operation>
197+ </Platform>
198+ </DeployClass>
199+ <DeployClass Name="ProjectOSXEntitlements">
200+ <Platform Name="OSX32">
201+ <RemoteDir>../</RemoteDir>
202+ <Operation>1</Operation>
203+ </Platform>
204+ </DeployClass>
205+ <DeployClass Name="AndroidGDBServer">
206+ <Platform Name="Android">
207+ <RemoteDir>library\lib\armeabi-v7a</RemoteDir>
208+ <Operation>1</Operation>
209+ </Platform>
210+ </DeployClass>
211+ <DeployClass Name="iPhone_Launch640">
212+ <Platform Name="iOSDevice">
213+ <Operation>1</Operation>
214+ </Platform>
215+ <Platform Name="iOSSimulator">
216+ <Operation>1</Operation>
217+ </Platform>
218+ </DeployClass>
219+ <DeployClass Name="Android_SplashImage960">
220+ <Platform Name="Android">
221+ <RemoteDir>res\drawable-xlarge</RemoteDir>
222+ <Operation>1</Operation>
223+ </Platform>
224+ </DeployClass>
225+ <DeployClass Name="Android_LauncherIcon96">
226+ <Platform Name="Android">
227+ <RemoteDir>res\drawable-xhdpi</RemoteDir>
228+ <Operation>1</Operation>
229+ </Platform>
230+ </DeployClass>
231+ <DeployClass Name="iPhone_Launch320">
232+ <Platform Name="iOSDevice">
233+ <Operation>1</Operation>
234+ </Platform>
235+ <Platform Name="iOSSimulator">
236+ <Operation>1</Operation>
237+ </Platform>
238+ </DeployClass>
239+ <DeployClass Name="Android_LauncherIcon144">
240+ <Platform Name="Android">
241+ <RemoteDir>res\drawable-xxhdpi</RemoteDir>
242+ <Operation>1</Operation>
243+ </Platform>
244+ </DeployClass>
245+ <DeployClass Name="AndroidLibnativeMipsFile">
246+ <Platform Name="Android">
247+ <RemoteDir>library\lib\mips</RemoteDir>
248+ <Operation>1</Operation>
249+ </Platform>
250+ </DeployClass>
251+ <DeployClass Name="AndroidSplashImageDef">
252+ <Platform Name="Android">
253+ <RemoteDir>res\drawable</RemoteDir>
254+ <Operation>1</Operation>
255+ </Platform>
256+ </DeployClass>
257+ <DeployClass Name="DebugSymbols">
258+ <Platform Name="OSX32">
259+ <RemoteDir>Contents\MacOS</RemoteDir>
260+ <Operation>1</Operation>
261+ </Platform>
262+ <Platform Name="iOSSimulator">
263+ <Operation>1</Operation>
264+ </Platform>
265+ <Platform Name="Win32">
266+ <Operation>0</Operation>
267+ </Platform>
268+ </DeployClass>
269+ <DeployClass Name="DependencyFramework">
270+ <Platform Name="OSX32">
271+ <RemoteDir>Contents\MacOS</RemoteDir>
272+ <Operation>1</Operation>
273+ <Extensions>.framework</Extensions>
274+ </Platform>
275+ <Platform Name="Win32">
276+ <Operation>0</Operation>
277+ </Platform>
278+ </DeployClass>
279+ <DeployClass Name="Android_SplashImage426">
280+ <Platform Name="Android">
281+ <RemoteDir>res\drawable-small</RemoteDir>
282+ <Operation>1</Operation>
283+ </Platform>
284+ </DeployClass>
285+ <DeployClass Name="ProjectiOSEntitlements">
286+ <Platform Name="iOSDevice">
287+ <RemoteDir>../</RemoteDir>
288+ <Operation>1</Operation>
289+ </Platform>
290+ </DeployClass>
291+ <DeployClass Name="AdditionalDebugSymbols">
292+ <Platform Name="OSX32">
293+ <RemoteDir>Contents\MacOS</RemoteDir>
294+ <Operation>1</Operation>
295+ </Platform>
296+ <Platform Name="iOSSimulator">
297+ <Operation>1</Operation>
298+ </Platform>
299+ <Platform Name="Win32">
300+ <RemoteDir>Contents\MacOS</RemoteDir>
301+ <Operation>0</Operation>
302+ </Platform>
303+ </DeployClass>
304+ <DeployClass Name="AndroidClassesDexFile">
305+ <Platform Name="Android">
306+ <RemoteDir>classes</RemoteDir>
307+ <Operation>1</Operation>
308+ </Platform>
309+ </DeployClass>
310+ <DeployClass Name="ProjectiOSInfoPList">
311+ <Platform Name="iOSDevice">
312+ <Operation>1</Operation>
313+ </Platform>
314+ <Platform Name="iOSSimulator">
315+ <Operation>1</Operation>
316+ </Platform>
317+ </DeployClass>
318+ <DeployClass Name="iPad_Launch1024">
319+ <Platform Name="iOSDevice">
320+ <Operation>1</Operation>
321+ </Platform>
322+ <Platform Name="iOSSimulator">
323+ <Operation>1</Operation>
324+ </Platform>
325+ </DeployClass>
326+ <DeployClass Name="Android_DefaultAppIcon">
327+ <Platform Name="Android">
328+ <RemoteDir>res\drawable</RemoteDir>
329+ <Operation>1</Operation>
330+ </Platform>
331+ </DeployClass>
332+ <DeployClass Name="ProjectOSXResource">
333+ <Platform Name="OSX32">
334+ <RemoteDir>Contents\Resources</RemoteDir>
335+ <Operation>1</Operation>
336+ </Platform>
337+ </DeployClass>
338+ <DeployClass Name="ProjectiOSDeviceResourceRules">
339+ <Platform Name="iOSDevice">
340+ <Operation>1</Operation>
341+ </Platform>
342+ </DeployClass>
343+ <DeployClass Name="iPad_Launch768">
344+ <Platform Name="iOSDevice">
345+ <Operation>1</Operation>
346+ </Platform>
347+ <Platform Name="iOSSimulator">
348+ <Operation>1</Operation>
349+ </Platform>
350+ </DeployClass>
351+ <DeployClass Required="true" Name="ProjectOutput">
352+ <Platform Name="iOSDevice">
353+ <Operation>1</Operation>
354+ </Platform>
355+ <Platform Name="Android">
356+ <RemoteDir>library\lib\armeabi-v7a</RemoteDir>
357+ <Operation>1</Operation>
358+ </Platform>
359+ <Platform Name="Win32">
360+ <Operation>0</Operation>
361+ </Platform>
362+ <Platform Name="OSX32">
363+ <RemoteDir>Contents\MacOS</RemoteDir>
364+ <Operation>1</Operation>
365+ </Platform>
366+ <Platform Name="iOSSimulator">
367+ <Operation>1</Operation>
368+ </Platform>
369+ </DeployClass>
370+ <DeployClass Name="AndroidLibnativeArmeabiFile">
371+ <Platform Name="Android">
372+ <RemoteDir>library\lib\armeabi</RemoteDir>
373+ <Operation>1</Operation>
374+ </Platform>
375+ </DeployClass>
376+ <DeployClass Name="Android_SplashImage640">
377+ <Platform Name="Android">
378+ <RemoteDir>res\drawable-large</RemoteDir>
379+ <Operation>1</Operation>
380+ </Platform>
381+ </DeployClass>
382+ <DeployClass Name="File">
383+ <Platform Name="iOSDevice">
384+ <Operation>0</Operation>
385+ </Platform>
386+ <Platform Name="Android">
387+ <Operation>0</Operation>
388+ </Platform>
389+ <Platform Name="Win32">
390+ <Operation>0</Operation>
391+ </Platform>
392+ <Platform Name="OSX32">
393+ <RemoteDir>Contents\MacOS</RemoteDir>
394+ <Operation>0</Operation>
395+ </Platform>
396+ <Platform Name="iOSSimulator">
397+ <Operation>0</Operation>
398+ </Platform>
399+ </DeployClass>
400+ <DeployClass Name="iPhone_Launch640x1136">
401+ <Platform Name="iOSDevice">
402+ <Operation>1</Operation>
403+ </Platform>
404+ <Platform Name="iOSSimulator">
405+ <Operation>1</Operation>
406+ </Platform>
407+ </DeployClass>
408+ <DeployClass Name="Android_LauncherIcon36">
409+ <Platform Name="Android">
410+ <RemoteDir>res\drawable-ldpi</RemoteDir>
411+ <Operation>1</Operation>
412+ </Platform>
413+ </DeployClass>
414+ <DeployClass Name="AndroidSplashStyles">
415+ <Platform Name="Android">
416+ <RemoteDir>res\values</RemoteDir>
417+ <Operation>1</Operation>
418+ </Platform>
419+ </DeployClass>
420+ <DeployClass Name="iPad_Launch1536">
421+ <Platform Name="iOSDevice">
422+ <Operation>1</Operation>
423+ </Platform>
424+ <Platform Name="iOSSimulator">
425+ <Operation>1</Operation>
426+ </Platform>
427+ </DeployClass>
428+ <DeployClass Name="Android_LauncherIcon48">
429+ <Platform Name="Android">
430+ <RemoteDir>res\drawable-mdpi</RemoteDir>
431+ <Operation>1</Operation>
432+ </Platform>
433+ </DeployClass>
434+ <DeployClass Name="Android_LauncherIcon72">
435+ <Platform Name="Android">
436+ <RemoteDir>res\drawable-hdpi</RemoteDir>
437+ <Operation>1</Operation>
438+ </Platform>
439+ </DeployClass>
440+ <DeployClass Name="ProjectAndroidManifest">
441+ <Platform Name="Android">
442+ <Operation>1</Operation>
443+ </Platform>
444+ </DeployClass>
445+ <ProjectRoot Platform="Android" Name="$(PROJECTNAME)"/>
446+ <ProjectRoot Platform="iOSDevice" Name="$(PROJECTNAME).app"/>
447+ <ProjectRoot Platform="Win32" Name="$(PROJECTNAME)"/>
448+ <ProjectRoot Platform="OSX32" Name="$(PROJECTNAME).app"/>
449+ <ProjectRoot Platform="iOSSimulator" Name="$(PROJECTNAME).app"/>
450+ <ProjectRoot Platform="Win64" Name="$(PROJECTNAME)"/>
451+ </Deployment>
452+ <Platforms>
453+ <Platform value="Win32">True</Platform>
454+ <Platform value="Win64">False</Platform>
455+ </Platforms>
456+ </BorlandProject>
457+ <ProjectFileVersion>12</ProjectFileVersion>
458+ </ProjectExtensions>
459+ <Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
460+ <Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
461+ <Import Project="$(MSBuildProjectName).deployproj" Condition="Exists('$(MSBuildProjectName).deployproj')"/>
462+</Project>
Binary files /dev/null and b/mk_array.res differ
Show on old repository browser