[lazarus] Directive LAZARUS like FPC

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 25 18:09:14 EDT 2003


On Wed, 25 Jun 2003 23:47:49 +0200 (CEST)
Michael.VanCanneyt at wisa.be wrote:

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






More information about the Lazarus mailing list