4 gSystem->Load("libOADB");
7 gROOT->ProcessLine(".include OADB");
9 // Set our location, so that other packages can find us
10 gSystem->Setenv("OADB_INCLUDE", "OADB");
12 // path for the root files
13 const char* oadbPath = gSystem->Getenv("OADB_PATH");
14 if (!oadbPath || oadbPath[0] == '\0')
15 gSystem->Setenv("OADB_PATH", "OADB");
17 // Set our lib coordinates, so that other packages can link to us
18 TString lib = TString::Format("-L%s -lOADB", gSystem->WorkingDirectory());
19 gSystem->Setenv("OADB_LIBS", lib.Data());