Added new library libFMDutil. This library contains utility classes that
[u/mrichter/AliRoot.git] / FMD / scripts / Compile.C
CommitLineData
a1f80595 1//
2// $Id$
3//
4// Script to compile (using ACLic) and load a script. It sets the
5// include path to contain the relevant directories.
6//
7void
8Compile(const char* script)
9{
10 gSystem->Load("libFMDutil.so");
11 gSystem->SetIncludePath("-I`root-config --incdir` "
12 "-I${ALICE_ROOT}/include "
13 "-I${ALICE_ROOT}/FMD "
14 "-I${ALICE_ROOT}/geant3/TGeant3");
15 gROOT->ProcessLine(Form(".L %s++g", script));
16}
17
18//____________________________________________________________________
19//
20// EOF
21//