[Lazarus] Conditional compilation depending on Lazarus version?

Vincent Snijders vincent.snijders at gmail.com
Thu Mar 22 11:58:36 CET 2012


Op 22 maart 2012 11:50 heeft Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> het volgende geschreven:
> I don't think so, in the general case. The Lazarus revision number can
> probably be found as a .inc in the ide directory, and post about 0.9.24 you
> can get the LCL version at runtime, but folding those back into something
> that could be used by a conditional will be problematic.

For examles using the version number, see:
http://lazarus-ccr.sourceforge.net/docs/lcl/lclversion/index.html
and
http://svn.freepascal.org/svn/lazarus/trunk/examples/lclversion/

Vincent




More information about the Lazarus mailing list