[fpc-pascal] fpmake: output directories

Vincent Snijders vsnijders at vodafonevast.nl
Tue Jun 2 08:57:36 CEST 2009


Michael Van Canneyt schreef:
> 
> 
> On Mon, 1 Jun 2009, Mattias Gaertner wrote:
> 
>> Hi fpmake devels,
>>
>> fpmake uses as ppu output directory for example:
>> units/i386-linux/
>> And there is no way to change this. Right?
>>
>> Some LCL packages have different PPUs per widgetset, so they need an
>> output directory per widgetset. At the moment they use for example:
>> units/i386-linux-gtk2/
>> Another example is to distinguish between release and debug version.
>>
>> What is the best/recommended way to solve this with fpmake?
> 
> You can't in this way.

So, no debug and release version on one computer?

> 
> The problem is the dependencies. The build system must know where the 
> units are for every package, so this is packagename/units/CPU-OS/
> 
> You must make different packages per widgetset. They can be generated
> by the same fpmake.
> That means that you must make a package lcl-gtk2, which then is 
> installed in
> lcl-gtk2/units/linux-gtk2/
>
typo?
lcl-gtk2/units/i386-linux/

Vincent



More information about the fpc-pascal mailing list