Re: [Lazarus] Cross platform development (not compiling)

2008-12-11 Thread Mattias Gaertner
On Wed, 10 Dec 2008 11:11:59 +0200
"Graeme Geldenhuys"  wrote:

> On Tue, Dec 9, 2008 at 7:33 PM, Felipe Monteiro de Carvalho >
> > Ummm, now I see ... but they could be the same thing. Some kind of
> > mode where certain compiler options or debugger options are
> > overriden.
> 
> That would be very handy!   MSEide has a very simple design/screen for
> this. And it works very well.
> 
> The "Project" menu contains the following options:
>Make
>Build
>Make 1
>Make 2
>Make 3
>Make 4
> 
> You can setup each of those with the following screen. See attached
> image. Simply add a new row, tick which Build or Make it should apply
> to, and select the menu from the Project menu.
> 
> Quick, Easy and Effective!

Yes.

Now we need some nice ideas how to extend this for:
- search paths (editing paths via typing is error prone)
- depending values. For example: if LCLWidgetSet=win32


Mattias
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross platform development (not compiling)

2008-12-10 Thread Graeme Geldenhuys
On Tue, Dec 9, 2008 at 7:33 PM, Felipe Monteiro de Carvalho >
> Ummm, now I see ... but they could be the same thing. Some kind of
> mode where certain compiler options or debugger options are overriden.

That would be very handy!   MSEide has a very simple design/screen for
this. And it works very well.

The "Project" menu contains the following options:
   Make
   Build
   Make 1
   Make 2
   Make 3
   Make 4

You can setup each of those with the following screen. See attached
image. Simply add a new row, tick which Build or Make it should apply
to, and select the menu from the Project menu.

Quick, Easy and Effective!


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
<>___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 3:19 PM, Mattias Gärtner
<[EMAIL PROTECTED]> wrote:
> build modes are only for compilation. Not for debugging.
> Maybe you want debug modes?

Ummm, now I see ... but they could be the same thing. Some kind of
mode where certain compiler options or debugger options are overriden.

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:

> I think the solution would be having build modes, as already discussed
> and planned for 0.9.28. I also need this feature.

build modes are only for compilation. Not for debugging.
Maybe you want debug modes?

Mattias

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


Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Marc Weustink
Mattias Gärtner wrote:
> Zitat von Reenen Laurie <[EMAIL PROTECTED]>:
> 
>> When I work cross platform (develop at home on linux, and at work on
>> windows), I have to have separate .lpi / lpr files for linux and windows...
>>
>> My assumption is that this line in the windows (lpi) version makes it not
>> work:
>> 
>>   
>> 
>> 
>>   
>> 
>>
>> Obviously that's not windows...
>>
>> Do all of you have to keep a  and  .lpi and lpr ?
> 
> No. I only have one lpi and lpr per project. But I don't use launching
> application.
> Maybe launchingapplication should be moved to lps?
> 
> Marc can tell.

Who me ?

There are ideas to move some debugger options to project specifics.
Anyway, I use 2 different .lpi files (one is a copy of another) to cross 
develop for win32 and wince, since I need to swap targetcpu and targetos
So moving launchingapplication itself is not enough

Marc
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Felipe Monteiro de Carvalho
On Tue, Dec 9, 2008 at 2:50 PM, Mattias Gärtner
<[EMAIL PROTECTED]> wrote:
> Maybe launchingapplication should be moved to lps?

No, better implement build modes =D

-- 
Felipe Monteiro de Carvalho

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


Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Mattias Gärtner
Zitat von Reenen Laurie <[EMAIL PROTECTED]>:

> When I work cross platform (develop at home on linux, and at work on
> windows), I have to have separate .lpi / lpr files for linux and windows...
>
> My assumption is that this line in the windows (lpi) version makes it not
> work:
> 
>   
> 
> 
>   
> 
>
> Obviously that's not windows...
>
> Do all of you have to keep a  and  .lpi and lpr ?

No. I only have one lpi and lpr per project. But I don't use launching
application.
Maybe launchingapplication should be moved to lps?

Marc can tell.

Mattias

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


Re: [Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Felipe Monteiro de Carvalho
I think the solution would be having build modes, as already discussed
and planned for 0.9.28. I also need this feature.

-- 
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Cross platform development (not compiling)

2008-12-09 Thread Reenen Laurie
When I work cross platform (develop at home on linux, and at work on
windows), I have to have separate .lpi / lpr files for linux and windows...

My assumption is that this line in the windows (lpi) version makes it not
work:

  


  


Obviously that's not windows...

Do all of you have to keep a  and  .lpi and lpr ?

-- 
o__
,_.>/ _
(_)_\(_)___
...speed is good
___
I believe five out of four people have a problem with fractions.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus