delphi-compiler 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'rexml/document'
4
+ require 'delphi/compiler'
5
+
6
+ module Delphi
7
+ # Class to encapsulate an RC file.
8
+ class Resource
9
+ attr_accessor :haltonfail
10
+ attr_reader :rcfile
11
+
12
+ # You need to tell this class what version of Delphi to use, because
13
+ # there is no metadata in an rc file that it can use to determine it.
14
+ def initialize(rcfile, dproj_version, halt_on_fail = true)
15
+ @rcfile = rcfile
16
+ @haltonfail = halt_on_fail
17
+ @compiler = Delphi::Compiler.new(dproj_version)
18
+ end
19
+
20
+ def compile
21
+ output = @compiler.compile_rc(@rcfile)
22
+ fail "Error compiling #{@rcfile}:\n#{output}" if @haltOnFail && !$CHILD_STATUS
23
+ end
24
+
25
+ def output
26
+ File.join(File.dirname(@rcfile), File.basename(@rcfile, '.rc') + '.res')
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,84 @@
1
+ # encoding: UTF-8
2
+
3
+ # Delphi compiler wrapper for Ruby.
4
+ module Delphi
5
+ # The set of Delphi versions the gem can cope with.
6
+ #
7
+ # This gem only deals with the msbuild versions of Delphi (2010-XE5).
8
+ # Delphi 2009 is left out, because it's project version is
9
+ # the same as Delphi 2010.
10
+ #
11
+ VERSIONS =
12
+ {
13
+ 12.0 =>
14
+ {
15
+ name: 'Delphi 2010',
16
+ folder: '7.0',
17
+ project: [12.0],
18
+ version: :D2010
19
+ },
20
+ 12.2 =>
21
+ {
22
+ name: 'Delphi XE',
23
+ folder: '8.0',
24
+ project: [12.2, 12.3],
25
+ version: :DXE
26
+ },
27
+ 12.3 =>
28
+ {
29
+ name: 'Delphi XE',
30
+ key: 'XE',
31
+ folder: '8.0',
32
+ project: [12.2, 12.3],
33
+ version: :DXE
34
+ },
35
+ 13.4 =>
36
+ {
37
+ name: 'Delphi XE2',
38
+ key: 'XE2',
39
+ folder: '9.0',
40
+ project: [13.4],
41
+ version: :DXE2
42
+ },
43
+ 14.3 =>
44
+ {
45
+ name: 'Delphi XE3',
46
+ key: 'XE3',
47
+ folder: '10.0',
48
+ project: [14.3],
49
+ version: :DXE3
50
+ },
51
+ 14.6 =>
52
+ {
53
+ name: 'Delphi XE4',
54
+ key: 'XE4',
55
+ folder: '11.0',
56
+ project: [14.6],
57
+ version: :DXE4
58
+ },
59
+ 15.1 =>
60
+ {
61
+ name: 'Delphi XE5',
62
+ key: 'XE5',
63
+ folder: '11.0',
64
+ project: [15.1],
65
+ version: :DXE5
66
+ },
67
+ 15.4 =>
68
+ {
69
+ name: 'Delphi XE6',
70
+ key: 'XE6',
71
+ folder: '11.0',
72
+ project: [15.4],
73
+ version: :DXE6
74
+ },
75
+ 16.0 =>
76
+ {
77
+ name: 'Delphi XE7',
78
+ key: 'XE7',
79
+ folder: '11.0',
80
+ project: [16.0],
81
+ version: :DXE7
82
+ }
83
+ }
84
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'rake/testtask'
4
+ require 'delphi'
5
+
6
+ Rake::TestTask.new do |t|
7
+ t.libs << 'test'
8
+ end
9
+
10
+ desc 'Run tests'
11
+ task default: :test
12
+
13
+ desc 'Build the gem'
14
+ task :build do
15
+ system('gem build delphi-compiler.gemspec')
16
+ end
17
+
18
+ desc 'Install the gem'
19
+ task :install do
20
+ require_relative 'version'
21
+ system("gem install ./delphi-compiler-#{VERSION}.gem")
22
+ end
23
+
24
+ ######################################################################################
25
+ # Example tasks to exercise the delphi library.
26
+ namespace :example do
27
+ task :prereq1 do
28
+ puts 'Build prerequisite 1'
29
+ end
30
+
31
+ task :prereq2 do
32
+ puts 'Build prerequisite 2'
33
+ end
34
+
35
+ task :prereq3 do
36
+ puts 'Build prerequisite 3'
37
+ end
38
+
39
+ desc 'Compile test project'
40
+ delphi :delphiproj, 'C:\dev\delphi-compiler\test\test.dproj', 'Win32', 'Debug' => 'example:prereq1' do |p|
41
+ puts "Finished building #{p.output}"
42
+ end
43
+ task delphiproj: 'example:prereq2'
44
+
45
+ desc 'Compile unit tests'
46
+ delphi :testproj, 'C:\dev\delphi-compiler\test\Test\testTests.dproj' => 'example:prereq1' do |p|
47
+ puts "Finished building #{p.output}"
48
+ end
49
+
50
+ desc 'Run unit tests'
51
+ dunit :unit_tests, 'example:testproj' => 'example:prereq2' do
52
+ puts 'Finished Unit Testing'
53
+ end
54
+ task unit_tests: 'example:prereq3'
55
+ end
@@ -0,0 +1,20 @@
1
+ unit MyClass;
2
+
3
+ interface
4
+
5
+ type
6
+ TMyClass = class(TObject)
7
+ public
8
+ procedure DoSomething;
9
+ end;
10
+
11
+ implementation
12
+
13
+ { TMyClass }
14
+
15
+ procedure TMyClass.DoSomething;
16
+ begin
17
+ //Or nothing, whatever you like...
18
+ end;
19
+
20
+ end.
@@ -0,0 +1,53 @@
1
+ unit TestMyClass;
2
+ {
3
+
4
+ Delphi DUnit Test Case
5
+ ----------------------
6
+ This unit contains a skeleton test case class generated by the Test Case Wizard.
7
+ Modify the generated code to correctly setup and call the methods from the unit
8
+ being tested.
9
+
10
+ }
11
+
12
+ interface
13
+
14
+ uses
15
+ TestFramework, MyClass;
16
+
17
+ type
18
+ // Test methods for class TMyClass
19
+
20
+ TestTMyClass = class(TTestCase)
21
+ strict private
22
+ FMyClass: TMyClass;
23
+ public
24
+ procedure SetUp; override;
25
+ procedure TearDown; override;
26
+ published
27
+ procedure TestDoSomething;
28
+ end;
29
+
30
+ implementation
31
+
32
+ procedure TestTMyClass.SetUp;
33
+ begin
34
+ FMyClass := TMyClass.Create;
35
+ end;
36
+
37
+ procedure TestTMyClass.TearDown;
38
+ begin
39
+ FMyClass.Free;
40
+ FMyClass := nil;
41
+ end;
42
+
43
+ procedure TestTMyClass.TestDoSomething;
44
+ begin
45
+ FMyClass.DoSomething;
46
+ Check(True, 'WTF?');
47
+ end;
48
+
49
+ initialization
50
+ // Register any test cases with the test runner
51
+ RegisterTest(TestTMyClass.Suite);
52
+ end.
53
+
@@ -0,0 +1,27 @@
1
+ program testTests;
2
+ {
3
+
4
+ Delphi DUnit Test Project
5
+ -------------------------
6
+ This project contains the DUnit test framework and the GUI/Console test runners.
7
+ Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
8
+ to use the console test runner. Otherwise the GUI test runner will be used by
9
+ default.
10
+
11
+ }
12
+
13
+ {$IFDEF CONSOLE_TESTRUNNER}
14
+ {$APPTYPE CONSOLE}
15
+ {$ENDIF}
16
+
17
+ uses
18
+ DUnitTestRunner,
19
+ TestMyClass in 'TestMyClass.pas',
20
+ MyClass in '..\MyClass.pas';
21
+
22
+ {$R *.RES}
23
+
24
+ begin
25
+ DUnitTestRunner.RunRegisteredTests;
26
+ end.
27
+
@@ -0,0 +1,485 @@
1
+ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
+ <PropertyGroup>
3
+ <ProjectGuid>{F0D0B61E-6600-4803-AB62-7F0A3203BB7F}</ProjectGuid>
4
+ <ProjectVersion>16.0</ProjectVersion>
5
+ <FrameworkType>None</FrameworkType>
6
+ <Base>True</Base>
7
+ <Config Condition="'$(Config)'==''">Debug</Config>
8
+ <Platform Condition="'$(Platform)'==''">Win32</Platform>
9
+ <TargetedPlatforms>1</TargetedPlatforms>
10
+ <AppType>Console</AppType>
11
+ <MainSource>testTests.dpr</MainSource>
12
+ </PropertyGroup>
13
+ <PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
14
+ <Base>true</Base>
15
+ </PropertyGroup>
16
+ <PropertyGroup Condition="('$(Platform)'=='OSX32' and '$(Base)'=='true') or '$(Base_OSX32)'!=''">
17
+ <Base_OSX32>true</Base_OSX32>
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
+ <VerInfo_Locale>1033</VerInfo_Locale>
49
+ <DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>
50
+ <Manifest_File>None</Manifest_File>
51
+ <DCC_UnitSearchPath>$(BDS)\Source\DUnit\src;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
52
+ <DCC_Define>CONSOLE_TESTRUNNER;$(DCC_Define)</DCC_Define>
53
+ <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
54
+ <DCC_DcuOutput>.</DCC_DcuOutput>
55
+ <DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
56
+ <DCC_E>false</DCC_E>
57
+ <DCC_N>false</DCC_N>
58
+ <DCC_S>false</DCC_S>
59
+ <DCC_F>false</DCC_F>
60
+ <DCC_K>false</DCC_K>
61
+ </PropertyGroup>
62
+ <PropertyGroup Condition="'$(Base_OSX32)'!=''">
63
+ <DCC_UsePackage>FireDACSqliteDriver;FireDACDSDriver;DBXSqliteDriver;FireDACPgDriver;fmx;IndySystem;tethering;DBXInterBaseDriver;DataSnapClient;DataSnapServer;DataSnapCommon;DataSnapProviderClient;DbxCommonDriver;dbxcds;fmxFireDAC;DBXOracleDriver;CustomIPTransport;dsnap;IndyIPServer;fmxase;IndyCore;IndyIPCommon;CloudService;FmxTeeUI;FireDACIBDriver;DataSnapFireDAC;FireDACDBXDriver;soapserver;inetdbxpress;dsnapxml;FireDACASADriver;bindcompfmx;FireDACODBCDriver;RESTBackendComponents;emsclientfiredac;rtl;dbrtl;DbxClientDriver;FireDACCommon;bindcomp;inetdb;xmlrtl;DataSnapNativeClient;ibxpress;IndyProtocols;DBXMySQLDriver;FireDACCommonDriver;bindengine;bindcompdbx;soaprtl;FMXTee;emsclient;FireDACMSSQLDriver;FireDAC;DBXInformixDriver;DataSnapServerMidas;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
64
+ </PropertyGroup>
65
+ <PropertyGroup Condition="'$(Base_Win32)'!=''">
66
+ <DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
67
+ <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;WebExpert10;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;Intraweb;DataSnapConnectors;DataSnapServerMidas;dsnapcon;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;vclx;svn;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
68
+ <VerInfo_Locale>1033</VerInfo_Locale>
69
+ <VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
70
+ </PropertyGroup>
71
+ <PropertyGroup Condition="'$(Base_Win64)'!=''">
72
+ <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;Intraweb;DataSnapConnectors;DataSnapServerMidas;dsnapcon;DBXFirebirdDriver;inet;fmxobj;FireDACMySQLDriver;soapmidas;vclx;DBXSybaseASADriver;FireDACOracleDriver;fmxdae;RESTComponents;FireDACMSAccDriver;dbexpress;DataSnapIndy10ServerTransport;IndyIPClient;$(DCC_UsePackage)</DCC_UsePackage>
73
+ </PropertyGroup>
74
+ <PropertyGroup Condition="'$(Cfg_1)'!=''">
75
+ <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
76
+ <DCC_DebugDCUs>true</DCC_DebugDCUs>
77
+ <DCC_Optimize>false</DCC_Optimize>
78
+ <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
79
+ <DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
80
+ <DCC_RemoteDebug>true</DCC_RemoteDebug>
81
+ </PropertyGroup>
82
+ <PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
83
+ <Manifest_File>None</Manifest_File>
84
+ <VerInfo_Locale>1033</VerInfo_Locale>
85
+ <DCC_RemoteDebug>false</DCC_RemoteDebug>
86
+ </PropertyGroup>
87
+ <PropertyGroup Condition="'$(Cfg_2)'!=''">
88
+ <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
89
+ <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
90
+ <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
91
+ <DCC_DebugInformation>0</DCC_DebugInformation>
92
+ </PropertyGroup>
93
+ <ItemGroup>
94
+ <DelphiCompile Include="$(MainSource)">
95
+ <MainSource>MainSource</MainSource>
96
+ </DelphiCompile>
97
+ <DCCReference Include="TestMyClass.pas"/>
98
+ <DCCReference Include="..\MyClass.pas"/>
99
+ <BuildConfiguration Include="Release">
100
+ <Key>Cfg_2</Key>
101
+ <CfgParent>Base</CfgParent>
102
+ </BuildConfiguration>
103
+ <BuildConfiguration Include="Base">
104
+ <Key>Base</Key>
105
+ </BuildConfiguration>
106
+ <BuildConfiguration Include="Debug">
107
+ <Key>Cfg_1</Key>
108
+ <CfgParent>Base</CfgParent>
109
+ </BuildConfiguration>
110
+ </ItemGroup>
111
+ <ProjectExtensions>
112
+ <Borland.Personality>Delphi.Personality.12</Borland.Personality>
113
+ <Borland.ProjectType>Application</Borland.ProjectType>
114
+ <BorlandProject>
115
+ <Delphi.Personality>
116
+ <Excluded_Packages>
117
+ <Excluded_Packages Name="$(BDSBIN)\dcloffice2k210.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
118
+ <Excluded_Packages Name="$(BDSBIN)\dclofficexp210.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
119
+ </Excluded_Packages>
120
+ <Source>
121
+ <Source Name="MainSource">testTests.dpr</Source>
122
+ </Source>
123
+ </Delphi.Personality>
124
+ <Deployment>
125
+ <DeployFile LocalName="Win32\Debug\testTests.exe" Configuration="Debug" Class="ProjectOutput">
126
+ <Platform Name="Win32">
127
+ <RemoteName>testTests.exe</RemoteName>
128
+ <Overwrite>true</Overwrite>
129
+ </Platform>
130
+ </DeployFile>
131
+ <DeployFile LocalName="$(BDS)\Redist\osx32\libcgunwind.1.0.dylib" Class="DependencyModule">
132
+ <Platform Name="OSX32">
133
+ <Overwrite>true</Overwrite>
134
+ </Platform>
135
+ <Platform Name="iOSSimulator">
136
+ <Overwrite>true</Overwrite>
137
+ </Platform>
138
+ </DeployFile>
139
+ <DeployClass Required="true" Name="DependencyPackage">
140
+ <Platform Name="iOSDevice">
141
+ <Operation>1</Operation>
142
+ <Extensions>.dylib</Extensions>
143
+ </Platform>
144
+ <Platform Name="Win32">
145
+ <Operation>0</Operation>
146
+ <Extensions>.bpl</Extensions>
147
+ </Platform>
148
+ <Platform Name="OSX32">
149
+ <RemoteDir>Contents\MacOS</RemoteDir>
150
+ <Operation>1</Operation>
151
+ <Extensions>.dylib</Extensions>
152
+ </Platform>
153
+ <Platform Name="iOSSimulator">
154
+ <Operation>1</Operation>
155
+ <Extensions>.dylib</Extensions>
156
+ </Platform>
157
+ </DeployClass>
158
+ <DeployClass Name="DependencyModule">
159
+ <Platform Name="iOSDevice">
160
+ <Operation>1</Operation>
161
+ <Extensions>.dylib</Extensions>
162
+ </Platform>
163
+ <Platform Name="Win32">
164
+ <Operation>0</Operation>
165
+ <Extensions>.dll;.bpl</Extensions>
166
+ </Platform>
167
+ <Platform Name="OSX32">
168
+ <RemoteDir>Contents\MacOS</RemoteDir>
169
+ <Operation>1</Operation>
170
+ <Extensions>.dylib</Extensions>
171
+ </Platform>
172
+ <Platform Name="iOSSimulator">
173
+ <Operation>1</Operation>
174
+ <Extensions>.dylib</Extensions>
175
+ </Platform>
176
+ </DeployClass>
177
+ <DeployClass Name="iPad_Launch2048">
178
+ <Platform Name="iOSDevice">
179
+ <Operation>1</Operation>
180
+ </Platform>
181
+ <Platform Name="iOSSimulator">
182
+ <Operation>1</Operation>
183
+ </Platform>
184
+ </DeployClass>
185
+ <DeployClass Name="ProjectOSXInfoPList">
186
+ <Platform Name="OSX32">
187
+ <RemoteDir>Contents</RemoteDir>
188
+ <Operation>1</Operation>
189
+ </Platform>
190
+ </DeployClass>
191
+ <DeployClass Name="ProjectiOSDeviceDebug">
192
+ <Platform Name="iOSDevice">
193
+ <RemoteDir>..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF</RemoteDir>
194
+ <Operation>1</Operation>
195
+ </Platform>
196
+ </DeployClass>
197
+ <DeployClass Name="Android_SplashImage470">
198
+ <Platform Name="Android">
199
+ <RemoteDir>res\drawable-normal</RemoteDir>
200
+ <Operation>1</Operation>
201
+ </Platform>
202
+ </DeployClass>
203
+ <DeployClass Name="AndroidLibnativeX86File">
204
+ <Platform Name="Android">
205
+ <RemoteDir>library\lib\x86</RemoteDir>
206
+ <Operation>1</Operation>
207
+ </Platform>
208
+ </DeployClass>
209
+ <DeployClass Name="ProjectiOSResource">
210
+ <Platform Name="iOSDevice">
211
+ <Operation>1</Operation>
212
+ </Platform>
213
+ <Platform Name="iOSSimulator">
214
+ <Operation>1</Operation>
215
+ </Platform>
216
+ </DeployClass>
217
+ <DeployClass Name="ProjectOSXEntitlements">
218
+ <Platform Name="OSX32">
219
+ <RemoteDir>Contents</RemoteDir>
220
+ <Operation>1</Operation>
221
+ </Platform>
222
+ </DeployClass>
223
+ <DeployClass Name="AndroidGDBServer">
224
+ <Platform Name="Android">
225
+ <RemoteDir>library\lib\armeabi-v7a</RemoteDir>
226
+ <Operation>1</Operation>
227
+ </Platform>
228
+ </DeployClass>
229
+ <DeployClass Name="iPhone_Launch640">
230
+ <Platform Name="iOSDevice">
231
+ <Operation>1</Operation>
232
+ </Platform>
233
+ <Platform Name="iOSSimulator">
234
+ <Operation>1</Operation>
235
+ </Platform>
236
+ </DeployClass>
237
+ <DeployClass Name="Android_SplashImage960">
238
+ <Platform Name="Android">
239
+ <RemoteDir>res\drawable-xlarge</RemoteDir>
240
+ <Operation>1</Operation>
241
+ </Platform>
242
+ </DeployClass>
243
+ <DeployClass Name="Android_LauncherIcon96">
244
+ <Platform Name="Android">
245
+ <RemoteDir>res\drawable-xhdpi</RemoteDir>
246
+ <Operation>1</Operation>
247
+ </Platform>
248
+ </DeployClass>
249
+ <DeployClass Name="iPhone_Launch320">
250
+ <Platform Name="iOSDevice">
251
+ <Operation>1</Operation>
252
+ </Platform>
253
+ <Platform Name="iOSSimulator">
254
+ <Operation>1</Operation>
255
+ </Platform>
256
+ </DeployClass>
257
+ <DeployClass Name="Android_LauncherIcon144">
258
+ <Platform Name="Android">
259
+ <RemoteDir>res\drawable-xxhdpi</RemoteDir>
260
+ <Operation>1</Operation>
261
+ </Platform>
262
+ </DeployClass>
263
+ <DeployClass Name="AndroidLibnativeMipsFile">
264
+ <Platform Name="Android">
265
+ <RemoteDir>library\lib\mips</RemoteDir>
266
+ <Operation>1</Operation>
267
+ </Platform>
268
+ </DeployClass>
269
+ <DeployClass Name="AndroidSplashImageDef">
270
+ <Platform Name="Android">
271
+ <RemoteDir>res\drawable</RemoteDir>
272
+ <Operation>1</Operation>
273
+ </Platform>
274
+ </DeployClass>
275
+ <DeployClass Name="DebugSymbols">
276
+ <Platform Name="OSX32">
277
+ <RemoteDir>Contents\MacOS</RemoteDir>
278
+ <Operation>1</Operation>
279
+ </Platform>
280
+ <Platform Name="iOSSimulator">
281
+ <Operation>1</Operation>
282
+ </Platform>
283
+ <Platform Name="Win32">
284
+ <Operation>0</Operation>
285
+ </Platform>
286
+ </DeployClass>
287
+ <DeployClass Name="DependencyFramework">
288
+ <Platform Name="OSX32">
289
+ <RemoteDir>Contents\MacOS</RemoteDir>
290
+ <Operation>1</Operation>
291
+ <Extensions>.framework</Extensions>
292
+ </Platform>
293
+ <Platform Name="Win32">
294
+ <Operation>0</Operation>
295
+ </Platform>
296
+ </DeployClass>
297
+ <DeployClass Name="Android_SplashImage426">
298
+ <Platform Name="Android">
299
+ <RemoteDir>res\drawable-small</RemoteDir>
300
+ <Operation>1</Operation>
301
+ </Platform>
302
+ </DeployClass>
303
+ <DeployClass Name="ProjectiOSEntitlements">
304
+ <Platform Name="iOSDevice">
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="OSX32">False</Platform>
471
+ <Platform value="Win32">True</Platform>
472
+ <Platform value="Win64">False</Platform>
473
+ </Platforms>
474
+ <UnitTesting>
475
+ <TestFramework>DUnit / Delphi Win32</TestFramework>
476
+ <TestRunner>GUI</TestRunner>
477
+ <SourceProjectName>C:\dev\delphi-compiler\test\test.dproj</SourceProjectName>
478
+ </UnitTesting>
479
+ </BorlandProject>
480
+ <ProjectFileVersion>12</ProjectFileVersion>
481
+ </ProjectExtensions>
482
+ <Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
483
+ <Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
484
+ <Import Project="$(MSBuildProjectName).deployproj" Condition="Exists('$(MSBuildProjectName).deployproj')"/>
485
+ </Project>