[fpc-pascal] fpmake: output directories
Michael Van Canneyt
michael at freepascal.org
Tue Jun 2 10:00:22 CEST 2009
On Tue, 2 Jun 2009, Michael Van Canneyt wrote:
>
>
> On Tue, 2 Jun 2009, Vincent Snijders wrote:
>
>> 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?
>
> Not in this way, at least.
Hi,
Peter Vreman reminded me that we had this discussion on core about a year
ago. The solution we came up with was a 'subtarget' or 'configuration'.
This was simply an option to fpmake, which would alter the output path and
search paths. It was needed to discern between debug and non-debug, PIC and
non-PIC code etc.
So there would be
fpmake --subtarget=debug
Which would send output in
units/i386-linux-debug
So maybe this can be used for the widgetsets, debug-non debug etc.
Beware: AFAIK it has not yet been implemented, but that was the initial
idea.
Michael.
More information about the fpc-pascal
mailing list