IndySockets / Indy

Indy - Internet Direct
https://www.indyproject.org
447 stars 152 forks source link

Make use of LIBPREFIX and LIBSUFFIX in packages #133

Open rlebeau opened 7 years ago

rlebeau commented 7 years ago

It is a maintenance nightmare having to maintain separate .dpk files for every individual C++Builder/Delphi version. Starting with C++Builder/Delphi 6, the Delphi compiler supports LIBPREFIX and LIBSUFFIX directives. This allows a single .dpk project to produce different-named .BPL output files, while maintaining a single .DCP output file so other packages that require Indy packages would not need to be recompiled.

Related reading: https://www.finalbuilder.com/resources/blogs/advice-for-delphi-library-authors

vincentparrett commented 4 years ago

I've never been a fan of the package version numbering for LibSuffix values - looking at a package file it's hard to immediately know which version of delphi the package is for.

I'd really like to see more explicit bpl naming, e.g : IndyCoreXE7.bpl or (with indy version) IndyCore11-XE7.bpl