Re: [Lazarus] Make option for specific package

2010-11-19 Thread Mattias Gaertner
On Fri, 19 Nov 2010 08:22:54 +0200
Graeme Geldenhuys graemeg.li...@gmail.com wrote:

 Op 2010-11-18 18:50, Mattias Gaertner het geskryf:
  make clean all
  make idepkg
  
  This will not update the packages.
  Try:
  
  make clean all
  ./lazbuild --build-ide=
 
 
 Another classic example of why makefiles are such a terrible idea. Why not
 simply create a GUI and/or Console app that lists the options (maybe even
 copy the Tools  Build Lazarus dialog. This tool must a able to compile
 with 'fpc buildtool.pas'. The users can then simply run the tool, select
 the option they want, and it fires off the correct build command with it's
 110 parameter choices. Hide the complexities of Makefile - they are a
 terrible idea under all circumstances.

He asked for command line compilation of Lazarus including his own
packages. So no gui, but lazbuild.
To compile lazbuild you need make. A 'make clean all' is pretty
standard.
And lazbuild -h gives you the options.

Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-19 Thread Michael Van Canneyt



On Fri, 19 Nov 2010, Graeme Geldenhuys wrote:


Op 2010-11-18 18:50, Mattias Gaertner het geskryf:

make clean all
make idepkg


This will not update the packages.
Try:

make clean all
./lazbuild --build-ide=



Another classic example of why makefiles are such a terrible idea. Why not
simply create a GUI and/or Console app that lists the options (maybe even
copy the Tools  Build Lazarus dialog. This tool must a able to compile
with 'fpc buildtool.pas'. The users can then simply run the tool, select
the option they want, and it fires off the correct build command with it's
110 parameter choices. Hide the complexities of Makefile - they are a
terrible idea under all circumstances.


we're working on the fpmake/fppkg tool to do just that.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-19 Thread Graeme Geldenhuys
Op 2010-11-19 11:35, Michael Van Canneyt het geskryf:
 
 we're working on the fpmake/fppkg tool to do just that.

OK. I suggested that same idea to a Lazarus Team developer that emailed me
in private — use fpmake instead of makefiles. So I was on the right track.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net:8080/fpgui/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-19 Thread Michael Van Canneyt



On Fri, 19 Nov 2010, Graeme Geldenhuys wrote:


Op 2010-11-19 11:35, Michael Van Canneyt het geskryf:


we're working on the fpmake/fppkg tool to do just that.


OK. I suggested that same idea to a Lazarus Team developer that emailed me
in private — use fpmake instead of makefiles. So I was on the right track.


Joost is apparently making nice progress converting all FPC makefiles to use
the fpmake/fppkg tool.

Michael.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Make option for specific package

2010-11-18 Thread Andrew Brunner
I was wondering how I can make Lazarus build with specific packages.
Right now I need lazdaemon installed in the ide when I use make clean
bigide.  But I'm always having to remove/close/open/add packages each time I
do an SVN update.

Any ideas?

Thanks.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-18 Thread Vincent Snijders
2010/11/18 Andrew Brunner andrew.t.brun...@gmail.com:
 I was wondering how I can make Lazarus build with specific packages.
 Right now I need lazdaemon installed in the ide when I use make clean
 bigide.

Try make idepkg, e.g.

make clean all
make idepkg

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-18 Thread Vincent Snijders
2010/11/18 Andrew Brunner andrew.t.brun...@gmail.com:
 I was wondering how I can make Lazarus build with specific packages.
 Right now I need lazdaemon installed in the ide when I use make clean
 bigide.

Try make idepkg, e.g.

make clean all
make idepkg

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-18 Thread Mattias Gaertner
On Thu, 18 Nov 2010 15:13:41 +0100
Vincent Snijders vincent.snijd...@gmail.com wrote:

 2010/11/18 Andrew Brunner andrew.t.brun...@gmail.com:
  I was wondering how I can make Lazarus build with specific packages.
  Right now I need lazdaemon installed in the ide when I use make clean
  bigide.
 
 Try make idepkg, e.g.
 
 make clean all
 make idepkg

This will not update the packages.
Try:

make clean all
./lazbuild --build-ide=

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Make option for specific package

2010-11-18 Thread Graeme Geldenhuys
Op 2010-11-18 18:50, Mattias Gaertner het geskryf:
 make clean all
 make idepkg
 
 This will not update the packages.
 Try:
 
 make clean all
 ./lazbuild --build-ide=


Another classic example of why makefiles are such a terrible idea. Why not
simply create a GUI and/or Console app that lists the options (maybe even
copy the Tools  Build Lazarus dialog. This tool must a able to compile
with 'fpc buildtool.pas'. The users can then simply run the tool, select
the option they want, and it fires off the correct build command with it's
110 parameter choices. Hide the complexities of Makefile - they are a
terrible idea under all circumstances.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net:8080/fpgui/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus