Reputation: 14873
We are using packages to split our code base into smaller pieces, but always deploy as a single monolitic executable.
When compiling the packages the units in a package project are linked together into .dcp and .bpl files and finally they are linked again into the executable (.exe).
This is is a bit of a time waster, I'd like Delphi to only compile the DCUs and not link them into packages.
So:
Is it possible to turn off linking for packages and only link in the final executable?
Upvotes: 1
Views: 234
Reputation: 14873
fastdcc
in IDE Fix Pack from Andreas Hausladen has a switch that does exactly this:
-x--compileonly
Output intermediate files, skip linking. 1: Output only DCU and DCP. 2: Output only DCU.
https://www.idefixpack.de/blog/ide-tools/ide-fix-pack/
Upvotes: 1