[Lazarus] How would you organize build directories for different versions?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 29 09:38:42 CEST 2010


On Wed, 29 Sep 2010 06:59:02 +0100
Frank Church <vfclists at gmail.com> wrote:

> If you are using different Lazarus versions but with same components and
> packages, how would you organize separate build directories for the
> different versions, but same source location.
> 
> eg. say I am using fpc 2.2.4/ lazarus 0.9.28, fpc 2.4.0 / lazarus 0.9.29 and
> fpc 2.5.1/ lazarus 0.9.29
> 
> All though the package source files would be in one place (with necessary
> ifdefs for compiler and lazarus versions) I would like the units to go into
> say lazarus_0928_224/components/package_name_dir, lazarus0928240/components
> package_name_dir, lazarus0929251/components/package_name_dir.
> 
> Would I have to configure that in the separate IDEs, or in the package
> source files themselves?

There are many ways.
For example use one lazarus config directory for each version
combination and make all package output directories read only. Then the
IDE will put the ppu files into the config directory.


Mattias
 




More information about the Lazarus mailing list