Lazarus packages - they are exactly what you require.
First of all, thanks for the reply.
One more question.
Imagine I have arranged the software modules into packages, also setting the dependencies in the good way you recommend. Due to how I work there are many situations in which I do not use Lazarus for building: basically to develop I
always use Lazarus (develop/build for verifying and debugging actually, but not for release and creating distribution bundles), to build for release I use
always lazbuild. Is still Lazarus packages fine for working with lazbuild instead of Lazarus? I guess yes as my understanding is that building with lazbuild is about the same as doing it with Lazarus, but I prefer get a confirmation.
Thank you.