[ROOT] rootcint include directive

From: Eddy Offermann (eddy@rentec.com)
Date: Thu Jan 18 2001 - 18:47:32 MET


Hi Root-ers,

Could somebody please show me how to use the "-I" in a rootcint command.

rootcint -? gives:

-------------
  rootcint [-f] AxisDict.cxx [-c] TAttAxis.h[{+,-}][!] ... [LinkDef.h]

The difference between the two is that in the first case only the
Streamer() and ShowMembers() methods are generated while in the
latter case a complete compileable file is generated (including
the include statements). The first method also allows the
output to be appended to an already existing file (using >>).
The optional - behind the header file name tells rootcint
to not generate the Streamer() method. A custom method must be
provided by the user in that case. For the + and ! options see below.
When using option -c also the interpreter method interface stubs
will be written to the output file (AxisDict.cxx in the above case).
By default the output file will not be overwritten if it exists.
Use the -f (force) option to overwite the output file. The output
file must have one of the following extensions: .cxx, .C, .cpp,
.cc, .cp.

Before specifying the first header file one can also add include
file directories to be searched and preprocessor defines, like:
   -I$../include -DDebug
--------------

So I tried something like

rootcint -I/work/eddy -f AxisDict.cxx -c TAttAxis.h ... [LinkDef.h]

which results in rootcint complaints.

Eddy



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