Skip to content

Commit 12a5951

Browse files
committed
clean up search paths and resized form
1 parent 9b835ec commit 12a5951

File tree

5 files changed

+201
-71
lines changed

5 files changed

+201
-71
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,5 @@ modules/
7878
!Win64/Debug/data/project/project.json
7979
!Win32/Release/data/project/project.json
8080
!Win64/Release/data/project/project.json
81-
!source/views/frame/debug
81+
!source/views/frame/debug
82+
*.res

PythonFMXBuilderCLI.dproj

Lines changed: 63 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,46 @@
4545
<CfgParent>Base</CfgParent>
4646
<Base>true</Base>
4747
</PropertyGroup>
48+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
49+
<Cfg_2_Win32>true</Cfg_2_Win32>
50+
<CfgParent>Cfg_2</CfgParent>
51+
<Cfg_2>true</Cfg_2>
52+
<Base>true</Base>
53+
</PropertyGroup>
4854
<PropertyGroup Condition="'$(Base)'!=''">
4955
<SanitizedProjectName>PythonFMXBuilderCLI</SanitizedProjectName>
5056
<DCC_DcuOutput>.\lib\$(Platform)\$(Config)</DCC_DcuOutput>
5157
<DCC_Define>.\lib\$(Platform)\$(Config);$(DCC_Define)</DCC_Define>
5258
<DCC_ExeOutput>.\out\$(Platform)\$(Config)</DCC_ExeOutput>
5359
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
54-
<DCC_UnitSearchPath>modules\.dcp;modules\.dcu;modules;modules\dap4delphi\source;modules\dap4delphi\source\client;modules\dunitx\Examples;modules\dunitx\Expert;modules\dunitx\Source;modules\dunitx\Tests;modules\python4delphi\Demos\Demo01;modules\python4delphi\Demos\Demo02;modules\python4delphi\Demos\Demo03;modules\python4delphi\Demos\Demo04;modules\python4delphi\Demos\Demo05;modules\python4delphi\Demos\Demo06;modules\python4delphi\Demos\Demo07;modules\python4delphi\Demos\Demo08;modules\python4delphi\Demos\Demo09;modules\python4delphi\Demos\Demo10_FireDAC;modules\python4delphi\Demos\Demo11;modules\python4delphi\Demos\Demo16\Example1;modules\python4delphi\Demos\Demo16\Example2;modules\python4delphi\Demos\Demo17;modules\python4delphi\Demos\Demo19;modules\python4delphi\Demos\Demo20;modules\python4delphi\Demos\Demo21;modules\python4delphi\Demos\Demo22;modules\python4delphi\Demos\Demo23;modules\python4delphi\Demos\Demo25;modules\python4delphi\Demos\Demo26;modules\python4delphi\Demos\Demo27;modules\python4delphi\Demos\Demo28;modules\python4delphi\Demos\Demo29;modules\python4delphi\Demos\Demo30;modules\python4delphi\Demos\Demo31;modules\python4delphi\Demos\Demo32;modules\python4delphi\Demos\Demo33;modules\python4delphi\Demos\Demo34;modules\python4delphi\Demos\FMX\SimpleDemo;modules\python4delphi\Demos\FPC\Demo01;modules\python4delphi\Demos\FPC\Demo06;modules\python4delphi\Demos\FPC\Demo25;modules\python4delphi\Demos\FPC\Demo31;modules\python4delphi\Modules\DelphiVCL;modules\python4delphi\Modules\DemoModule;modules\python4delphi\Modules\RttiModule;modules\python4delphi\Packages\FPC;modules\python4delphi\Source;modules\python4delphi\Source\fmx;modules\python4delphi\Source\lcl;modules\python4delphi\Source\vcl;modules\python4delphi\Tests;modules\python4delphi\Tutorials\Webinar I\ModuleDemo;modules\python4delphi\Tutorials\Webinar I\SimpleDemo;modules\python4delphi\Tutorials\Webinar I\WrapDelphiDemo;modules\python4delphi\Tutorials\Webinar II\AnalyticsDemo;modules\python4delphi\Tutorials\Webinar II\VarPythDemo;modules\python4delphi\Tutorials\Webinar II\VizDemo;modules\python4delphi\Unsupported\VCL\Demo10;modules\python4delphi\Unsupported\VCL\Demo13;modules\python4delphi\Unsupported\VCL\Demo14;modules\python4delphi\Unsupported\VCL\Demo15;modules\python4delphi\Unsupported\VCL;modules\pythonenviroments\src\AddOn;modules\pythonenviroments\src\Embeddable;modules\pythonenviroments\src\Embeddable\Res;modules\pythonenviroments\src\Project\IDE;modules\pythonenviroments\src\Project;modules\pythonenviroments\src;modules\pythonenviroments\src\Tools;modules\vsoft.commandlineparser\Samples\Command;modules\vsoft.commandlineparser\Samples\Simple;modules\vsoft.commandlineparser\Src;modules\vsoft.commandlineparser\Tests;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
55-
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
56-
<VerInfo_Locale>1046</VerInfo_Locale>
60+
<DCC_UnitSearchPath>modules\.dcp;modules\.dcu;modules;modules\dunitx\Examples;modules\dunitx\Expert;modules\dunitx\Source;modules\dunitx\Tests;source;source\models;source\models\project;source\containers;source\services;source\storage;source\views;source\views\frame;source\cli;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
61+
<Icns_MainIcns>$(BDS)\bin\delphi_PROJECTICNS.icns</Icns_MainIcns>
62+
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
63+
<PreBuildEvent>
64+
<![CDATA[(xcopy /y "$(PROJECTDIR)\python" "$(OUTPUTDIR)python" /S /E /H /I)
65+
( xcopy /y "$(PROJECTDIR)\android\pre-built" "$(OUTPUTDIR)android\pre-built" /S /E /H /I)
66+
$(PreBuildEvent)]]>
67+
</PreBuildEvent>
68+
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
69+
<VerInfo_Locale>1033</VerInfo_Locale>
5770
</PropertyGroup>
5871
<PropertyGroup Condition="'$(Base_Win32)'!=''">
5972
<BT_BuildType>Debug</BT_BuildType>
6073
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
6174
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
62-
<DCC_UsePackage>vclwinx;DataSnapServer;P4DMatplotLib;fmx;emshosting;vclie;DbxCommonDriver;bindengine;IndyIPCommon;VCLRESTComponents;DBXMSSQLDriver;FireDACCommonODBC;emsclient;FireDACCommonDriver;appanalytics;IndyProtocols;vclx;IndyIPClient;dbxcds;vcledge;bindcompvclwinx;emsedge;bindcompfmx;DBXFirebirdDriver;inetdb;FireDACSqliteDriver;DbxClientDriver;FireDACASADriver;soapmidas;vclactnband;fmxFireDAC;dbexpress;Python;FireDACInfxDriver;P4DPyPackage;DBXMySQLDriver;VclSmp;inet;DataSnapCommon;PythonVcl;vcltouch;fmxase;P4DOpenCV;DBXOdbcDriver;dbrtl;FireDACDBXDriver;FireDACOracleDriver;fmxdae;FireDACMSAccDriver;CustomIPTransport;FireDACMSSQLDriver;DataSnapIndy10ServerTransport;P4DTensorFlow;DataSnapConnectors;vcldsnap;DBXInterBaseDriver;FireDACMongoDBDriver;IndySystem;FireDACTDataDriver;vcldb;vclFireDAC;bindcomp;FireDACCommon;DataSnapServerMidas;FireDACODBCDriver;emsserverresource;IndyCore;RESTBackendComponents;P4DPyTorch;P4DScikitLearn;bindcompdbx;rtl;FireDACMySQLDriver;FireDACADSDriver;RESTComponents;DBXSqliteDriver;vcl;IndyIPServer;dsnapxml;dsnapcon;DataSnapClient;DataSnapProviderClient;adortl;P4DNLTK;DBXSybaseASEDriver;DBXDb2Driver;vclimg;DataSnapFireDAC;emsclientfiredac;FireDACPgDriver;FireDAC;FireDACDSDriver;inetdbxpress;xmlrtl;tethering;P4DEnvironment;bindcompvcl;dsnap;CloudService;DBXSybaseASADriver;DBXOracleDriver;FireDACDb2Driver;DBXInformixDriver;P4DNumPy;fmxobj;bindcompvclsmp;DataSnapNativeClient;PythonFmx;DatasnapConnectorsFreePascal;soaprtl;soapserver;FireDACIBDriver;$(DCC_UsePackage)</DCC_UsePackage>
63-
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
64-
<VerInfo_Locale>1033</VerInfo_Locale>
75+
<DCC_UnitSearchPath>..\dap4delphi\lib\Win32\Release;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
76+
<Icon_MainIcon>images\PythonFMXBuilder.ico</Icon_MainIcon>
77+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
78+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
79+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
6580
</PropertyGroup>
6681
<PropertyGroup Condition="'$(Base_Win64)'!=''">
6782
<BT_BuildType>Debug</BT_BuildType>
6883
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)</DCC_Namespace>
84+
<DCC_UnitSearchPath>..\dap4delphi\lib\Win64\Release;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
85+
<Icon_MainIcon>images\PythonFMXBuilder.ico</Icon_MainIcon>
86+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
87+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
6988
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
7089
<VerInfo_Locale>1033</VerInfo_Locale>
7190
</PropertyGroup>
@@ -97,6 +116,12 @@
97116
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
98117
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
99118
</PropertyGroup>
119+
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
120+
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
121+
<Icon_MainIcon>images\PythonFMXBuilder.ico</Icon_MainIcon>
122+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
123+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
124+
</PropertyGroup>
100125
<ItemGroup>
101126
<DelphiCompile Include="$(MainSource)">
102127
<MainSource>MainSource</MainSource>
@@ -143,4 +168,36 @@
143168
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
144169
<Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
145170
<Import Project="$(MSBuildProjectName).deployproj" Condition="Exists('$(MSBuildProjectName).deployproj')"/>
171+
<PropertyGroup Condition="'$(Config)'=='Debug' And '$(Platform)'=='Win32'">
172+
<PreBuildEvent>(xcopy /y &quot;$(PROJECTDIR)\python&quot; &quot;$(OUTPUTDIR)python&quot; /S /E /H /I)&amp;&amp;( xcopy /y &quot;$(PROJECTDIR)\android\pre-built&quot; &quot;$(OUTPUTDIR)android\pre-built&quot; /S /E /H /I)</PreBuildEvent>
173+
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
174+
<PreLinkEvent/>
175+
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
176+
<PostBuildEvent/>
177+
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
178+
</PropertyGroup>
179+
<PropertyGroup Condition="'$(Config)'=='Debug' And '$(Platform)'=='Win64'">
180+
<PreBuildEvent>(xcopy /y &quot;$(PROJECTDIR)\python&quot; &quot;$(OUTPUTDIR)python&quot; /S /E /H /I)&amp;&amp;( xcopy /y &quot;$(PROJECTDIR)\android\pre-built&quot; &quot;$(OUTPUTDIR)android\pre-built&quot; /S /E /H /I)</PreBuildEvent>
181+
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
182+
<PreLinkEvent/>
183+
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
184+
<PostBuildEvent/>
185+
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
186+
</PropertyGroup>
187+
<PropertyGroup Condition="'$(Config)'=='Release' And '$(Platform)'=='Win32'">
188+
<PreBuildEvent>(xcopy /y &quot;$(PROJECTDIR)\python&quot; &quot;$(OUTPUTDIR)python&quot; /S /E /H /I)&amp;&amp;( xcopy /y &quot;$(PROJECTDIR)\android\pre-built&quot; &quot;$(OUTPUTDIR)android\pre-built&quot; /S /E /H /I)</PreBuildEvent>
189+
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
190+
<PreLinkEvent/>
191+
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
192+
<PostBuildEvent/>
193+
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
194+
</PropertyGroup>
195+
<PropertyGroup Condition="'$(Config)'=='Release' And '$(Platform)'=='Win64'">
196+
<PreBuildEvent>(xcopy /y &quot;$(PROJECTDIR)\python&quot; &quot;$(OUTPUTDIR)python&quot; /S /E /H /I)&amp;&amp;( xcopy /y &quot;$(PROJECTDIR)\android\pre-built&quot; &quot;$(OUTPUTDIR)android\pre-built&quot; /S /E /H /I)</PreBuildEvent>
197+
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
198+
<PreLinkEvent/>
199+
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
200+
<PostBuildEvent/>
201+
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
202+
</PropertyGroup>
146203
</Project>

0 commit comments

Comments
 (0)