[Lazarus] Do not recompile all package dependencies

Ondrej Pokorny lazarus at kluug.net
Thu Nov 12 13:21:24 CET 2015


On 12.11.2015 11:05, Mattias Gaertner wrote:
> http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Change_the_output_directory_of_project_and_all_packages

Thank you Mattias, this is exactly I was looking for but missed the 
option. It now works the way I want, with one cosmetic issue - the 
notes/warnings about duplicate units:

Note: Duplicate unit "actnlist" in "TestProj", orphaned ppu 
"P:\programs\TestProj\lib\i386-win32\Debug\actnlist.ppu"
Note: Duplicate unit "actnlist" in "LCLBase 1.5", 
ppu="P:\programs\TestProj\lib\i386-win32\Debug\actnlist.ppu", 
source="P:\software\Lazarus_src\trunk\lcl\actnlist.pas"

I am compiling all packages and the project into one directory (OutDir = 
"$(ProjPath)/../lib/$(TargetCPU)-$(TargetOS)/$(BuildMode)"). Is this  a 
problem?

Ondrej




More information about the Lazarus mailing list