.include once more

From: Jacek M. Holeczek (holeczek@clri6f.gsi.de)
Date: Tue Jan 21 1997 - 19:29:08 MET


Just a small additional note.
If you want to place the default include path in your C++/C code which you
use sometimes as interpreted ( via the ".L" root/cint command ) and
sometimes you use this code by compiling it, use :
------------------------------------------------
#if defined(__CINT__) || defined(__MAKECINT__)
// This is needed only in case this function is to be used as
// interpreted by root/cint or cint, so that include files are found.
#pragma includepath /bla/bla/bla
#pragma includepath /ple/ple/ple
#endif
------------------------------------------------
The __CINT__ symbol is used by root/cint, while the __MAKECINT__ symbol is
used by the original cint.
Jacek.
P.S. I was just notified by Fons that you actually DON'T need {} even if
     it is used from a root command line. That's right ( I checked ). One
     needed {} using some previous versions of the cint interpreter. Seems
     that the cint is better now :-) . Jacek.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:17 MET