TPC ALTRO mapping class
[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
8f6ee336 8Compile(const char* script, Option_t* option="g")
a1f80595 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");
8f6ee336 15 gROOT->ProcessLine(Form(".L %s+%s", script, option));
a1f80595 16}
17
18//____________________________________________________________________
19//
20// EOF
21//