Hello,
I apologize if this is somewhere and I missed it (it wasn’t too clear to me what to search for…)
I have this problem that when I am using a load script that compiles many macros. If there is an error and it doesn't build a shared object I would like it to stop. Unfortunately, it just goes right on to the next one. Is there a way I can tell root not to do this.
For example:
[code]
void loadxsec3(int mode = 1, TString filename = “coverage.config”)
{
gROOT->SetStyle(“Plain”);
gSystem->CompileMacro(“CLPTypeDef.cc”);
gSystem->CompileMacro(“CLPHisto.cc”);
gSystem->CompileMacro(“CLPTuple.cc”);
gSystem->CompileMacro(“StringUtils.cc”);
gSystem->CompileMacro(“XsecComb.cc”);
gSystem->CompileMacro(“TestXsec3.cc”);
testXsec3(mode, filename);
}
[code]
If CLPHisto.cc doesn’t build, instead of stopping, it goes on trying to build the rest (CLPTuple, etc).
Charles[/code]