Re: [Lazarus] Build modes, macros and conditionals

2010-10-29 Thread Sven Barth
Am 29.10.2010 10:06, schrieb Mattias Gaertner: On Fri, 29 Oct 2010 09:48:39 +0200 Zaher Dirkey wrote: On Sun, Oct 24, 2010 at 10:49 PM, Mattias Gaertner< nc-gaert...@netcologne.de> wrote: Hi all, There are some new options to create * sets of compiler options - called "Build modes", * proj

Re: [Lazarus] Build modes, macros and conditionals

2010-10-29 Thread Zaher Dirkey
On Fri, Oct 29, 2010 at 10:06 AM, Mattias Gaertner < nc-gaert...@netcologne.de> wrote: > Note: At the moment the debugger exe is part of the global options - not > part of the project. > Yes I know, but when i want to debug my project (WinCE) in my Device i need special build of gdb.exe. Switchin

Re: [Lazarus] Build modes, macros and conditionals

2010-10-29 Thread Mattias Gaertner
On Fri, 29 Oct 2010 09:48:39 +0200 Zaher Dirkey wrote: > On Sun, Oct 24, 2010 at 10:49 PM, Mattias Gaertner < > nc-gaert...@netcologne.de> wrote: > > > Hi all, > > > > There are some new options to create > > * sets of compiler options - called "Build modes", > > * project and package macros - c

Re: [Lazarus] Build modes, macros and conditionals

2010-10-29 Thread Zaher Dirkey
On Sun, Oct 24, 2010 at 10:49 PM, Mattias Gaertner < nc-gaert...@netcologne.de> wrote: > Hi all, > > There are some new options to create > * sets of compiler options - called "Build modes", > * project and package macros - called "Build macros" > * and rules to set macros, paths and options autom

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Graeme Geldenhuys
On 28 October 2010 00:14, Mattias Gaertner wrote: >> "File > New > Program (a free pascal application)" >> Then Project Options dialog. The icon, Mac Application bundle >> checkbox, the manifest checkbox. No matter what I do, I always get >> those two checkboxes checked, and I always get a 150KB i

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Mattias Gaertner
On Thu, 28 Oct 2010 00:23:04 +0300 patspiper wrote: > On 10/27/2010 08:32 PM, Mattias Gaertner wrote: > > > > Not yet. Same for the export/import load function. > > > > I'm not sure what is the best solution: > > - change the option to save all build modes > > - add another check box > > - move t

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Mattias Gaertner
On Wed, 27 Oct 2010 23:16:04 +0200 Graeme Geldenhuys wrote: > On 27 October 2010 23:10, Graeme Geldenhuys wrote: > > > > Even for "Free Pascal Applications"?  The non-LCL ones in "File > New > >> Project"? > > A quick example, just tested with the latest lazarus from trunk a few > minutes ago.

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Mattias Gaertner
On Wed, 27 Oct 2010 23:10:38 +0200 Graeme Geldenhuys wrote: > On 27 October 2010 19:00, Mattias Gaertner wrote: > > > > It saves the compiler options: > > search paths, target, verbosity, code generation, ... in other > > words: every page under projects compiler options except for the build > >

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread patspiper
On 10/28/2010 12:16 AM, Graeme Geldenhuys wrote: A quick example, just tested with the latest lazarus from trunk a few minutes ago. "File> New> Program (a free pascal application)" Then Project Options dialog. The icon, Mac Application bundle checkbox, the manifest checkbox. No matter what I d

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread patspiper
On 10/27/2010 08:32 PM, Mattias Gaertner wrote: Not yet. Same for the export/import load function. I'm not sure what is the best solution: - change the option to save all build modes - add another check box - move the option to the existing import/export dialog - your idea Why not implemen

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Graeme Geldenhuys
On 27 October 2010 23:10, Graeme Geldenhuys wrote: > > Even for "Free Pascal Applications"?  The non-LCL ones in "File > New >> Project"? A quick example, just tested with the latest lazarus from trunk a few minutes ago. "File > New > Program (a free pascal application)" Then Project Options dia

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Graeme Geldenhuys
On 27 October 2010 19:00, Mattias Gaertner wrote: > > It saves the compiler options: > search paths, target, verbosity, code generation, ... in other > words: every page under projects compiler options except for the build > modes page. Even for "Free Pascal Applications"? The non-LCL ones in "F

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Graeme Geldenhuys
Op 2010-10-26 15:05, patspiper het geskryf: > > Can a part of the build modes be outside the project options, or have a > default starting set? (Such as having a build mode for each required > target without adding these to each and every project) I think this will only be possible with new def

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread patspiper
On 10/27/2010 12:41 PM, Felipe Monteiro de Carvalho wrote: On Tue, Oct 26, 2010 at 6:27 PM, patspiper wrote: I am sure build modes can be defined for the above, but since the build modes have to be defined over and over for each new project, I was wondering if there was a way to have them a

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Felipe Monteiro de Carvalho
On Tue, Oct 26, 2010 at 6:27 PM, patspiper wrote: > I am sure build modes can be defined for the above, but since the build > modes have to be defined over and over for each new project, I was wondering > if there was a way to have them as standard, perhaps for new projects (the > same way as a us

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread patspiper
On 10/26/2010 06:58 PM, Mattias Gaertner wrote: On Tue, 26 Oct 2010 16:05:22 +0300 patspiper wrote: [...] Can a part of the build modes be outside the project options, or have a default starting set? (Such as having a build mode for each required target without adding these to each and eve

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 17:14:09 +0200 Bernd wrote: > 2010/10/24 Mattias Gaertner : > > > * sets of compiler options - called "Build modes", > > Feature suggestion: >[...] > and/or the toolbar button with a dropdown (I think there is something > similar in eclipse, not sure, I haven't used it for a

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 16:05:22 +0300 patspiper wrote: >[...] > Can a part of the build modes be outside the project options, or have a > default starting set? (Such as having a build mode for each required > target without adding these to each and every project) I have not tried, but I guess the

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Bernd
2010/10/24 Mattias Gaertner : > * sets of compiler options - called "Build modes", Feature suggestion: from the menu some clever way to quickly select the curently active build mode without opening the options dialog. Or maybe even something with sub menus like run -> build as -> [x] Default r

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread patspiper
On 10/26/2010 02:41 PM, Graeme Geldenhuys wrote: Op 2010-10-26 12:55, Felipe Monteiro de Carvalho het geskryf: Now I can say that Lazarus is trully the best IDE =) ..as long as you don't try and debug your source code with it. ;-) Regards, - Graeme - Even though debugging is

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Graeme Geldenhuys
Op 2010-10-26 12:55, Felipe Monteiro de Carvalho het geskryf: > > Now I can say that Lazarus is trully the best IDE =) ...as long as you don't try and debug your source code with it. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.ho

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Felipe Monteiro de Carvalho
I haven't had yet an opportunity to test the build modes, but congratulations and thank you very much =) Now I can say that Lazarus is trully the best IDE =) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.o

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Bernd
2010/10/26 Mattias Gaertner : > On Mon, 25 Oct 2010 23:51:28 +0200 > Bernd wrote: >> Can these also be selected with lazbuild from the command line? > > Now it can. > > --build-mode=name Great! Such a feature (or something comparable) was missing all the time. -- __

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Mon, 25 Oct 2010 23:51:28 +0200 Bernd wrote: > 2010/10/24 Mattias Gaertner : > > > * sets of compiler options - called "Build modes", > > Can these also be selected with lazbuild from the command line? Now it can. --build-mode=name Mattias --

Re: [Lazarus] Build modes, macros and conditionals

2010-10-25 Thread Bernd
2010/10/24 Mattias Gaertner : > * sets of compiler options - called "Build modes", Can these also be selected with lazbuild from the command line? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mail

Re: [Lazarus] Build modes, macros and conditionals

2010-10-24 Thread Mattias Gaertner
On Sun, 24 Oct 2010 23:15:31 +0200 Marco van de Voort wrote: > On Sun, Oct 24, 2010 at 10:49:11PM +0200, Mattias Gaertner wrote: > > There are some new options to create > > * sets of compiler options - called "Build modes", > > * project and package macros - called "Build macros" > > * and rule

Re: [Lazarus] Build modes, macros and conditionals

2010-10-24 Thread Marco van de Voort
On Sun, Oct 24, 2010 at 10:49:11PM +0200, Mattias Gaertner wrote: > There are some new options to create > * sets of compiler options - called "Build modes", > * project and package macros - called "Build macros" > * and rules to set macros, paths and options automatically depending on > target pl