Hi.
When I build a project I want to be able to include a unit that has been compiled, rather than the source .pas file.
I guess I create a directory and put the .o and .ppu files for the unit into the directory and make sure the compiler has path to the directory.
What happens to the project executable?
Does the project executable compile and add the code into the project executable, or does the project executable need to be able to find the .o and .ppu files at runtime?
Basically I'm hoping to build a suite of units, compile them and have individual applications use the compiled unit code (in a path that can be found in a deployment) giving some advantages:
1) Total code size of the projects will be smaller as each unit will only be there once.
2) Changes to the units routines can be compiled and deployed without having to re-compile all the projects (assuming parameters/types etc. remain the same).
Thanks,
Stephen