Skip to content

Inconsistencies in project files #288

@jr2804

Description

@jr2804
  1. The project files for Python.dproj, PythonVcl.dproj and PythonFmx.dproj do not contain all source files and rely on Delphi to find them in the directory next to them and should be included. Due to this, the non-included files are compiled next to their source path (in the folder Source), which is really bad style. It is common practice to have all .dcu files located at one single output directory (without .pas files), which can be added as a library project. The following structures are suggested:

imageimageimage

Note 1: Please also have a look at the revised required packages (e.g., Vcl is not required for Python.bpl).
Note 2: I checked this issue only for Delphi 10.4 project files, don't know if it's valid also for other projects.

  1. In consequence, the setting "Unit output directory" should be set to " .$(Platform)$(Config)" as default for all projects.

  2. All units Source\fmx\WrapFmx*.pas try in include {$I Definition.Inc}, but it should be {$I ..\Definition.Inc} (as in Source\vcl\Vcl.Python*.pas).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions