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 automatically

Re: [Lazarus] Build modes, macros and conditionals

2010-10-29 Thread Mattias Gaertner
On Fri, 29 Oct 2010 09:48:39 +0200 Zaher Dirkey parm...@gmail.com 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 -

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. Switching

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 Dirkeyparm...@gmail.com 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

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 patspi...@yahoo.com 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

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, patspiperpatspi...@yahoo.com 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

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

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Graeme Geldenhuys
On 27 October 2010 19:00, Mattias Gaertner nc-gaert...@netcologne.de 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

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Graeme Geldenhuys
On 27 October 2010 23:10, Graeme Geldenhuys graemeg.li...@gmail.com 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

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

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 do,

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Mattias Gaertner
On Wed, 27 Oct 2010 23:16:04 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 27 October 2010 23:10, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Even for Free Pascal Applications?  The non-LCL ones in File New Project? A quick example, just tested with the latest lazarus

Re: [Lazarus] Build modes, macros and conditionals

2010-10-27 Thread Mattias Gaertner
On Thu, 28 Oct 2010 00:23:04 +0300 patspiper patspi...@yahoo.com 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 -

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Mon, 25 Oct 2010 23:51:28 +0200 Bernd prof7...@googlemail.com wrote: 2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * 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-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

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

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

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Bernd
2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * 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 -

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 16:05:22 +0300 patspiper patspi...@yahoo.com 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,

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 17:14:09 +0200 Bernd prof7...@googlemail.com wrote: 2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * sets of compiler options - called Build modes, Feature suggestion: [...] and/or the toolbar button with a dropdown (I think there is something similar in

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 patspiperpatspi...@yahoo.com 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

Re: [Lazarus] Build modes, macros and conditionals

2010-10-25 Thread Bernd
2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * 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

[Lazarus] Build modes, macros and conditionals

2010-10-24 Thread Mattias Gaertner
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 automatically depending on target platform - called Conditionals. See here for details and examples:

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 platform -

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 mar...@stack.nl 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