PackagesGenerator - Automatic Generator Package files for multiple versions of Delphi.

PackagesGenerator - Automatic Generator Package files for multiple versions of Delphi.

https://github.com/errorcalc/PackagesGenerator/

If you are writing a components for Delphi, then you know how difficult it is to maintain multiple versions of Delphi. Usually you get a lot of almost identical dpk, dproj, groupproj files for different versions of Delphi,
For example:
MyComponents_XE2.groupproj
MyComponents_XE2.dpk
MyComponents_XE2.dproj
MyComponentsDesign_XE2.dpk
MyComponentsDesign_XE2.dproj
MyComponents_XE3.groupproj
MyComponents_XE3.dpk
MyComponents_XE3.dproj
MyComponentsDesign_XE3.dpk
MyComponentsDesign_XE3.dproj
...
MyComponentsDesign_RX10Berlin.dproj
Tiring create these files manually, also you can make mistakes.

ErrorSoft PackagesGenerator can solve this problem!
The PackagesGenerator automatic generates the necessary files, doing the necessary internal changes (LIBSUFFIX, contains ...).

Сonversion parameters are set in the INI file (Example):
[Folders]
Base=Source\ <- the path to the original files
Gen=Packages\ <- the path to the generated files
GroupAbove=True
[Versions]
RX10Godzilla=320
RX10Berlin=310
RX10Seattle=300
XE8=290
XE7=280
XE6=270
XE5=260
XE4=250
XE3=240
XE2=230
[Files]
MyComponents.groupproj
MyComponentsDesign.dpk
MyComponents.dpk
MyComponentsDesign.dproj
MyComponents.dproj

This ini and PackagesGenerator generate all necessary files!

Example:
For example see https://github.com/errorcalc/FreeEsVclComponents, "Packages" dir.

License:
This project has three licenses, you can select one of three license:

1) Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License.
That means that you can use the product for non commercial purposes.
(example: Personal use, Study, Open Source,...)

2) GNU GPL v3: https://www.gnu.org/licenses/gpl.html, only for opensource projects uses GNU GPL license

3) ErrorSoft PackagesGenerator Commercial license.
$10 for individual developers, $50 for company.

Comments

  1. Thanks! I've looked at the implementation. It ONLY supports XE2+, doesn't it? (As it is implemented by regex find/replace)

    ReplyDelete
  2. Baoquan Zuo you can using this for any version such as 2010(i not tested on more older version)-XE10, but compiling on XE3-XE10.

    ReplyDelete

Post a Comment