I some of my units, I have :
uses classes,
{$IFDEF USE_XYZ}
certain_unitXYZ
{$ENDIF};
Where do I put
{$DEFINE USE_XYZ}so that when I rebuild the project, fpc will see USE_XYZ is defined.
Putting in in the project .lpr does not work
Thanks in advance.
Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160419/a25dee7b/attachment.html>
