Skip to content

Commit 9c566fe

Browse files
committed
- Ajuste de aplicações de teste, adicionando suporte ao valgrind no Lazarus
1 parent c64bb3d commit 9c566fe

3 files changed

Lines changed: 27 additions & 24 deletions

File tree

Delphi/Console/RALTestServerDelphiConsole.dproj

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
33
<ProjectGuid>{6A2917CE-58E4-4CB8-88D8-68A83EFA5829}</ProjectGuid>
4-
<ProjectVersion>20.1</ProjectVersion>
4+
<ProjectVersion>20.2</ProjectVersion>
55
<FrameworkType>None</FrameworkType>
66
<Base>True</Base>
77
<Config Condition="'$(Config)'==''">Release</Config>
@@ -75,8 +75,14 @@
7575
<CfgParent>Base</CfgParent>
7676
<Base>true</Base>
7777
</PropertyGroup>
78+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win64)'!=''">
79+
<Cfg_2_Win64>true</Cfg_2_Win64>
80+
<CfgParent>Cfg_2</CfgParent>
81+
<Cfg_2>true</Cfg_2>
82+
<Base>true</Base>
83+
</PropertyGroup>
7884
<PropertyGroup Condition="'$(Base)'!=''">
79-
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
85+
<DCC_DcuOutput>.\$(Platform)\$(Config)\trash</DCC_DcuOutput>
8086
<DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
8187
<DCC_E>false</DCC_E>
8288
<DCC_N>false</DCC_N>
@@ -188,6 +194,11 @@
188194
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
189195
<DCC_DebugInformation>0</DCC_DebugInformation>
190196
</PropertyGroup>
197+
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
198+
<VerInfo_Locale>1033</VerInfo_Locale>
199+
<Manifest_File>(None)</Manifest_File>
200+
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
201+
</PropertyGroup>
191202
<ItemGroup>
192203
<DelphiCompile Include="$(MainSource)">
193204
<MainSource>MainSource</MainSource>
@@ -212,8 +223,12 @@
212223
<Source>
213224
<Source Name="MainSource">RALTestServerDelphiConsole.dpr</Source>
214225
</Source>
226+
<Excluded_Packages>
227+
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k290.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
228+
<Excluded_Packages Name="$(BDSBIN)\dclofficexp290.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
229+
</Excluded_Packages>
215230
</Delphi.Personality>
216-
<Deployment Version="4">
231+
<Deployment Version="5">
217232
<DeployFile LocalName="$(BDS)\Redist\iossimulator\libcgunwind.1.0.dylib" Class="DependencyModule">
218233
<Platform Name="iOSSimulator">
219234
<Overwrite>true</Overwrite>
@@ -229,12 +244,13 @@
229244
<Overwrite>true</Overwrite>
230245
</Platform>
231246
</DeployFile>
232-
<DeployFile LocalName="Win32\Debug\RALTestServerDelphiConsole.exe" Configuration="Debug" Class="ProjectOutput">
233-
<Platform Name="Win32">
234-
<RemoteName>RALTestServerDelphiConsole.exe</RemoteName>
247+
<DeployFile LocalName="Linux64\Release\RALTestServerDelphiConsole" Configuration="Release" Class="ProjectOutput">
248+
<Platform Name="Linux64">
249+
<RemoteName>RALTestServerDelphiConsole</RemoteName>
235250
<Overwrite>true</Overwrite>
236251
</Platform>
237252
</DeployFile>
253+
<DeployFile LocalName="Win32\Debug\RALTestServerDelphiConsole.exe" Configuration="Debug" Class="ProjectOutput"/>
238254
<DeployClass Name="AdditionalDebugSymbols">
239255
<Platform Name="iOSSimulator">
240256
<Operation>1</Operation>
@@ -247,16 +263,6 @@
247263
<Operation>0</Operation>
248264
</Platform>
249265
</DeployClass>
250-
<DeployClass Name="AndroidClasses">
251-
<Platform Name="Android">
252-
<RemoteDir>classes</RemoteDir>
253-
<Operation>64</Operation>
254-
</Platform>
255-
<Platform Name="Android64">
256-
<RemoteDir>classes</RemoteDir>
257-
<Operation>64</Operation>
258-
</Platform>
259-
</DeployClass>
260266
<DeployClass Name="AndroidFileProvider">
261267
<Platform Name="Android">
262268
<RemoteDir>res\xml</RemoteDir>
@@ -267,12 +273,6 @@
267273
<Operation>1</Operation>
268274
</Platform>
269275
</DeployClass>
270-
<DeployClass Name="AndroidGDBServer">
271-
<Platform Name="Android">
272-
<RemoteDir>library\lib\armeabi-v7a</RemoteDir>
273-
<Operation>1</Operation>
274-
</Platform>
275-
</DeployClass>
276276
<DeployClass Name="AndroidLibnativeArmeabiFile">
277277
<Platform Name="Android">
278278
<RemoteDir>library\lib\armeabi</RemoteDir>

Lazarus/Console/RALTestServerConsoleLazarus.lpi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
</CodeGeneration>
3636
<Linking>
3737
<Debugging>
38-
<GenerateDebugInfo Value="False"/>
3938
<DebugInfoType Value="dsDwarf3"/>
39+
<UseValgrind Value="True"/>
40+
<UseExternalDbgSyms Value="True"/>
4041
</Debugging>
4142
<LinkSmart Value="True"/>
4243
</Linking>
@@ -63,8 +64,9 @@
6364
</CodeGeneration>
6465
<Linking>
6566
<Debugging>
66-
<GenerateDebugInfo Value="False"/>
6767
<DebugInfoType Value="dsDwarf3"/>
68+
<UseValgrind Value="True"/>
69+
<UseExternalDbgSyms Value="True"/>
6870
</Debugging>
6971
<LinkSmart Value="True"/>
7072
</Linking>

Lazarus/Console/RALTestServerConsoleLazarus.lpr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
uses
66
{$IFDEF UNIX} cthreads, {$ENDIF}
7+
{$IFDEF HASAMIGA} athreads, {$ENDIF}
78
Classes,
89
SysUtils,
910
CustApp,

0 commit comments

Comments
 (0)