[Lazarus] Custom defines don't work?
Reinier Olislagers
reinierolislagers at gmail.com
Wed Jul 23 13:21:44 CEST 2014
Hi list,
Laz trunk, fpc trunk x86, Win.
I'm trying to set up some defines based on the FPC version [1]:
In project options,compiler options,other,conditionals I add this:
// Optimize hash functions for FPC trunk
// FPC 2.6.x does not support -OoUSEEBP
if FPC_FULLVERSION>=20701 then
begin
UsageCustomOptions += '-OoUSEEBP -dOPTIMIZESHA1 -dOPTIMIZEMD5'
end;
However, -OoUSEEBP etc don't show up in the options when I click Show
Options
1. Am I doing something wrong or is this a bug?
2. Is there an easier way of doing this?
Thanks.
[1]
Entire project at
https://bitbucket.org/reiniero/flocate
More information about the Lazarus
mailing list