Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-06

Directive LAZARUS like FPC

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
to Olivier Guilbaud: � It would be possible pre-to define a directive of compilation LAZARUS ({ $$DEFINE…
Olivier Guilbaud wrote 5 lines
Hi, It would be possible pre-to define a directive of compilation LAZARUS ({ $$DEFINE LAZARUS }) for the projects compiled since Lazarus like preset directive FPC ? that will allow to detect the use of Lazarus automatically.

I think the Lazarus IDE has to do this. But beware: using makefiles is then dangerous, you'll explicitly have to set it when doing command-line compiles.

Michael.

Reply by email

Olivier Guilbaud

Hi,
�
It would be possible pre-to define a directive of
compilation LAZARUS ({ $$DEFINE LAZARUS }) for the projects compiled since Lazarus like preset directive FPC ?
�
that will allow to detect the use of Lazarus
automatically.
�
Regards
�
Olivier
�

Reply by email

Mattias Gaertner
to Olivier Guilbaud
Show quoted text 15 lines
On Wed, 25 Jun 2003, Olivier Guilbaud wrote: > Hi, > > It would be possible pre-to define a directive of compilation LAZARUS ({ > $$DEFINE LAZARUS }) for the projects compiled since Lazarus like preset > directive FPC ? > > that will allow to detect the use of Lazarus automatically. I think the Lazarus IDE has to do this. But beware: using makefiles is then dangerous, you'll explicitly have to set it when doing command-line compiles.

Right. When the IDE properly supports inherited custom options and there is a command line tool to compile lazarus packages, then we can add such things.

Mattias

Reply by email