[Lazarus] Can .compiled files be safely removed?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Tue Aug 9 01:02:05 CEST 2016


On 2016-08-08 22:50, Bo Berglund wrote:
> Good,
> then are they needed in any other way than for the system to create
> and use during builds?

I don't actually know what that file is for. There is a build timestamp
in there, so maybe Lazarus IDE uses that to detect if it should
recompile a project or package... I honestly don't know.


> If so is there a switch to tell Lazarus to not keep them after the
> fact?

I don't know of such a setting. I normally define a Unit Output path and
a separate Target Path (where executable ends up), so the *.compiled
file ends up with the *.ppu and *.o files in a separate directory to the
generated executable. That way it doesn't bother me too much.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list