[Lazarus] Compile project release with LCL custom optimization

Martin lazarus at mfriebe.de
Sat Apr 13 21:34:50 CEST 2013


On 13/04/2013 20:27, Zaher Dirkey wrote:
> Is is like
>         if defined(RELEASE) then
>            CustomOptions := ' -O-1 ';
> If yes it will be the "head of the yarn"(proverb)

Isnt the above identical to the below?

When I did it, I did have to define the MACRO myself. (in the project, 
in each buildmode.

I do not know if there are predefined macros

>
> On Sat, Apr 13, 2013 at 10:17 PM, Martin <lazarus at mfriebe.de 
> <mailto:lazarus at mfriebe.de>> wrote:
>
>         if defined(MACRONAME) then
>            CustomOptions := ' -O-1 ';
>
>


"head of the yarn"(proverb)

I couldn't find any reference to that. Neither www.phrases.org.uk nor 
urban dictionary have it. Even google doesn't find anything
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130413/36bd263c/attachment-0003.html>


More information about the Lazarus mailing list