Re: using an external preprocessor from ROOT prompt

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Mon, 28 Jun 2010 11:29:21 +0200


Hi Erkcan,

that *was* impossible. Good point! I have now implemented it in the prompt interface: you can do "root [] .proproc" and it will toggle the external preprocessing on/off. Programatically you can do the same though gROOT->ProcessLine(".preproc").

Note, though: this does not work for any file #including e.g. TObject, as it disables ROOT's ignore-include mechanism for include files (see TROOT::IgnoreInclude()).

Cheers, Axel.

Erkcan Ozcan wrote on 06/27/2010 12:50 PM:
> Dear experts,
>
> I was wondering if it is possible to enable the use of an external preprocessor inside ROOT. I read that there are some command line options for CINT itself - what I want to do is to enable it within ROOT. I checked TCint documentation but did not see any mention of the preprocessor or passing command line arguments to TCint instances.
>
> Cheers,
> e.
>
Received on Mon Jun 28 2010 - 11:29:25 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 28 2010 - 17:50:01 CEST