DelphiPackageManager / DPM

A Package Manager for Delphi
Apache License 2.0
96 stars 21 forks source link

What about dll, exe dependencies #9

Open cepera-one opened 4 years ago

cepera-one commented 4 years ago

As I understand it, now the main focus is on bpl, dcp packages. However, there is completely the same need for managing runtime dependencies for dll and exe. Is this planned?

vincentparrett commented 4 years ago

Can you go into more detail on what you need? I do plan to add support for copying files from a package to the output folder (such as runtime packages, dll's, images etc), so I guess dll's would come under that category.

cepera-one commented 4 years ago

Each package (dll, exe) must have 2 kind of sources:

  1. Public API that is need also to the consumer of the dependency.
  2. Private set of sources, required for the dependency provider only or to build the package from sources (if the package with available sources).

Manager should add paths to the Public API sources to dproj. There are different kind of dependencies:

  1. Compile time dependencies. Required to compile.
  2. Testing time dependencies to be possible run unit tests.
  3. Runtime dependencies. Required to run the resulting application itself.

So resolving should be possible to divided into several stages.