Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of LIBPREFIX and LIBSUFFIX in packages #133

Open
rlebeau opened this issue Apr 6, 2017 · 1 comment
Open

Make use of LIBPREFIX and LIBSUFFIX in packages #133

rlebeau opened this issue Apr 6, 2017 · 1 comment
Assignees
Labels
Element: Compiler/IDE Issues related to a particular Compiler and/or IDE Status: In Progress Issue is being worked on Type: Enhancement Issue is proposing a new feature/enhancement

Comments

@rlebeau
Copy link
Member

rlebeau commented Apr 6, 2017

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

@rlebeau rlebeau added the Type: Enhancement Issue is proposing a new feature/enhancement label Apr 6, 2017
@rlebeau rlebeau added this to the Indy 11 - Maintenance Release milestone Apr 6, 2017
@rlebeau rlebeau self-assigned this Apr 6, 2017
@vincentparrett
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Element: Compiler/IDE Issues related to a particular Compiler and/or IDE Status: In Progress Issue is being worked on Type: Enhancement Issue is proposing a new feature/enhancement
Projects
None yet
Development

No branches or pull requests

2 participants