Hi all. I have a doubt that I could not solve anywhere.
When you write a program in Lazarus, using several units and libraries, compiling generates a unique binary file, whose size depends on the size of the project itself, taking into account whether it contains debug information and so on.
My question is: how can it be compiled in such a way that the executable (binary) is only to start the program, and the rest of the components are compiled separately in libraries?
For example, when using any large system (video game, programs such as CorelDraw, or any application), the executable file is small, and then the program is divided into many different components, usually thousands of files. I do not know how to do that in Lazarus without generating a single executable.
Thank you.