[fpc-devel] -dREVINC

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Mar 17 15:52:43 CET 2014


On 17 Mar 2014, at 15:27, Thaddy wrote:

> This: -dREVINC as an option to include the revision number in builds  
> is very useful for trunk builders but it is not documented and  
> doesn't work for Windows.
> Is there a reason for that?

It's not documented because it's it was probably never intended for  
public use (many functionalities of the compiler's makefile are  
undocumented). Afaik that functionality work on all platforms, but you  
don't activate it by manually passing "-dREVINC". Instead, you have  
create an (empty) file called "revision.inc" in the compiler  
directory. The makefile will then automatically update it with the  
revision number of the current checkout when building the compiler,  
but it does require the svnversion binary to be in your path (or you  
can specify the full path via the SVNVERSION make flag)


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140317/c20735a6/attachment.html>


More information about the fpc-devel mailing list