[Lazarus] Compile project release with LCL custom optimization

patspiper patspiper at gmail.com
Sat Apr 13 21:44:35 CEST 2013


On 13/04/13 22:34, Martin wrote:
> 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
I guess the original proverb is closer to 'tip of the string', meaning 
like the 1st lead or clue of a mystery or case.

Stephano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130413/053ce362/attachment-0003.html>


More information about the Lazarus mailing list