Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-11 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Darius Blaszijk wrote: > Johann Glaser wrote: > > Is there any documentation (like the things you've written in this > > thread) in the Wiki? If not, I'd like to copy-paste (and clean up) your > > discussion. Please point me to a place where the information best fits. > >

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Darius Blaszijk
Johann Glaser wrote: Is there any documentation (like the things you've written in this thread) in the Wiki? If not, I'd like to copy-paste (and clean up) your discussion. Please point me to a place where the information best fits. I was also thinking the same ;) . I've created a stub here: h

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Johann Glaser
Hi! Am Freitag, den 10.08.2007, 15:24 +0200 schrieb Michael Van Canneyt: > > On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > > > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > It's super configurable. > > > > > > ./fpmake --help > > > > > > will give you all options, in

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Peter Vreman
>> The idea is that you do a >> >> fppkg >> >> this will look in a database for the package, extract it, >> and the compile fpmake.pp and run it. The fpmake contains >> all configuration to make and zip the package. >> > Aha, this clears up some mist in my mind. But I still don't really > understa

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > It's super configurable. > > > > ./fpmake --help > > > > will give you all options, in good unix tradition :-) > > And here I thought I would trip you up with my fpGUI example. :)

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > It's super configurable. > > ./fpmake --help > > will give you all options, in good unix tradition :-) And here I thought I would trip you up with my fpGUI example. :) Excellent work and thanks for the clear example code. Regards,

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > T:=Targets.AddUnit('myunit'); > > T.ResourceStrings:=True; > > T:=Targets.AddUnit('myprogram'); > > T.AddDependency('myunit'); > > Does this take directories as wel

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Darius Blaszijk wrote: > Hi Michael, > > Michael Van Canneyt wrote: > > The idea is that you do a > > > > fppkg > > > > this will look in a database for the package, extract it, and the compile > > fpmake.pp and run it. The fpmake contains > > all configuration to make an

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > T:=Targets.AddUnit('myunit'); > T.ResourceStrings:=True; > T:=Targets.AddUnit('myprogram'); > T.AddDependency('myunit'); Does this take directories as well? Here is a fpGUI layout example: Windows: src/corelib/gdi/g

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Darius Blaszijk
Hi Michael, Michael Van Canneyt wrote: The idea is that you do a fppkg this will look in a database for the package, extract it, and the compile fpmake.pp and run it. The fpmake contains all configuration to make and zip the package. Aha, this clears up some mist in my mind. But I still

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
Thanks for the quick response Michael. I'll have a look at those files shortly. Graeme. On 10/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > The upcoming 2.2 will contain the basics for a package system. > Look at all directories in the fpc source dirs. You'll find there > a fpmake.

Re: [fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Michael Van Canneyt
On Fri, 10 Aug 2007, Graeme Geldenhuys wrote: > Hi, > > I heard somewhere in a list that Makefile's are on the way out (for > FPC) and a alternative is in the pipeline. Can anybody shed some > light on this and if the alternative is usable yet? > > I want FPC developers without Lazarus to be

[fpc-pascal] Alternative to Makefiles for fpGUI

2007-08-10 Thread Graeme Geldenhuys
Hi, I heard somewhere in a list that Makefile's are on the way out (for FPC) and a alternative is in the pipeline. Can anybody shed some light on this and if the alternative is usable yet? I want FPC developers without Lazarus to be able to compile fpGUI. Before, I tried to use Makefiles, but my