[Lazarus] $define for all units

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 11 10:54:56 CEST 2010


On Mon, 11 Oct 2010 10:16:57 +0200
"Julien Devillers" <jdevillers at opti-time.com> wrote:

> Hello
> 
>  
> 
> I'm porting a project from Delphi to lazarus.
> 
> How can I specify a {$DEFINE xxx} which will be defined for all
> project's files ?

Project options / Compiler options / Other / Custom

-dYourDefine


Mattias




More information about the Lazarus mailing list