[Lazarus] Different packages for different usage

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 19 12:37:03 CEST 2015

On Fri, 19 Jun 2015 03:22:47 -0700
aradeonas <aradeonas at operamail.com> wrote:

> Aha! That what I mean,you explained it better than me ;)
> About Compiler Defines,until now I couldn't make them work,I don't know
> why! can you show me an simple example?

In Project Options / Compiler Options / Additions and Overrides:


In code you can then use:
{$IFDEF SomeFlag}

> This project going to be big and I want just changing package from
> client to server change dependencies and allow me to run app in a non
> graphical OS.


More information about the Lazarus mailing list