[fpc-pascal] fpmake: output directories
Michael Van Canneyt
michael at freepascal.org
Tue Jun 2 09:07:39 CEST 2009
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:
>>> 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:
>>> 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.
Don't forget that the system is geared towards *installing* the units in
a directory. As far as I can see, this is never done with lazarus. The
compiled units always reside in the lazarus source tree.
I have asked the question once: How to have 2 lazarus unit trees,
(e.g. produced by 2 compilers, or debug and not-debug)
but I never got an answer.
for fpmake I envisaged a system
and then a debug version in
Or something similar. But nothing is fixed yet.
>> 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
Yes, sorry :(
More information about the fpc-pascal