Skip to content

Commit 02ff935

Browse files
committed
Including the rc compilables to the project and redirecting the res outputs to the resource folder
1 parent bbcf09a commit 02ff935

File tree

3 files changed

+90
-2
lines changed

3 files changed

+90
-2
lines changed

packages/P4DEnvironment.dproj

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
9494
<SanitizedProjectName>P4DEnvironment</SanitizedProjectName>
9595
<DllSuffix>$(Auto)</DllSuffix>
96+
<BRCC_OutputDir>..\resources</BRCC_OutputDir>
9697
</PropertyGroup>
9798
<PropertyGroup Condition="'$(Base_Android)'!=''">
9899
<DCC_CBuilderOutput>None</DCC_CBuilderOutput>
@@ -185,6 +186,93 @@
185186
<DCCReference Include="..\src\AddOn\PyEnvironment.AddOn.EnsurePip.pas"/>
186187
<DCCReference Include="..\src\AddOn\PyEnvironment.AddOn.GetPip.pas"/>
187188
<DCCReference Include="..\src\AddOn\PyEnvironment.AddOn.pas"/>
189+
<RcCompile Include="..\resources\pip\getpipscript.rc">
190+
<Form>getpipscript.res</Form>
191+
</RcCompile>
192+
<RcCompile Include="..\resources\python37\python3-android-3.7-arm.rc">
193+
<Form>python3-android-3.7-arm.res</Form>
194+
</RcCompile>
195+
<RcCompile Include="..\resources\python37\python3-android-3.7-arm64.rc">
196+
<Form>python3-android-3.7-arm64.res</Form>
197+
</RcCompile>
198+
<RcCompile Include="..\resources\python37\python3-linux-3.7-x86_64.rc">
199+
<Form>python3-linux-3.7-x86_64.res</Form>
200+
</RcCompile>
201+
<RcCompile Include="..\resources\python37\python3-macos-3.7-universal2.rc">
202+
<Form>python3-macos-3.7-universal2.res</Form>
203+
</RcCompile>
204+
<RcCompile Include="..\resources\python37\python3-macos-3.7-x86_64.rc">
205+
<Form>python3-macos-3.7-x86_64.res</Form>
206+
</RcCompile>
207+
<RcCompile Include="..\resources\python37\python3-windows-3.7-amd64.rc">
208+
<Form>python3-windows-3.7-amd64.res</Form>
209+
</RcCompile>
210+
<RcCompile Include="..\resources\python37\python3-windows-3.7-win32.rc">
211+
<Form>python3-windows-3.7-win32.res</Form>
212+
</RcCompile>
213+
<RcCompile Include="..\resources\python38\python3-android-3.8-arm.rc">
214+
<Form>python3-android-3.8-arm.res</Form>
215+
</RcCompile>
216+
<RcCompile Include="..\resources\python38\python3-android-3.8-arm64.rc">
217+
<Form>python3-android-3.8-arm64.res</Form>
218+
</RcCompile>
219+
<RcCompile Include="..\resources\python38\python3-linux-3.8-x86_64.rc">
220+
<Form>python3-linux-3.8-x86_64.res</Form>
221+
</RcCompile>
222+
<RcCompile Include="..\resources\python38\python3-macos-3.8-universal2.rc">
223+
<Form>python3-macos-3.8-universal2.res</Form>
224+
</RcCompile>
225+
<RcCompile Include="..\resources\python38\python3-macos-3.8-x86_64.rc">
226+
<Form>python3-macos-3.8-x86_64.res</Form>
227+
</RcCompile>
228+
<RcCompile Include="..\resources\python38\python3-windows-3.8-amd64.rc">
229+
<Form>python3-windows-3.8-amd64.res</Form>
230+
</RcCompile>
231+
<RcCompile Include="..\resources\python38\python3-windows-3.8-win32.rc">
232+
<Form>python3-windows-3.8-win32.res</Form>
233+
</RcCompile>
234+
<RcCompile Include="..\resources\python39\python3-android-3.9-arm.rc">
235+
<Form>python3-android-3.9-arm.res</Form>
236+
</RcCompile>
237+
<RcCompile Include="..\resources\python39\python3-android-3.9-arm64.rc">
238+
<Form>python3-android-3.9-arm64.res</Form>
239+
</RcCompile>
240+
<RcCompile Include="..\resources\python39\python3-linux-3.9-x86_64.rc">
241+
<Form>python3-linux-3.9-x86_64.res</Form>
242+
</RcCompile>
243+
<RcCompile Include="..\resources\python39\python3-macos-3.9-universal2.rc">
244+
<Form>python3-macos-3.9-universal2.res</Form>
245+
</RcCompile>
246+
<RcCompile Include="..\resources\python39\python3-macos-3.9-x86_64.rc">
247+
<Form>python3-macos-3.9-x86_64.res</Form>
248+
</RcCompile>
249+
<RcCompile Include="..\resources\python39\python3-windows-3.9-amd64.rc">
250+
<Form>python3-windows-3.9-amd64.res</Form>
251+
</RcCompile>
252+
<RcCompile Include="..\resources\python39\python3-windows-3.9-win32.rc">
253+
<Form>python3-windows-3.9-win32.res</Form>
254+
</RcCompile>
255+
<RcCompile Include="..\resources\python310\python3-android-3.10-arm.rc">
256+
<Form>python3-android-3.10-arm.res</Form>
257+
</RcCompile>
258+
<RcCompile Include="..\resources\python310\python3-android-3.10-arm64.rc">
259+
<Form>python3-android-3.10-arm64.res</Form>
260+
</RcCompile>
261+
<RcCompile Include="..\resources\python310\python3-linux-3.10-x86_64.rc">
262+
<Form>python3-linux-3.10-x86_64.res</Form>
263+
</RcCompile>
264+
<RcCompile Include="..\resources\python310\python3-macos-3.10-universal2.rc">
265+
<Form>python3-macos-3.10-universal2.res</Form>
266+
</RcCompile>
267+
<RcCompile Include="..\resources\python310\python3-macos-3.10-x86_64.rc">
268+
<Form>python3-macos-3.10-x86_64.res</Form>
269+
</RcCompile>
270+
<RcCompile Include="..\resources\python310\python3-windows-3.10-amd64.rc">
271+
<Form>python3-windows-3.10-amd64.res</Form>
272+
</RcCompile>
273+
<RcCompile Include="..\resources\python310\python3-windows-3.10-win32.rc">
274+
<Form>python3-windows-3.10-win32.res</Form>
275+
</RcCompile>
188276
<BuildConfiguration Include="Base">
189277
<Key>Base</Key>
190278
</BuildConfiguration>

packages/dclP4DEnvironment.dpk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ requires
3636
p4denvironment;
3737

3838
contains
39-
PyEnvReg in '..\src\PyEnvReg.pas';
39+
PyEnvironment.Registration in '..\src\PyEnvironment.Registration.pas';
4040

4141
end.

packages/dclP4DEnvironment.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
</DelphiCompile>
9595
<DCCReference Include="rtl.dcp"/>
9696
<DCCReference Include="p4denvironment.dcp"/>
97-
<DCCReference Include="..\src\PyEnvReg.pas"/>
97+
<DCCReference Include="..\src\PyEnvironment.Registration.pas"/>
9898
<RcItem Include="..\images\png\128x128\embbeded.png">
9999
<ResourceType>RCDATA</ResourceType>
100100
<ResourceId>TPYEMBEDDEDENVIRONMENT128_PNG</ResourceId>

0 commit comments

Comments
 (0)