[ROOT] Version Number While Compiling

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Mon Apr 02 2001 - 10:39:26 MEST


Dear Rooters,

is it possible to detect the Root version number while compiling?

I'm thinking about a feature like:
root-config --cflags
[...] -DROOTVER=2 -DROOTSUBVER=25 -DROOTSUBSUBVER=3 [...]

This would be very helpful to make it possible that some parts of our
own code can be compiled using different versions of root.

Regards,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET