[Lazarus] Do not recompile all package dependencies

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 12 11:05:17 CET 2015


On Thu, 12 Nov 2015 10:50:55 +0100
Ondrej Pokorny <lazarus at kluug.net> wrote:

> If I change compiler settings for a project, all packages have to be 
> recompiled as well.
> 
> Is there a chance to store the precompiled (object) files of the 
> packages in a custom location for a project/build mode?

http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Change_the_output_directory_of_project_and_all_packages

 
> I tried to set -FU in "Additions and Overrides" to a custom absolute 
> path but it doesn't seem to help. Furthermore I get warnings about 
> duplicate files:
> 
> Note: Duplicate unit "actnlist" in "LCLBase 1.5", 
> ppu="P:\software\Lazarus_src\trunk\lcl\units\i386-win32\actnlist.ppu", 
> source="P:\software\Lazarus_src\trunk\lcl\actnlist.pas"

The -FU option requires special treatments,
which is why it has its own field.

 
Mattias




More information about the Lazarus mailing list