7 const char* alice_root = gSystem->Getenv("ALICE_ROOT");
8 const char* dirs[] = { "", "include", "ITS", 0 };
10 TString newpath("-DCOMPILING=1 ");
11 newpath += gSystem->GetIncludePath();
13 TString flag(Form("-I%s/%s", alice_root, *d));
14 if (newpath.Index(flag) == TString::kNPOS) {
15 std::cerr << "Adding " << flag << std::endl;
21 gSystem->SetIncludePath(newpath.Data());
22 std::cout << "Include path is\n\t" << gSystem->GetIncludePath() << std::endl;
23 gROOT->LoadMacro("Dummy.C+g");
24 if (!gROOT->GetClass("Dummy<AliITSvPPRasymmFMD>")) {
25 std::cerr << "Failed to make DummyITS" << std::endl;